u-boot/drivers/mmc
Masahiro Yamada 0f9258228e of: clean up OF_CONTROL ifdef conditionals
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL.  We have cleansing
devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear
away the ugly logic in include/fdtdec.h:

 #ifdef CONFIG_OF_CONTROL
 # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL)
 #  define OF_CONTROL 0
 # else
 #  define OF_CONTROL 1
 # endif
 #else
 # define OF_CONTROL 0
 #endif

Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute.  It refers to
CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for
SPL.

Also, we no longer have to cancel CONFIG_OF_CONTROL in
include/config_uncmd_spl.h and scripts/Makefile.spl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-08-18 13:46:05 -04:00
..
arm_pl180_mmci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
bcm2835_sdhci.c mmc: bcm2835_sdhci: Restore original delay behavior 2015-06-25 17:04:37 -04:00
bfin_sdh.c mmc: set correct block size value in bfin sdh driver 2014-10-03 17:26:49 +03:00
davinci_mmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
dw_mmc.c dw_mmc: Calculate dwmmc FIFO threshold size if not provided 2015-08-13 11:24:26 +03:00
exynos_dw_mmc.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
fsl_esdhc.c fsl_esdhc.c: Always make check_and_invalidate_dcache_range available 2015-08-02 10:27:52 -04:00
fsl_esdhc_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
ftsdc010_mci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c MMC: atmel_mci: enable high speed mode support 2014-08-01 20:01:33 +03:00
hi6220_dw_mmc.c mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller. 2015-08-12 20:48:01 -04:00
Kconfig dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
kona_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
Makefile mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller. 2015-08-12 20:48:01 -04:00
mmc-uclass.c dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
mmc.c mmc: Protect mmc_initialize from initialising mmc multiple times 2015-07-24 16:17:08 +02:00
mmc_private.h mmc: fsl_esdhc: Add adapter card type identification support 2015-05-04 09:25:19 -07:00
mmc_spi.c mmc_spi: Big-endian support 2015-08-13 11:24:26 +03:00
mmc_write.c mmc_write.c: Make mmc_berase do 32bit safe 64bit math 2015-06-18 16:11:41 -04:00
mv_sdhci.c mv_sdhci: fix warnings on 64-bit builds 2015-03-18 09:56:17 +02:00
mvebu_mmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
mxcmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mxsmmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
omap_hsmmc.c mmc: omap_hsmmc: enable 8bit interface for eMMC for AM43xx 2015-08-12 20:48:04 -04:00
pci_mmc.c x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
pxa_mmc_gen.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
rpmb.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
s3c_sdi.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
s5p_sdhci.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
sandbox_mmc.c dm: test: Add a test for the mmc uclass 2015-07-21 17:39:32 -06:00
sdhci.c mmc: sdhci.c: Add config option to use a fixed buffer for transfers 2015-07-10 14:54:05 +02:00
sh_mmcif.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
sh_mmcif.h mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_sdhi.c mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
socfpga_dw_mmc.c arm: socfpga: mmc: Pick the clock from clock manager 2014-10-06 17:46:49 +02:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sunxi_mmc.c sunxi: Create helper function veryfing valid boot signature on MMC 2015-07-24 16:17:08 +02:00
tegra_mmc.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
zynq_sdhci.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00