summaryrefslogtreecommitdiff
path: root/board/timll/devkit3250/devkit3250.c
diff options
context:
space:
mode:
authorTrevor Woerner <[email protected]>2021-06-10 22:37:02 -0400
committerTom Rini <[email protected]>2021-07-06 14:11:50 -0400
commitbd4dbf9e435345cf859922fca74dc0603d7dac2b (patch)
tree947c60f5230b46fca0a2279df607a640c88c8bdd /board/timll/devkit3250/devkit3250.c
parent3a37386f18c82f7270e892dbd51e3f00cf5d8a19 (diff)
lpc32xx: Kconfig: switch to CONFIG_CONS_INDEX
There's nothing special or unique to the lpc32xx that requires its own config parameter for specifying the console uart index. Therefore instead of using the lpc32xx-specific CONFIG_SYS_LPC32XX_UART include parameter, use the already-available CONFIG_CONS_INDEX from Kconfig. Signed-off-by: Trevor Woerner <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/timll/devkit3250/devkit3250.c')
-rw-r--r--board/timll/devkit3250/devkit3250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/timll/devkit3250/devkit3250.c b/board/timll/devkit3250/devkit3250.c
index 3c744b943f4..9d4ffb0f979 100644
--- a/board/timll/devkit3250/devkit3250.c
+++ b/board/timll/devkit3250/devkit3250.c
@@ -38,7 +38,7 @@ void reset_periph(void)
int board_early_init_f(void)
{
- lpc32xx_uart_init(CONFIG_SYS_LPC32XX_UART);
+ lpc32xx_uart_init(CONFIG_CONS_INDEX);
lpc32xx_i2c_init(1);
lpc32xx_i2c_init(2);
lpc32xx_ssp_init();