]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: mmc: Move the device list into a separate file
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:35 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitc40fdca6b7db469d3982cc44fd68a269adb41b25
treea95063f9ae5b62a66999fcfb00a90dbf8edd226a
parentcffe5d86cfe853ae9271d37522f8bc5795cc4c69
dm: mmc: Move the device list into a separate file

At present the MMC subsystem maintains its own list of MMC devices. This
cannot work with driver model, which needs to maintain this itself. Move the
list code into a separate 'legacy' file. The core MMC code remains, and will
be shared with the driver-model implementation.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/mmc.c
drivers/mmc/Makefile
drivers/mmc/mmc.c
drivers/mmc/mmc_legacy.c [new file with mode: 0644]
drivers/mmc/mmc_private.h
drivers/mmc/mmc_write.c