[U-Boot-Users] [PATCH] MMC: Consolidate MMC/SD command definitions

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Wed May 21 14:32:30 CEST 2008


"Liu Dave" <DaveLiu at freescale.com> wrote:
> > This moves the MMC and SD Card command definitions from
> > include/asm/arch/mmc.h into include/mmc.h. These definitions are given
> > by the MMC and SD Card standards, not by any particular architecture.
> > 
> > There's a lot more room for consolidation in the MMC drivers which I'm
> > hoping to get done eventually, but this patch is a start.
> 
> Can we have one mmc-lite stack from linux kernel?
> The linux kernel have one good frame work for sd/mmc/sdio.

Yes, I was hoping we could do something like that. There's a lot of
duplication in the various MMC drivers we have, and none of them
support all kinds of cards AFAIK.

It would be nice with a core protocol layer which takes care of
initialization and stuff, leaving only the low-level hardware stuff to
the driver.

The Linux mmc framework is certainly good...but it may be too
heavyweight for u-boot.

Haavard




More information about the U-Boot mailing list