mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 18:58:18 +01:00
ipq9574: Add support for AP-AL02-C6
Change-Id: I6a3ed2372713253d997db576ae35ab0a8b0e2a8b Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
parent
d5357b5326
commit
6bd132f637
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue