mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
arm64: dts: ipq9574: Add AL03-C2 RDP support
This RDP is based on AL03-C1. The extra feature are WK03.2 – 2G+5GL in Pcie 0 & WK01.7 – 5GH+6G in Pcie 2. Change-Id: Ic52c71e98e1a06acf36a825d23f1d184601d153a Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This commit is contained in:
parent
9b01c29b28
commit
abdedad311
3 changed files with 9 additions and 2 deletions
|
|
@ -1169,6 +1169,8 @@ extern unsigned int __machine_arch_type;
|
|||
#define MACH_TYPE_IPQ9574_AP_AL02_C11 0x8050A01
|
||||
#define MACH_TYPE_IPQ9574_AP_AL02_C12 0x8050B01
|
||||
#define MACH_TYPE_IPQ9574_AP_AL02_C14 0x8050D01
|
||||
#define MACH_TYPE_IPQ9574_AP_AL03_C1 0x8050002
|
||||
#define MACH_TYPE_IPQ9574_AP_AL03_C2 0x8050102
|
||||
|
||||
#ifdef CONFIG_ARCH_EBSA110
|
||||
# ifdef machine_arch_type
|
||||
|
|
|
|||
|
|
@ -1439,6 +1439,8 @@ unsigned int get_dts_machid(unsigned int machid)
|
|||
return MACH_TYPE_IPQ9574_AP_AL02_C4;
|
||||
case MACH_TYPE_IPQ9574_AP_AL02_C14:
|
||||
return MACH_TYPE_IPQ9574_AP_AL02_C8;
|
||||
case MACH_TYPE_IPQ9574_AP_AL03_C2:
|
||||
return MACH_TYPE_IPQ9574_AP_AL03_C1;
|
||||
default:
|
||||
return machid;
|
||||
}
|
||||
|
|
@ -1472,6 +1474,9 @@ void ipq_uboot_fdt_fixup(void)
|
|||
case MACH_TYPE_IPQ9574_AP_AL02_C14:
|
||||
config = "config@al02-c14";
|
||||
break;
|
||||
case MACH_TYPE_IPQ9574_AP_AL03_C2:
|
||||
config = "config@al03-c2";
|
||||
break;
|
||||
}
|
||||
|
||||
if (config != NULL)
|
||||
|
|
|
|||
|
|
@ -2076,7 +2076,7 @@ class Pack(object):
|
|||
flinfo.chipsize, blocksize, chipsize, root_part)
|
||||
self.partitions = mibib_qcn9224.get_parts()
|
||||
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050901" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01" || test "$machid" = "8050002"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050901" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01" || test "$machid" = "8050002" || test "$machid" = "8050102"; then\n', fatal=False)
|
||||
ret = self.__gen_flash_script(script, flinfo, root, True)
|
||||
if ret == 0:
|
||||
return 0 #Issue in packing al+wkk single-image
|
||||
|
|
@ -2102,7 +2102,7 @@ class Pack(object):
|
|||
gpt = GPT(part_fname_qcn9224, flinfo.pagesize, flinfo.blocksize, flinfo.chipsize)
|
||||
self.partitions = gpt.get_parts()
|
||||
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050901" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01" || test "$machid" = "8050002"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050901" || test "$machid" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01" || test "$machid" = "8050002" || test "$machid" = "8050102"; then\n', fatal=False)
|
||||
ret = self.__gen_flash_script(script, flinfo, root, True)
|
||||
if ret == 0:
|
||||
return 0 #Issue in packing al+wkk single-image
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue