summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9x5ek/at91sam9x5ek.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-13 01:36:51 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:05:38 +0300
commit4e5909450ec2acafb3d2e5b9714251ae67e0f0e0 (patch)
treea109a38b3f6db435c193d1d0025ff32e90729ea9 /board/atmel/at91sam9x5ek/at91sam9x5ek.c
parent0cd03259644dcb967fcd6b31c3a92984125a1fe3 (diff)
downloadu-boot-4e5909450ec2acafb3d2e5b9714251ae67e0f0e0.tar.xz
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/at91sam9x5ek/at91sam9x5ek.c')
-rw-r--r--board/atmel/at91sam9x5ek/at91sam9x5ek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
index b5af35bc7e..817aa2fef7 100644
--- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c
+++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
@@ -65,9 +65,9 @@ static void at91sam9x5ek_nand_hw_init(void)
at91_periph_clk_enable(ATMEL_ID_PIOCD);
/* 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_pio3_set_a_periph(AT91_PIO_PORTD, 0, 1); /* NAND OE */
at91_pio3_set_a_periph(AT91_PIO_PORTD, 1, 1); /* NAND WE */