]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: mmc: Allow disabling driver model in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:19 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:00 +0000 (11:58 +0900)
commitc4d660d4d0abcde0fdbcee8401b215fc2b56d7aa
tree4cde2f77de3c28d2462e3ec42ba9e2d85bc42d30
parent745a94f352b8f6f05e038110d3ce44d211bf31f3
dm: mmc: Allow disabling driver model in SPL

At present if U-Boot proper uses driver model for MMC, then SPL has to
also. While this is desirable, it places a significant barrier to moving
to driver model in some cases. For example, with a space-constrained SPL
it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves
adjusting some drivers.

Add new SPL versions of the options for DM_MMC, DM_MMC_OPS and BLK. By
default these follow their non-SPL versions, but this can be changed by
boards which need it.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 files changed:
common/spl/spl_mmc.c
drivers/block/Kconfig
drivers/block/Makefile
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc.c
drivers/mmc/mmc_legacy.c
drivers/mmc/mmc_private.h
drivers/mmc/omap_hsmmc.c
drivers/scsi/scsi.c
include/blk.h
include/mmc.h