]> git.baikalelectronics.ru Git - uboot.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)
commit42fcf86c1da77abb69da45b83fdeed3c2a764d11
tree4cde2f77de3c28d2462e3ec42ba9e2d85bc42d30
parentfe5d15feafcb08707291e5ae800a70c3b552a706
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