[U-Boot] [PATCH v2 14/24] dm: mmc: Move the device list into a separate file
Simon Glass
sjg at chromium.org
Sat May 14 21:38:09 CEST 2016
On 1 May 2016 at 13:52, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2: None
>
> cmd/mmc.c | 8 +--
> drivers/mmc/Makefile | 4 ++
> drivers/mmc/mmc.c | 149 +++++++++++-----------------------------------
> drivers/mmc/mmc_legacy.c | 108 +++++++++++++++++++++++++++++++++
> drivers/mmc/mmc_private.h | 24 ++++++++
> drivers/mmc/mmc_write.c | 4 +-
> 6 files changed, 176 insertions(+), 121 deletions(-)
> create mode 100644 drivers/mmc/mmc_legacy.c
Applied to u-boot-dm.
More information about the U-Boot
mailing list