arm64: dts: ipq9574: Add AL02-C14 RDP support

This RDP is based on AL02-C8

Change-Id: Ia7a7d128562c888bc7a0dcc6afffa36aef17d826
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This commit is contained in:
Saahil Tomar 2022-06-23 16:31:47 +05:30
parent a238f44394
commit ccdbe416f5
3 changed files with 9 additions and 2 deletions

View file

@ -1163,10 +1163,12 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IPQ9574_AP_AL02_C4 0x8050301
#define MACH_TYPE_IPQ9574_AP_AL02_C5 0x8050401
#define MACH_TYPE_IPQ9574_AP_AL02_C6 0x8050501
#define MACH_TYPE_IPQ9574_AP_AL02_C8 0x8050701
#define MACH_TYPE_IPQ9574_AP_AL02_C9 0x8050801
#define MACH_TYPE_IPQ9574_AP_AL02_C10 0x8050901
#define MACH_TYPE_IPQ9574_AP_AL02_C11 0x8050A01
#define MACH_TYPE_IPQ9574_AP_AL02_C12 0x8050B01
#define MACH_TYPE_IPQ9574_AP_AL02_C14 0x8050D01
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type

View file

@ -1437,6 +1437,8 @@ unsigned int get_dts_machid(unsigned int machid)
return MACH_TYPE_IPQ9574_AP_AL02_C4;
case MACH_TYPE_IPQ9574_AP_AL02_C12:
return MACH_TYPE_IPQ9574_AP_AL02_C4;
case MACH_TYPE_IPQ9574_AP_AL02_C14:
return MACH_TYPE_IPQ9574_AP_AL02_C8;
default:
return machid;
}
@ -1467,6 +1469,9 @@ void ipq_uboot_fdt_fixup(void)
case MACH_TYPE_IPQ9574_AP_AL02_C12:
config = "config@al02-c12";
break;
case MACH_TYPE_IPQ9574_AP_AL02_C14:
config = "config@al02-c14";
break;
}
if (config != NULL)

View file

@ -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" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01"; 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" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01"; 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" = "8050a01" || test "$machid" = "8050b01" || test "$machid" = "8050c01"; 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" || test "$machid" = "8050b01" || test "$machid" = "8050c01" || test "$machid" = "8050d01"; 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