mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-16 20:27:02 +02:00
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:
parent
f833cd6279
commit
5ed07cf53c
@ -8,3 +8,4 @@ CONFIG_CMD_GPIO=y
|
|||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_NAND_VF610_NFC=y
|
CONFIG_NAND_VF610_NFC=y
|
||||||
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
|
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -11,3 +11,4 @@ CONFIG_OF_CONTROL=y
|
|||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
CONFIG_NAND_VF610_NFC=y
|
CONFIG_NAND_VF610_NFC=y
|
||||||
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
|
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,LPUART"
|
|||||||
# CONFIG_CMD_SETEXPR is not set
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
CONFIG_NETDEVICES=y
|
CONFIG_NETDEVICES=y
|
||||||
CONFIG_E1000=y
|
CONFIG_E1000=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LPUART"
|
|||||||
# CONFIG_CMD_SETEXPR is not set
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
CONFIG_NETDEVICES=y
|
CONFIG_NETDEVICES=y
|
||||||
CONFIG_E1000=y
|
CONFIG_E1000=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LPUART"
|
|||||||
# CONFIG_CMD_SETEXPR is not set
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
CONFIG_NETDEVICES=y
|
CONFIG_NETDEVICES=y
|
||||||
CONFIG_E1000=y
|
CONFIG_E1000=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -3,3 +3,4 @@ CONFIG_TARGET_PCM052=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
||||||
CONFIG_NAND_VF610_NFC=y
|
CONFIG_NAND_VF610_NFC=y
|
||||||
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_I
|
|||||||
CONFIG_NAND_VF610_NFC=y
|
CONFIG_NAND_VF610_NFC=y
|
||||||
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
||||||
CONFIG_SPI_FLASH=y
|
CONFIG_SPI_FLASH=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_I
|
|||||||
CONFIG_NAND_VF610_NFC=y
|
CONFIG_NAND_VF610_NFC=y
|
||||||
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
||||||
CONFIG_SPI_FLASH=y
|
CONFIG_SPI_FLASH=y
|
||||||
|
CONFIG_FSL_LPUART=y
|
||||||
|
@ -228,6 +228,12 @@ config ALTERA_UART
|
|||||||
Select this to enable an UART for Altera devices. Please find
|
Select this to enable an UART for Altera devices. Please find
|
||||||
details on the "Embedded Peripherals IP User Guide" of Altera.
|
details on the "Embedded Peripherals IP User Guide" of Altera.
|
||||||
|
|
||||||
|
config FSL_LPUART
|
||||||
|
bool "Freescale LPUART support"
|
||||||
|
help
|
||||||
|
Select this to enable a Low Power UART for Freescale VF610 and
|
||||||
|
QorIQ Layerscape devices.
|
||||||
|
|
||||||
config SYS_NS16550
|
config SYS_NS16550
|
||||||
bool "NS16550 UART or compatible"
|
bool "NS16550 UART or compatible"
|
||||||
help
|
help
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
|
|
||||||
#define CONFIG_FSL_LPUART
|
|
||||||
#define LPUART_BASE UART0_BASE
|
#define LPUART_BASE UART0_BASE
|
||||||
|
|
||||||
/* Allow to overwrite serial and ethaddr */
|
/* Allow to overwrite serial and ethaddr */
|
||||||
|
@ -371,7 +371,6 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
* Serial Port
|
* Serial Port
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_LPUART
|
#ifdef CONFIG_LPUART
|
||||||
#define CONFIG_FSL_LPUART
|
|
||||||
#define CONFIG_LPUART_32B_REG
|
#define CONFIG_LPUART_32B_REG
|
||||||
#else
|
#else
|
||||||
#define CONFIG_CONS_INDEX 1
|
#define CONFIG_CONS_INDEX 1
|
||||||
|
@ -266,7 +266,6 @@
|
|||||||
* Serial Port
|
* Serial Port
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_LPUART
|
#ifdef CONFIG_LPUART
|
||||||
#define CONFIG_FSL_LPUART
|
|
||||||
#define CONFIG_LPUART_32B_REG
|
#define CONFIG_LPUART_32B_REG
|
||||||
#else
|
#else
|
||||||
#define CONFIG_CONS_INDEX 1
|
#define CONFIG_CONS_INDEX 1
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
|
|
||||||
#define CONFIG_FSL_LPUART
|
|
||||||
#define LPUART_BASE UART1_BASE
|
#define LPUART_BASE UART1_BASE
|
||||||
|
|
||||||
/* Allow to overwrite serial and ethaddr */
|
/* Allow to overwrite serial and ethaddr */
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
|
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
|
|
||||||
#define CONFIG_FSL_LPUART
|
|
||||||
#define LPUART_BASE UART1_BASE
|
#define LPUART_BASE UART1_BASE
|
||||||
|
|
||||||
/* Allow to overwrite serial and ethaddr */
|
/* Allow to overwrite serial and ethaddr */
|
||||||
|
Loading…
Reference in New Issue
Block a user