Skip to content

Commit fcd4652

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 a82a284 commit fcd4652

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
@@ -211,7 +211,7 @@ def generate_nand_xml (disk_params, partition_entries_dict, output_xml):
211211
def generate_partition_xml (disk_entry, partition_entries_dict, output_xml):
212212
parse_disk_entry(disk_entry)
213213
print("Generating %s XML %s" %(disk_params["type"].upper(), output_xml))
214-
if disk_params["type"] == "emmc":
214+
if disk_params["type"] in ("emmc", "nvme"):
215215
generate_emmc_xml(disk_params, partition_entries_dict, output_xml)
216216
elif disk_params["type"] == "nand":
217217
generate_nand_xml(disk_params, partition_entries_dict, output_xml)

0 commit comments

Comments
 (0)