pack_v2: TINY NOR: Update config parameter

For 'tiny-nor' flash type, new configuration is added.
Update the script to read the new parameter.

Change-Id: I0d0e3e5332dfe6476da735d0defb4b43754f02ee
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
This commit is contained in:
Gokul Sriram Palanisamy 2023-09-05 18:55:58 +05:30
parent ca9ece4989
commit 1fba88362d

View file

@ -1582,7 +1582,7 @@ class Pack(object):
try:
if ftype == "tiny-nor" or ftype == "tiny-nor-debug":
part_info = root.find(".//data[@type='" + "NOR_PARAMETER']")
part_info = root.find(".//data[@type='" + "TINY_NOR_PARAMETER']")
elif ftype in ["nand", "nand-4k"]:
if root.find(".//data[@type='NAND_PARAMETER']/entry") != None:
if ftype == "nand":