Skip to content

Commit d8810ff

Browse files
committed
gen_partition.py: add NVMe as a valid disk type
NVMe flashing follows the same process as eMMC. Add `nvme` as a valid disk type to explicitly call out the supported storage options. Signed-off-by: Viswanath Kraleti <[email protected]>
1 parent dc50b05 commit d8810ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen_partition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def generate_multi_lun_xml (disk_params, partition_entries_dict, output_xml):
207207
def generate_partition_xml (disk_entry, partition_entries_dict, output_xml):
208208
parse_disk_entry(disk_entry)
209209
print("Generating %s XML %s" %(disk_params["type"].upper(), output_xml))
210-
if disk_params["type"] == "emmc":
210+
if disk_params["type"] in ("emmc", "nvme"):
211211
generate_single_disk_xml(disk_params, partition_entries_dict, output_xml)
212212
elif disk_params["type"] == "ufs":
213213
generate_multi_lun_xml(disk_params, partition_entries_dict, output_xml)

0 commit comments

Comments
 (0)