diff options
| author | Tom Rini <[email protected]> | 2022-12-02 16:42:38 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-22 10:31:48 -0500 |
| commit | 3348c6b6a5cbf71bde837bf80cf962ee6aaeff20 (patch) | |
| tree | f79c75fa5f322ddf8a529ee9170a7676523d17ad /board/siemens/common | |
| parent | 71894173bb15fffacb166bdc04168a0fcb86cbbf (diff) | |
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 <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'board/siemens/common')
| -rw-r--r-- | board/siemens/common/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index 2efede62aa5..8fa9197a6df 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -93,7 +93,7 @@ int board_init(void) gpmc_init(); -#ifdef CONFIG_NAND_CS_INIT +#if CONFIG_IS_ENABLED(NAND_CS_INIT) board_nand_cs_init(); #endif |
