diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-31 12:47:52 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:30 -0600 |
commit | b3d023b4058acc83d211555e62068f84e322bcac (patch) | |
tree | 47a7cb39b7eabd1fc80f85dd669468acd47e7f1d /common/splash_source.c | |
parent | 5fd2733e5a821acf0358f51d436b61209deac9a5 (diff) | |
download | blackbird-obmc-uboot-b3d023b4058acc83d211555e62068f84e322bcac.tar.gz blackbird-obmc-uboot-b3d023b4058acc83d211555e62068f84e322bcac.zip |
dm: spi_flash: fix wrong dependency
CONFIG_SPI does not exist in Kconfig in the first place, so the
dependency "depends on DM && SPI" is never met, i.e., DM_SPI_FLASH
can never be enabled (unless you ignore the dependency in an illegal
way. See below.)
Actually, some defconfigs such as socfpga_*_defconfig define
CONFIG_DM_SPI_FLASH=y, but it never appears in the .config file
because of this wrong dependency.
On the other hand, all the Tegra boards enable DM_SPI_FLASH because
config DM_SPI_FLASH
default y
silently ignores the dependency.
Unfortunately, this style of CONFIG definition is abused everywhere
in U-Boot, so we easily miss such a wrong dependency.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/splash_source.c')
0 files changed, 0 insertions, 0 deletions