
Dear Lei Wen,
In message 1296463665-26551-1-git-send-email-leiwen@marvell.com you wrote:
For emmc, it may has upto 7 partitions: two boot partitions, one user partition, one RPMB partition and four general purpose partitions. (Refer to JESD84-A44.pdf/page 154)
As bootloader may need to read out or reflashing images on those different partitions, it is better to enable the partition switch with console command support.
Other devices - say, USB mass storage devices, IDE disks, etc. - have partitions, too, and do not need any such special command.
@@ -247,5 +268,6 @@ U_BOOT_CMD( "mmc write <device num> addr blk# cnt\n" "mmc rescan <device num>\n" "mmc part <device num> - lists available partition on mmc\n"
- "mmc sw_part <device num> <part_num> - switch part support for emmc\n" "mmc list - lists available devices");
Why would we need a separate command here?
Please rework this so it uses the same mechanism we use on all other storage devices, without an extra command here.
Thanks.
Best regards,
Wolfgang Denk