etamin: Rework CONFIG_NAND_CS_INIT
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:38 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 15:31:48 +0000 (10:31 -0500)
commit3348c6b6a5cbf71bde837bf80cf962ee6aaeff20
treef79c75fa5f322ddf8a529ee9170a7676523d17ad
parent71894173bb15fffacb166bdc04168a0fcb86cbbf
etamin: Rework CONFIG_NAND_CS_INIT

Enable this in the board Kconfig file, but then check for it via
CONFIG_IS_ENABLED so that it will only be true in the non-SPL case, as
is done today.  As part of this we move some defines local to where
they are used as it's board specific.

Cc: Samuel Egli <samuel.egli@siemens.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/siemens/common/board.c
board/siemens/draco/Kconfig
board/siemens/draco/board.c
include/configs/etamin.h