mmc: add bus handler
Delegate protocol handling to "bus handlers". This allows the core to
just handle the task of arbitrating the bus. Initialisation and
pampering of cards is now done by the different bus handlers.
This design also allows MMC and SD (and later SDIO) to be more cleanly
separated, allowing easier maintenance.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Showing
This diff is collapsed.
drivers/mmc/core/mmc.c
0 → 100644
This diff is collapsed.
drivers/mmc/core/sd.c
0 → 100644
Please register or sign in to comment