]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
serial: Convert ARC_SERIAL to Kconfig
authorAlexey Brodkin <abrodkin@synopsys.com>
Mon, 21 May 2018 13:40:05 +0000 (16:40 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Thu, 24 May 2018 12:59:17 +0000 (15:59 +0300)
One step closer to completely Kconfig-driven target configuration in
U-Boot :)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
configs/nsim_700_defconfig
configs/nsim_700be_defconfig
configs/nsim_hs38_defconfig
configs/nsim_hs38be_defconfig
drivers/serial/Kconfig
include/configs/nsim.h
scripts/config_whitelist.txt

index 12fe5f77c64f4a5009613bb9807d3a5f7e5b1323..01a461b851d9396f5286382e338c6f09073c8bc0 100644 (file)
@@ -13,4 +13,5 @@ CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
+CONFIG_ARC_SERIAL=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 6c0dba7c6d0581da356609fcb2eca86096ad9868..9188ab24d772cbb893de56ebc17ab73a91a108ac 100644 (file)
@@ -14,4 +14,5 @@ CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
+CONFIG_ARC_SERIAL=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index bb31adb381df03023cd72ccd930b329ea4d55652..58ada454e75ca10af672e30d46148daa7bf017a9 100644 (file)
@@ -14,4 +14,5 @@ CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
+CONFIG_ARC_SERIAL=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index a2cc238433f7edf0da4e9d9d638829d9201bed12..53feb29a48ef7173f992bd88a4c1ad4b2679d2f8 100644 (file)
@@ -15,4 +15,5 @@ CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
+CONFIG_ARC_SERIAL=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index 5937910e5bf96a8b251a8355c589058f27246aae..1aab0320f676527c018be439dbfefedf2bcdce4f 100644 (file)
@@ -425,6 +425,13 @@ config AR933X_UART
          tree binding to operate, please refer to the document at
          doc/device-tree-bindings/serial/qca,ar9330-uart.txt.
 
+config ARC_SERIAL
+       bool "ARC UART support"
+       depends on DM_SERIAL
+       help
+         Select this to enable support for ARC UART now typically
+         only used in Synopsys DesignWare ARC simulators like nSIM.
+
 config ATMEL_USART
        bool "Atmel USART support"
        help
index 0f22606feed5c284867a3cab05f7de7615425974..c3f34a91e433d57a126bd0f90a14ddd0a35a87f4 100644 (file)
 #define CONFIG_SYS_BOOTM_LEN           SZ_32M
 #define CONFIG_SYS_LOAD_ADDR           0x82000000
 
-/*
- * UART configuration
- *
- */
-#define CONFIG_ARC_SERIAL
-
-/*
- * Command line configuration
- */
-
 /*
  * Environment settings
  */
index 9f3ccecc1dd5934f32b81cc02807a15d21e77293..c5cb23dbf170e6548bfbcef1ddad4d7d5a5c512e 100644 (file)
@@ -47,7 +47,6 @@ CONFIG_ARCH_RMOBILE_EXTRAM_BOOT
 CONFIG_ARCH_TEGRA
 CONFIG_ARCH_USE_BUILTIN_BSWAP
 CONFIG_ARC_MMU_VER
-CONFIG_ARC_SERIAL
 CONFIG_ARIES_M28_V10
 CONFIG_ARMADA100
 CONFIG_ARMADA100_FEC