serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig
LPUART is seen on Freescale VF610 and QorIQ Layerscape devices. Create a Kconfig option and move it to defconfig for all boards that have this serial driver. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
#define CONFIG_FSL_LPUART
|
||||
#define LPUART_BASE UART0_BASE
|
||||
|
||||
/* Allow to overwrite serial and ethaddr */
|
||||
|
||||
@@ -371,7 +371,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
* Serial Port
|
||||
*/
|
||||
#ifdef CONFIG_LPUART
|
||||
#define CONFIG_FSL_LPUART
|
||||
#define CONFIG_LPUART_32B_REG
|
||||
#else
|
||||
#define CONFIG_CONS_INDEX 1
|
||||
|
||||
@@ -266,7 +266,6 @@
|
||||
* Serial Port
|
||||
*/
|
||||
#ifdef CONFIG_LPUART
|
||||
#define CONFIG_FSL_LPUART
|
||||
#define CONFIG_LPUART_32B_REG
|
||||
#else
|
||||
#define CONFIG_CONS_INDEX 1
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
#define CONFIG_FSL_LPUART
|
||||
#define LPUART_BASE UART1_BASE
|
||||
|
||||
/* Allow to overwrite serial and ethaddr */
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
#define CONFIG_FSL_LPUART
|
||||
#define LPUART_BASE UART1_BASE
|
||||
|
||||
/* Allow to overwrite serial and ethaddr */
|
||||
|
||||
Reference in New Issue
Block a user