ARM: da850-evm: Unify config options with Kconfig
authorAdam Ford <aford173@gmail.com>
Mon, 29 Jun 2020 23:49:41 +0000 (18:49 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 13 Jul 2020 15:28:34 +0000 (20:58 +0530)
commit7bb33e4684aaee9e4e36dc673d32f4539f96d91a
tree3a4e3ae811a5f4f3e222238157481034318c6266
parent5f1600e03e7dd29f010fc0867a0bbea64d1520d0
ARM: da850-evm: Unify config options with Kconfig

There are two options that are currently whitelisted, but they
are redundant, because there are not necessary since Kconfig options
exist to basically state the same thing.

CONFIG_DIRECT_NOR_BOOT and CONFIG_USE_NOR are both set together and
only used by the da850 when booting from NOR, however the only time
CONFIG_MTD_NOR_FLASH is configured is when booting from NOR. Since
NOR doesn't need SPL, the options for SPL can be moved to a check for
building SPL instead of checking for NOR.

This patch removes the checks for these two config options and unifies
the checks around the Kconfig option of CONFIG_MTD_NOR_FLASH.

Since this board is the only board that uses these two config options,
they can be removed from the whitelist table.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/davinci/da8xxevm/da850evm.c
configs/da850evm_direct_nor_defconfig
include/configs/da850evm.h
scripts/config_whitelist.txt