aboutsummaryrefslogtreecommitdiff
path: root/board/ronetix/pm9261
diff options
context:
space:
mode:
authorTom Rini2022-11-12 17:36:51 -0500
committerTom Rini2022-12-05 16:05:38 -0500
commit4e5909450ec2acafb3d2e5b9714251ae67e0f0e0 (patch)
treea109a38b3f6db435c193d1d0025ff32e90729ea9 /board/ronetix/pm9261
parent0cd03259644dcb967fcd6b31c3a92984125a1fe3 (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 <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/ronetix/pm9261')
-rw-r--r--board/ronetix/pm9261/pm9261.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ronetix/pm9261/pm9261.c b/board/ronetix/pm9261/pm9261.c
index fe52c7c1764..07febe69dc7 100644
--- a/board/ronetix/pm9261/pm9261.c
+++ b/board/ronetix/pm9261/pm9261.c
@@ -66,10 +66,10 @@ static void pm9261_nand_hw_init(void)
at91_periph_clk_enable(ATMEL_ID_PIOC);
/* Configure RDY/BSY */
- gpio_direction_input(CONFIG_SYS_NAND_READY_PIN);
+ gpio_direction_input(CFG_SYS_NAND_READY_PIN);
/* Enable NandFlash */
- gpio_direction_output(CONFIG_SYS_NAND_ENABLE_PIN, 1);
+ gpio_direction_output(CFG_SYS_NAND_ENABLE_PIN, 1);
at91_set_a_periph(AT91_PIO_PORTC, 0, 0); /* NANDOE */
at91_set_a_periph(AT91_PIO_PORTC, 1, 0); /* NANDWE */