ipq6018: Add support for AP-CP01-C5

Signed-off-by: Mohamed Husain <mhusain@codeaurora.org>
Change-Id: I097abd309ee3010eef302aababb74b9668d46a0a
This commit is contained in:
Mohamed Husain 2021-05-20 13:42:02 +05:30
parent eda6d8a502
commit 293234fda0
2 changed files with 5 additions and 0 deletions

View file

@ -1144,6 +1144,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ6018_AP_CP01_C2 0x8030001
#define MACH_TYPE_IPQ6018_AP_CP01_C3 0x8030002
#define MACH_TYPE_IPQ6018_AP_CP01_C4 0x8030003
#define MACH_TYPE_IPQ6018_AP_CP01_C5 0x8030004
#define MACH_TYPE_IPQ5018_AP_MP02_1 0x8040000
#define MACH_TYPE_IPQ5018_DB_MP02_1 0X1040003
#define MACH_TYPE_IPQ807x_AP_HK01_C1 0x8010000

View file

@ -1322,6 +1322,7 @@ unsigned int get_dts_machid(unsigned int machid)
{
case MACH_TYPE_IPQ6018_AP_CP01_C2:
case MACH_TYPE_IPQ6018_AP_CP01_C3:
case MACH_TYPE_IPQ6018_AP_CP01_C5:
return MACH_TYPE_IPQ6018_AP_CP01_C1;
case MACH_TYPE_IPQ6018_AP_CP01_C4:
return MACH_TYPE_IPQ6018_AP_CP01_C1;
@ -1346,6 +1347,9 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ6018_AP_CP01_C4:
config = "config@cp01-c4";
break;
case MACH_TYPE_IPQ6018_AP_CP01_C5:
config = "config@cp01-c5";
break;
}
if (config != NULL)