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;
>>
> - 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;
> +
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
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
4 matches
Mail list logo