
Signed-off-by: Tuomas Tynkkynen tuomas@tuxera.com --- arch/arc/Kconfig | 1 + drivers/serial/Kconfig | 7 +++++++ include/configs/nsim.h | 10 ---------- scripts/config_whitelist.txt | 1 - 4 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index aee15d5353..fb91412150 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -143,6 +143,7 @@ config TARGET_TB100
config TARGET_NSIM bool "Support standalone nSIM & Free nSIM" + imply ARC_SERIAL
config TARGET_AXS101 bool "Support Synopsys Designware SDP board AXS101" diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 3d5b2bf15f..0a01399961 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -416,6 +416,13 @@ 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 ARC_SERIAL + bool "ARC UART support" + depends on DM_SERIAL && ARC + help + Select this to enable the support for UART on some ARC (Synopsys) + FPGA-based boards. + config AR933X_UART bool "QCA/Atheros ar933x UART support" depends on DM_SERIAL && SOC_AR933X diff --git a/include/configs/nsim.h b/include/configs/nsim.h index 58d3e5f7de..e7fb35fe3b 100644 --- a/include/configs/nsim.h +++ b/include/configs/nsim.h @@ -25,16 +25,6 @@ #define CONFIG_SYS_BOOTM_LEN SZ_32M #define CONFIG_SYS_LOAD_ADDR 0x82000000
-/* - * UART configuration - * - */ -#define CONFIG_ARC_SERIAL - -/* - * Command line configuration - */ - /* * Environment settings */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 997ef771c7..831b4add54 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -48,7 +48,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