From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 13 Jan 2012 17:48:26 +0100 Subject: [U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver In-Reply-To: <1326460550.1800.7.camel@anarsoul-laptop.lan> References: <1326438704-22383-1-git-send-email-anarsoul@gmail.com> <201201131335.57042.marek.vasut@gmail.com> <1326460550.1800.7.camel@anarsoul-laptop.lan> Message-ID: <201201131748.26259.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > On Fri, 2012-01-13 at 13:35 +0100, Marek Vasut wrote: > > > + "if mmc rescan 0 && ext2load mmc 0 0xa0000000 boot/uboot.script ;" \ > > > > Why "mmc rescan 0" ? > > Because otherwise it does nothing to detect card and scan for > partitions? 0 is mmc device index. I see ... so mmc rescan takes such a parameter. Ok, but I can't find any evidence of it in the source code ... hmmmmmm. > > Regards > Vasily