Skip to content

Commit fc76fcf

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 819cbad commit fc76fcf

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
@@ -213,7 +213,7 @@ def generate_nand_xml (disk_params, partition_entries_dict, output_xml):
213213

214214
def generate_partition_xml (disk_entry, partition_entries_dict, output_xml):
215215
parse_disk_entry(disk_entry)
216-
if disk_params["type"] == "emmc":
216+
if disk_params["type"] in ("emmc", "nvme"):
217217
generate_emmc_xml(disk_params, partition_entries_dict, output_xml)
218218
elif disk_params["type"] == "nand":
219219
generate_nand_xml(disk_params, partition_entries_dict, output_xml)

0 commit comments

Comments
 (0)