]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig
authorBin Meng <bmeng.cn@gmail.com>
Thu, 14 Jan 2016 03:39:00 +0000 (19:39 -0800)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:10:14 +0000 (19:10 -0700)
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>
14 files changed:
configs/colibri_vf_defconfig
configs/colibri_vf_dtb_defconfig
configs/ls1021aqds_ddr4_nor_lpuart_defconfig
configs/ls1021aqds_nor_lpuart_defconfig
configs/ls1021atwr_nor_lpuart_defconfig
configs/pcm052_defconfig
configs/vf610twr_defconfig
configs/vf610twr_nand_defconfig
drivers/serial/Kconfig
include/configs/colibri_vf.h
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h
include/configs/pcm052.h
include/configs/vf610twr.h

index f8441e351b85d575e6696c4f7cab22e93bdfb5f9..45917c837fa362d90a2b465fa986bb4d35f7ad11 100644 (file)
@@ -8,3 +8,4 @@ CONFIG_CMD_GPIO=y
 CONFIG_DM=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
+CONFIG_FSL_LPUART=y
index 3596cecb7d683d4aa0bade5281f356597dea5e9e..b1a843a7878f47621d7607ce11948ea2ebb1a8e0 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
+CONFIG_FSL_LPUART=y
index 68bd117b1ce7ff29dec919361644b5aa312df1b3..44b2a0d1e5cf81a6c2ae82196429607539596931 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,LPUART"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_FSL_LPUART=y
index b2f6832303ab0e6dbf29612f3d37d195bbb4b353..1186af2a14842a6fe49edcfc297f2abbcaa172f9 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LPUART"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_FSL_LPUART=y
index d7afca9bc51b5fc2cb20796d84218879e7dede94..58cd61fea06ec99ca1e490c108b74a0b6842a234 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LPUART"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_FSL_LPUART=y
index 912564583276a13475a4608e637ea8e0af4f005e..26ab733148e03e731cb63f6552764033353c9a12 100644 (file)
@@ -3,3 +3,4 @@ CONFIG_TARGET_PCM052=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
+CONFIG_FSL_LPUART=y
index dc8df5c9975d8103d077d15781c2ec0472622ac3..d51c93b4778e75616c76ba9430f69de2b3cf7dd1 100644 (file)
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_I
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
 CONFIG_SPI_FLASH=y
+CONFIG_FSL_LPUART=y
index 98880f3a8b706592b88753fac82763d5d6296fb7..299fa8f916be7008360819c530152f53bf9d9d04 100644 (file)
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_I
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
 CONFIG_SPI_FLASH=y
+CONFIG_FSL_LPUART=y
index 92084a2908a59aa543682134ddacc364030a1176..83068cfd50f4c53aac9f1a906602be22624d4b5f 100644 (file)
@@ -228,6 +228,12 @@ config ALTERA_UART
          Select this to enable an UART for Altera devices. Please find
          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
        bool "NS16550 UART or compatible"
        help
index 708c79af9735fde80f69a59e4d62821ce6046489..5aed3a5fcd1db29d8db1655bf5d472795b5210a4 100644 (file)
@@ -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 */
index 2e8dbc7a78b340e5ab879d170f4b19c5181255e1..e8b1ecaeb19c6da7b85f51423a8b5ebe824058f6 100644 (file)
@@ -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
index bbef2a7eef76292b8b7ac0560d82f6559f88bbfc..317ba62d3d05a2408824466710104d42a1407d44 100644 (file)
  * Serial Port
  */
 #ifdef CONFIG_LPUART
-#define CONFIG_FSL_LPUART
 #define CONFIG_LPUART_32B_REG
 #else
 #define CONFIG_CONS_INDEX              1
index b851bba25d90dec30d1a39d315d6e72895aa7745..891bdb0ecf15030acc763039d400412ca11a02d2 100644 (file)
@@ -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 */
index 34df6f03529087bc9e7d1932d85cd9299e9e0bce..dcfafaf63119fdfe41c07da3d3354f707d02e3fe 100644 (file)
@@ -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 */