Re: [U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-13 Thread Marek Vasut
> On Fri, 2012-01-13 at 13:35 +0100, Marek Vasut wrote: > > > + "if mmc rescan 0 && ext2load mmc 0 0xa000 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 s

Re: [U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-13 Thread Vasily Khoruzhick
On Fri, 2012-01-13 at 13:35 +0100, Marek Vasut wrote: > > + "if mmc rescan 0 && ext2load mmc 0 0xa000 boot/uboot.script ;" \ > > Why "mmc rescan 0" ? Because otherwise it does nothing to detect card and scan for partitions? 0 is mmc device index. Regards Vasily __

Re: [U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-13 Thread Marek Vasut
> Signed-off-by: Vasily Khoruzhick > --- > v2: mmcinfo is necessary to scan card for partitions > v3: replace mmcinfo with mmc rescan > > board/zipitz2/zipitz2.c |8 > include/configs/zipitz2.h | 14 -- > 2 files changed, 16 insertions(+), 6 deletions(-) > > diff --

[U-Boot] [PATCH v3 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-12 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- v2: mmcinfo is necessary to scan card for partitions v3: replace mmcinfo with mmc rescan board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h | 14 -- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/board/zipitz2/