"Liu Dave" <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users