From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 3 Jan 2014 00:36:41 +0100 Subject: [U-Boot] Are mmc open/close subcommands needed? In-Reply-To: <52C5996C.4020803@digi.com> References: <52C5996C.4020803@digi.com> Message-ID: <201401030036.41329.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, January 02, 2014 at 05:53:00 PM, Hector Palacios wrote: > 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 > is the same as > mmc dev > where is the boot partition > > mmc close > is the same as > mmc dev 0 > as a 0 will switch to partition 0 (user data). > > Best regards, > -- > Hector Palacios +CC Panto Best regards, Marek Vasut