[U-Boot] Are mmc open/close subcommands needed?

Hector Palacios hector.palacios at digi.com
Thu Jan 2 17:53:00 CET 2014


Hi,

I saw commit 2a91c9134675140853577b565210458b5774e6cf that introduces mmc subcommands 
'open' and 'close' to access eMMC boot partitions and was wondering if they are really 
needed. Can't the same be achieved with already existing 'mmc dev [dev] [part]' command?

mmc open <dev> <boot_partition>
  is the same as
mmc dev <dev> <part>
  where <part> is the boot partition

mmc close <dev> <boot_partition>
  is the same as
mmc dev <dev> 0
  as a 0 will switch to partition 0 (user data).

Best regards,
--
Hector Palacios


More information about the U-Boot mailing list