Merge "board: qca: arm: ipq5332: Add AP-MI01.3-C2 RDP Support"

This commit is contained in:
Linux Build Service Account 2023-07-11 08:13:07 -07:00 committed by Gerrit - the friendly Code Review server
commit b64a688822
2 changed files with 7 additions and 0 deletions

View file

@ -1174,6 +1174,8 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ9574_AP_AL03_C1 0x8050002
#define MACH_TYPE_IPQ9574_AP_AL03_C2 0x8050102
#define MACH_TYPE_IPQ5332_EMULATION 0xF060000
#define MACH_TYPE_IPQ5332_AP_MI01_3 0x8060002
#define MACH_TYPE_IPQ5332_AP_MI01_3_C2 0x8060102
#define MACH_TYPE_IPQ5332_AP_MI04_1 0x8060004
#define MACH_TYPE_IPQ5332_AP_MI04_1_C2 0x8060007

View file

@ -822,6 +822,8 @@ unsigned int get_dts_machid(unsigned int machid)
{
switch (machid)
{
case MACH_TYPE_IPQ5332_AP_MI01_3_C2:
return MACH_TYPE_IPQ5332_AP_MI01_3;
case MACH_TYPE_IPQ5332_AP_MI04_1_C2:
return MACH_TYPE_IPQ5332_AP_MI04_1;
default:
@ -836,6 +838,9 @@ void ipq_uboot_fdt_fixup(void)
switch (gd->bd->bi_arch_number)
{
case MACH_TYPE_IPQ5332_AP_MI01_3_C2:
config = "config@mi01.3-c2";
break;
case MACH_TYPE_IPQ5332_AP_MI04_1_C2:
config = "config@mi04.1-c2";
break;