diff options
author | Tom Rini <trini@konsulko.com> | 2022-11-12 17:36:51 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-05 16:05:38 -0500 |
commit | 4e5909450ec2acafb3d2e5b9714251ae67e0f0e0 (patch) | |
tree | a109a38b3f6db435c193d1d0025ff32e90729ea9 /board/atmel/at91sam9rlek | |
parent | 0cd03259644dcb967fcd6b31c3a92984125a1fe3 (diff) | |
download | u-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.zip u-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.tar.gz u-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.tar.bz2 |
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 <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/atmel/at91sam9rlek')
-rw-r--r-- | board/atmel/at91sam9rlek/at91sam9rlek.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c index f05ee322..bca7c8d 100644 --- a/board/atmel/at91sam9rlek/at91sam9rlek.c +++ b/board/atmel/at91sam9rlek/at91sam9rlek.c @@ -64,10 +64,10 @@ static void at91sam9rlek_nand_hw_init(void) at91_periph_clk_enable(ATMEL_ID_PIOD); /* Configure RDY/BSY */ - at91_set_gpio_input(CONFIG_SYS_NAND_READY_PIN, 1); + at91_set_gpio_input(CFG_SYS_NAND_READY_PIN, 1); /* Enable NandFlash */ - at91_set_gpio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1); + at91_set_gpio_output(CFG_SYS_NAND_ENABLE_PIN, 1); at91_set_A_periph(AT91_PIN_PB4, 0); /* NANDOE */ at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */ |