diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-11-19 21:48:13 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-21 21:50:17 -0500 |
commit | 4fb6055211b28c525fb45463ebe5da2757d9abc7 (patch) | |
tree | f606043e5e6eef43633cd41983c79b1873b164af /include/configs | |
parent | c7b9686d5d482c8e952598841ea467e6ec0ec0de (diff) |
ns16550: zap CONFIG_NS16550_SERIAL
Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers
is completed.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/am43xx_evm.h | 2 | ||||
-rw-r--r-- | include/configs/cm_t43.h | 1 | ||||
-rw-r--r-- | include/configs/mv-common.h | 4 | ||||
-rw-r--r-- | include/configs/omap3_pandora.h | 1 | ||||
-rw-r--r-- | include/configs/sniper.h | 4 | ||||
-rw-r--r-- | include/configs/sunxi-common.h | 4 | ||||
-rw-r--r-- | include/configs/tb100.h | 1 | ||||
-rw-r--r-- | include/configs/tegra-common.h | 1 | ||||
-rw-r--r-- | include/configs/ti_am335x_common.h | 4 | ||||
-rw-r--r-- | include/configs/ti_armv7_keystone2.h | 2 | ||||
-rw-r--r-- | include/configs/ti_omap3_common.h | 4 | ||||
-rw-r--r-- | include/configs/ti_omap4_common.h | 2 | ||||
-rw-r--r-- | include/configs/ti_omap5_common.h | 2 |
13 files changed, 2 insertions, 30 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 1126cdd1b67..76ce17bebf7 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -27,8 +27,6 @@ #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) -#else -#define CONFIG_NS16550_SERIAL #endif /* I2C Configuration */ diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h index e1019ff65ec..f8c39bfa53e 100644 --- a/include/configs/cm_t43.h +++ b/include/configs/cm_t43.h @@ -18,7 +18,6 @@ #include <asm/arch/omap.h> /* Serial support */ -#define CONFIG_NS16550_SERIAL #define CONFIG_DM_SERIAL #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h index 0e33a890968..575e53e9fa7 100644 --- a/include/configs/mv-common.h +++ b/include/configs/mv-common.h @@ -39,10 +39,6 @@ /* * NS16550 Configuration */ -#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL) -#define CONFIG_NS16550_SERIAL -#endif - #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h index c15c699ff79..803f4b8c477 100644 --- a/include/configs/omap3_pandora.h +++ b/include/configs/omap3_pandora.h @@ -49,7 +49,6 @@ /* * NS16550 Configuration */ -#undef CONFIG_NS16550_SERIAL #undef CONFIG_SYS_NS16550_CLK #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) diff --git a/include/configs/sniper.h b/include/configs/sniper.h index 34f7f6e5147..559311fb80b 100644 --- a/include/configs/sniper.h +++ b/include/configs/sniper.h @@ -196,9 +196,7 @@ */ -#ifndef CONFIG_SPL_BUILD -#define CONFIG_NS16550_SERIAL -#else +#ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) #endif diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index f560219881b..7a4853c4639 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -45,9 +45,7 @@ #define CONFIG_SYS_NS16550_SERIAL /* ns16550 reg in the low bits of cpu reg */ #define CONFIG_SYS_NS16550_CLK 24000000 -#ifdef CONFIG_DM_SERIAL -# define CONFIG_NS16550_SERIAL -#else +#ifndef CONFIG_DM_SERIAL # define CONFIG_SYS_NS16550_REG_SIZE -4 # define CONFIG_SYS_NS16550_COM1 SUNXI_UART0_BASE # define CONFIG_SYS_NS16550_COM2 SUNXI_UART1_BASE diff --git a/include/configs/tb100.h b/include/configs/tb100.h index 44287d80484..0b9ad1ca43a 100644 --- a/include/configs/tb100.h +++ b/include/configs/tb100.h @@ -35,7 +35,6 @@ /* * UART configuration */ -#define CONFIG_NS16550_SERIAL #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_CLK 166666666 diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index bcc35f744b2..64a12e6c9c4 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -39,7 +39,6 @@ /* * NS16550 Configuration */ -#define CONFIG_NS16550_SERIAL #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_CLK V_NS16550_CLK diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h index 32348ab5207..3beb9db1435 100644 --- a/include/configs/ti_am335x_common.h +++ b/include/configs/ti_am335x_common.h @@ -19,10 +19,6 @@ #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC -#ifndef CONFIG_SPL_BUILD -# define CONFIG_NS16550_SERIAL -#endif - #include <asm/arch/omap.h> /* NS16550 Configuration */ diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 2083ea2e956..c36353d8864 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -63,8 +63,6 @@ #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE -4 -#else -#define CONFIG_NS16550_SERIAL #endif #define CONFIG_SYS_NS16550_COM1 KS2_UART0_BASE #define CONFIG_SYS_NS16550_COM2 KS2_UART1_BASE diff --git a/include/configs/ti_omap3_common.h b/include/configs/ti_omap3_common.h index e749d5dfb59..4d53b4cb570 100644 --- a/include/configs/ti_omap3_common.h +++ b/include/configs/ti_omap3_common.h @@ -18,10 +18,6 @@ #include <asm/arch/cpu.h> #include <asm/arch/omap.h> -#ifndef CONFIG_SPL_BUILD -# define CONFIG_NS16550_SERIAL -#endif - /* Common ARM Erratas */ #define CONFIG_ARM_ERRATA_454179 #define CONFIG_ARM_ERRATA_430973 diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 0a03cd58604..4b7b493a626 100644 --- a/include/configs/ti_omap4_common.h +++ b/include/configs/ti_omap4_common.h @@ -63,8 +63,6 @@ #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_COM3 UART3_BASE -#else -#define CONFIG_NS16550_SERIAL #endif #define CONFIG_CONS_INDEX 3 diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index be1f4c14b8f..94d6ef0b3c0 100644 --- a/include/configs/ti_omap5_common.h +++ b/include/configs/ti_omap5_common.h @@ -55,8 +55,6 @@ #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) -#else -#define CONFIG_NS16550_SERIAL #endif /* |