[U-Boot] confused about set/test of EMMC_BOOT-related config settings

Robert P. J. Day rpjday at crashcourse.ca
Wed Aug 21 17:25:43 CEST 2013


  perusing cmd_mmc.c, ran across test for CONFIG_SUPPORT_EMMC_BOOT
with which i was unfamiliar so i did a grep to see where it was having
an effect and got this:

$ grep -r EMMC_BOOT *
arch/arm/cpu/armv7/exynos/spl_boot.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
arch/arm/cpu/armv7/exynos/spl_boot.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
boards.cfg:am335x_boneblack             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT
common/cmd_mmc.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
common/cmd_mmc.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
common/cmd_mmc.c:#endif /* CONFIG_SUPPORT_EMMC_BOOT */
common/cmd_mmc.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
drivers/mmc/mmc.c:#ifdef CONFIG_SUPPORT_EMMC_BOOT
include/configs/am335x_evm.h:#elif defined(CONFIG_EMMC_BOOT)
include/configs/exynos5250-dt.h:#define CONFIG_SUPPORT_EMMC_BOOT
$

  confused because in the midst of all that, i see a reference in
am335x_evm.h to CONFIG_EMMC_BOOT rather than CONFIG_SUPPORT_EMMC_BOOT.
is that deliberate? i haven't dug further to see what that option
represents, but that difference just looks odd. thoughts?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the U-Boot mailing list