mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq9574: Add support for AP-AL02-C11
This is RDP is based on AL02-C4. The extra feature is Alder 2G. Change-Id: I175938c886c0ebd8f39659ba28be2a946d5b7494 Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
parent
7f628dfff2
commit
b5d3586939
3 changed files with 8 additions and 2 deletions
|
|
@ -1165,6 +1165,7 @@ extern unsigned int __machine_arch_type;
|
|||
#define MACH_TYPE_IPQ9574_AP_AL02_C6 0x8050501
|
||||
#define MACH_TYPE_IPQ9574_AP_AL02_C9 0x8050801
|
||||
#define MACH_TYPE_IPQ9574_AP_AL02_C10 0x8050901
|
||||
#define MACH_TYPE_IPQ9574_AP_AL02_C11 0x8050A01
|
||||
|
||||
#ifdef CONFIG_ARCH_EBSA110
|
||||
# ifdef machine_arch_type
|
||||
|
|
|
|||
|
|
@ -1435,6 +1435,8 @@ unsigned int get_dts_machid(unsigned int machid)
|
|||
return MACH_TYPE_IPQ9574_AP_AL02_C1;
|
||||
case MACH_TYPE_IPQ9574_AP_AL02_C10:
|
||||
return MACH_TYPE_IPQ9574_AP_AL02_C1;
|
||||
case MACH_TYPE_IPQ9574_AP_AL02_C11:
|
||||
return MACH_TYPE_IPQ9574_AP_AL02_C4;
|
||||
default:
|
||||
return machid;
|
||||
}
|
||||
|
|
@ -1462,6 +1464,9 @@ void ipq_uboot_fdt_fixup(void)
|
|||
case MACH_TYPE_IPQ9574_AP_AL02_C10:
|
||||
config = "config@al02-c10";
|
||||
break;
|
||||
case MACH_TYPE_IPQ9574_AP_AL02_C11:
|
||||
config = "config@al02-c11";
|
||||
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"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050A01"; 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"; then\n', fatal=False)
|
||||
script.append('if test "$machid" = "8050301" || test "$machid" = "8050501" || test "$machid" = "8050601" || test "$machid" = "8050701" || test "$machid" = "8050801" || test "$machid" = "8050A01"; 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