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 <twoerner@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -30,11 +30,6 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K \
|
||||
- GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
/*
|
||||
* Serial Driver
|
||||
*/
|
||||
#define CONFIG_SYS_LPC32XX_UART 5 /* UART5 */
|
||||
|
||||
/*
|
||||
* DMA
|
||||
*/
|
||||
|
||||
@@ -35,11 +35,6 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_512K \
|
||||
- GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
/*
|
||||
* Serial Driver
|
||||
*/
|
||||
#define CONFIG_SYS_LPC32XX_UART 5 /* UART5 - NS16550 */
|
||||
|
||||
/*
|
||||
* Ethernet Driver
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user