diff options
| author | Tom Rini <[email protected]> | 2022-11-12 17:36:51 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-05 16:05:38 -0500 |
| commit | 4e5909450ec2acafb3d2e5b9714251ae67e0f0e0 (patch) | |
| tree | a109a38b3f6db435c193d1d0025ff32e90729ea9 /board/siemens/corvus | |
| parent | 0cd03259644dcb967fcd6b31c3a92984125a1fe3 (diff) | |
global: Move remaining CONFIG_SYS_NAND_* to CFG_SYS_NAND_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_NAND
namespace do not easily transition to Kconfig. In many cases they likely
should come from the device tree instead. Move these out of CONFIG
namespace and in to CFG namespace.
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/siemens/corvus')
| -rw-r--r-- | board/siemens/corvus/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c index 90fece7f958..d87628097d0 100644 --- a/board/siemens/corvus/board.c +++ b/board/siemens/corvus/board.c @@ -40,8 +40,8 @@ DECLARE_GLOBAL_DATA_PTR; static void corvus_request_gpio(void) { - gpio_request(CONFIG_SYS_NAND_ENABLE_PIN, "nand ena"); - gpio_request(CONFIG_SYS_NAND_READY_PIN, "nand rdy"); + gpio_request(CFG_SYS_NAND_ENABLE_PIN, "nand ena"); + gpio_request(CFG_SYS_NAND_READY_PIN, "nand rdy"); gpio_request(AT91_PIN_PD7, "d0"); gpio_request(AT91_PIN_PD8, "d1"); gpio_request(AT91_PIN_PA12, "d2"); @@ -110,8 +110,8 @@ static void corvus_nand_hw_init(void) at91_periph_clk_enable(ATMEL_ID_PIOA); /* Enable NandFlash */ - at91_set_gpio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1); - at91_set_gpio_input(CONFIG_SYS_NAND_READY_PIN, 1); + at91_set_gpio_output(CFG_SYS_NAND_ENABLE_PIN, 1); + at91_set_gpio_input(CFG_SYS_NAND_READY_PIN, 1); } #if defined(CONFIG_SPL_BUILD) |
