ipq9574: Add support for AP-AL02-C6

Change-Id: I6a3ed2372713253d997db576ae35ab0a8b0e2a8b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
Praveenkumar I 2022-02-17 09:28:47 +05:30
parent d5357b5326
commit 6bd132f637
2 changed files with 7 additions and 0 deletions

View file

@ -1158,8 +1158,10 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ807x_AP_HK12_C1 0x8010013
#define MACH_TYPE_IPQ807x_AP_HK10_C2 0x801010E
#define MACH_TYPE_IPQ9574_EMULATION 0xF050000
#define MACH_TYPE_IPQ9574_AP_AL02_C1 0x8050001
#define MACH_TYPE_IPQ9574_AP_AL02_C4 0x8050301
#define MACH_TYPE_IPQ9574_AP_AL02_C5 0x8050401
#define MACH_TYPE_IPQ9574_AP_AL02_C6 0x8050501
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type

View file

@ -1484,6 +1484,8 @@ unsigned int get_dts_machid(unsigned int machid)
return MACH_TYPE_IPQ9574_EMULATION;
case MACH_TYPE_IPQ9574_AP_AL02_C5:
return MACH_TYPE_IPQ9574_AP_AL02_C4;
case MACH_TYPE_IPQ9574_AP_AL02_C6:
return MACH_TYPE_IPQ9574_AP_AL02_C1;
default:
return machid;
}
@ -1502,6 +1504,9 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ9574_AP_AL02_C5:
config = "config@al02-c5";
break;
case MACH_TYPE_IPQ9574_AP_AL02_C6:
config = "config@al02-c6";
break;
}
if (config != NULL)