Re: [U-Boot] [PATCH-OMAP3] OMAP3: Check for MMC card

2008-12-07 Thread Dirk Behme
Jean-Christophe PLAGNIOL-VILLARD wrote: >>- fat_register_device(&mmc_blk_dev, 1); >>- return 0; >>+ if (configure_mmc(&cur_card_data) == 1) { >>+ mmc_blk_dev.if_type = IF_TYPE_MMC; >>+ mmc_blk_dev.part_type = PART_TYPE_DOS; >>+ mmc_blk_dev.dev = 0; >>

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Check for MMC card

2008-12-06 Thread Jean-Christophe PLAGNIOL-VILLARD
> - fat_register_device(&mmc_blk_dev, 1); > - return 0; > + if (configure_mmc(&cur_card_data) == 1) { > + mmc_blk_dev.if_type = IF_TYPE_MMC; > + mmc_blk_dev.part_type = PART_TYPE_DOS; > + mmc_blk_dev.dev = 0; > + mmc_blk_dev.lun = 0; > +

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Check for MMC card

2008-12-06 Thread Jason Kridner
I've run u-boot with all of these patches and see it working well on Beagle. On Dec 6, 2008, at 1:00 AM, Dirk Behme wrote: > mmc_init was always returning success -- now returns failure if > no card is present. > > Signed-off-by: Steve Sakoman <[EMAIL PROTECTED]> > Signed-off-by: Dirk Behme <[E

[U-Boot] [PATCH-OMAP3] OMAP3: Check for MMC card

2008-12-05 Thread Dirk Behme
mmc_init was always returning success -- now returns failure if no card is present. Signed-off-by: Steve Sakoman <[EMAIL PROTECTED]> Signed-off-by: Dirk Behme <[EMAIL PROTECTED]> --- * This patch applies on top of last 5 pending OMAP3 patches (in this order): http://lists.denx.de/pipermail/u-bo