]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: mmc: Tidy up some Makefile rules for SPL
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:57 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit879a9416d1e7197f99f428edc1c32bf59e6e8d3b
tree58a2701d49ed9b10201818d1c213c035c68f1e4a
parent6a318b102c04f4f0ae99247a3473e39febee42ef
dm: blk: mmc: Tidy up some Makefile rules for SPL

Use the correct SPL_TPL_ variable so that these features can be enabled in
TPL and VPL as needed.

Disable it by default in TPL to avoid any code-size increase. No boards
are actually using it since the Makefile rules don't allow including
drivers/block/ with TPL_DM enabled. It can be manually enabled as needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/Makefile
drivers/block/Kconfig
drivers/block/Makefile
drivers/mmc/Makefile