All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Are mmc open/close subcommands needed?
@ 2014-01-02 16:53 Hector Palacios
  2014-01-02 23:36 ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: Hector Palacios @ 2014-01-02 16:53 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-09  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 16:53 [U-Boot] Are mmc open/close subcommands needed? Hector Palacios
2014-01-02 23:36 ` Marek Vasut
2014-01-03 17:35   ` Otavio Salvador
2014-01-07  7:47     ` Hector Palacios
2014-01-09  8:45       ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.