]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env: mmc: depends on the MMC framework
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 23 Jan 2018 20:17:00 +0000 (21:17 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jan 2018 14:21:57 +0000 (09:21 -0500)
The raw MMC environment directly calls into the MMC framework. Make sure
it's enabled before we can select it.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
env/Kconfig

index a24370786b69e2fb9e45ac88dcb2aabbb1922d89..796621055294a1af3d221c15091389a860c876dd 100644 (file)
@@ -161,6 +161,7 @@ config ENV_IS_IN_FLASH
 config ENV_IS_IN_MMC
        bool "Environment in an MMC device"
        depends on !CHAIN_OF_TRUST
+       depends on MMC
        help
          Define this if you have an MMC device which you want to use for the
          environment.