arm: dts: Added support for CP01-C3 RDP

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5dbe6796b4a6fbd56095dd68eca667b35923957b
This commit is contained in:
Gokul Sriram Palanisamy 2020-04-01 13:59:03 +05:30
parent dece068296
commit 5e5f04049e
2 changed files with 5 additions and 0 deletions

View file

@ -1142,6 +1142,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ40XX_AP_DK04_1_C6 0x8010501
#define MACH_TYPE_IPQ6018_AP_CP01_C1 0x8030000
#define MACH_TYPE_IPQ6018_AP_CP01_C2 0x8030001
#define MACH_TYPE_IPQ6018_AP_CP01_C3 0x8030002
#define MACH_TYPE_IPQ6018_AP_CP01_C4 0x8030003
#ifdef CONFIG_ARCH_EBSA110

View file

@ -1397,6 +1397,7 @@ unsigned int get_dts_machid(unsigned int machid)
switch (machid)
{
case MACH_TYPE_IPQ6018_AP_CP01_C2:
case MACH_TYPE_IPQ6018_AP_CP01_C3:
return MACH_TYPE_IPQ6018_AP_CP01_C1;
case MACH_TYPE_IPQ6018_AP_CP01_C4:
return MACH_TYPE_IPQ6018_AP_CP01_C1;
@ -1415,6 +1416,9 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ6018_AP_CP01_C2:
config = "config@cp01-c2";
break;
case MACH_TYPE_IPQ6018_AP_CP01_C3:
config = "config@cp01-c3";
break;
case MACH_TYPE_IPQ6018_AP_CP01_C4:
config = "config@cp01-c4";
break;