Merge "ipq9574: Add support for AP-AL02-C6"

This commit is contained in:
Linux Build Service Account 2022-02-18 02:13:21 -08:00 committed by Gerrit - the friendly Code Review server
commit 8df528daa4
2 changed files with 7 additions and 0 deletions

View file

@ -1159,8 +1159,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

@ -1472,6 +1472,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;
}
@ -1490,6 +1492,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)