mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 18:58:18 +01:00
Merge "ipq807x: Added golden PINE RDP support"
This commit is contained in:
commit
701523e0ae
3 changed files with 13 additions and 1 deletions
|
|
@ -1151,6 +1151,9 @@ extern unsigned int __machine_arch_type;
|
|||
#define MACH_TYPE_IPQ807x_AP_AC01 0x8010009
|
||||
#define MACH_TYPE_IPQ807x_AP_AC02 0x801000A
|
||||
#define MACH_TYPE_IPQ807x_AP_OAK03 0x801000D
|
||||
#define MACH_TYPE_IPQ807x_AP_HK01_C6 0x8010500
|
||||
#define MACH_TYPE_IPQ807x_AP_HK12_C1 0x8010013
|
||||
#define MACH_TYPE_IPQ807x_AP_HK10_C2 0x801010E
|
||||
|
||||
#ifdef CONFIG_ARCH_EBSA110
|
||||
# ifdef machine_arch_type
|
||||
|
|
|
|||
|
|
@ -1267,10 +1267,13 @@ unsigned int get_dts_machid(unsigned int machid)
|
|||
switch (machid)
|
||||
{
|
||||
case MACH_TYPE_IPQ807x_AP_HK01_C3:
|
||||
case MACH_TYPE_IPQ807x_AP_HK01_C6:
|
||||
case MACH_TYPE_IPQ807x_AP_OAK03:
|
||||
return MACH_TYPE_IPQ807x_AP_HK01_C1;
|
||||
case MACH_TYPE_IPQ807x_AP_AC02:
|
||||
return MACH_TYPE_IPQ807x_AP_AC01;
|
||||
case MACH_TYPE_IPQ807x_AP_HK12_C1:
|
||||
return MACH_TYPE_IPQ807x_AP_HK10_C2;
|
||||
default:
|
||||
return machid;
|
||||
}
|
||||
|
|
@ -1286,6 +1289,12 @@ void ipq_uboot_fdt_fixup(void)
|
|||
case MACH_TYPE_IPQ807x_AP_HK01_C3:
|
||||
config = "config@hk01.c3";
|
||||
break;
|
||||
case MACH_TYPE_IPQ807x_AP_HK01_C6:
|
||||
config = "config@hk01.c6";
|
||||
break;
|
||||
case MACH_TYPE_IPQ807x_AP_HK12_C1:
|
||||
config = "config@hk12";
|
||||
break;
|
||||
case MACH_TYPE_IPQ807x_AP_AC02:
|
||||
config = "config@ac02";
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1445,7 +1445,7 @@ class Pack(object):
|
|||
flinfo.chipsize, blocksize, chipsize, root_part)
|
||||
self.partitions = mibib_qcn9000.get_parts()
|
||||
|
||||
script.append('if test "$machid" = "801000e" || test "$machid" = "801010e" || test "$machid" = "8010012"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "801000e" || test "$machid" = "801010e" || test "$machid" = "8010012" || test "$machid" = "8010013" || test "$machid" = "8010500"; then\n', fatal=False)
|
||||
ret = self.__gen_flash_script(script, flinfo, root)
|
||||
if ret == 0:
|
||||
return 0 #Issue in packing hk+pine single-image
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue