Removed unused references to CONFIG_SERIALx
PATCH 1/1 Removed unused references to CONFIG_SERIALx
After creating CONS_INDEX and migrating a bunch of boards to it, there are a bunch of defined references to CONFIG_SERIALx which are not referenced in any C code or #ifdef, so they can now be removed
Signed-off-by Adam Ford <[email protected]>
--- include/configs/am3517_crane.h | 1 - include/configs/bcmstb.h | 1 - include/configs/cm_t335.h | 1 - include/configs/cm_t35.h | 1 - include/configs/cm_t3517.h | 1 - include/configs/eco5pk.h | 2 -- include/configs/mcx.h | 1 - include/configs/nokia_rx51.h | 1 - include/configs/odroid.h | 1 - include/configs/odroid_xu3.h | 1 - include/configs/omap3_cairo.h | 2 -- include/configs/omap3_pandora.h | 1 - include/configs/origen.h | 1 - include/configs/peach-pi.h | 1 - include/configs/peach-pit.h | 1 - include/configs/pengwyn.h | 1 - include/configs/pepper.h | 1 - include/configs/s5p_goni.h | 1 - include/configs/s5pc210_universal.h | 1 - include/configs/siemens-am33x-common.h | 1 - include/configs/smdk5420.h | 1 - include/configs/smdkc100.h | 1 - include/configs/smdkv310.h | 1 - include/configs/tam3517-common.h | 1 - include/configs/ti816x_evm.h | 3 --- include/configs/ti_omap3_common.h | 1 - include/configs/trats.h | 1 - include/configs/trats2.h | 1 - include/configs/tricorder.h | 1 - scripts/config_whitelist.txt | 4 ---- 30 files changed, 37 deletions(-)
include/configs/am3517_crane.h +0 -1
@@ -58,7 +58,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* UART3 on CRANEBOARD */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/bcmstb.h +0 -1
@@ -106,7 +106,6 @@/* * Serial console configuration. */ -#define CONFIG_SERIAL3 3#define CONFIG_BAUDRATE 115200#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, \
include/configs/cm_t335.h +0 -1
@@ -79,7 +79,6 @@#define CONFIG_SYS_AUTOLOAD "no"/* Serial console configuration */ -#define CONFIG_SERIAL1 1/* UART0 */ /* NS16550 Configuration */ #define CONFIG_SYS_NS16550_COM1 0x44e09000/* UART0 */
include/configs/cm_t35.h +0 -1
@@ -62,7 +62,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* UART3 */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/cm_t3517.h +0 -1
@@ -66,7 +66,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* UART3 */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/eco5pk.h +0 -2
@@ -16,10 +16,8 @@/* Our console port is port3 */ #undef CONFIG_SYS_NS16550_COM1 -#undef CONFIG_SERIAL1#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK
include/configs/mcx.h +0 -1
@@ -60,7 +60,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* UART3 */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/nokia_rx51.h +0 -1
@@ -73,7 +73,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* UART3 on RX-51 */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/odroid.h +0 -1
@@ -37,7 +37,6 @@#include <linux/sizes.h> /* select serial console configuration */ -#define CONFIG_SERIAL1 /* Console configuration */
include/configs/odroid_xu3.h +0 -1
@@ -15,7 +15,6 @@#define CONFIG_SYS_SDRAM_BASE 0x40000000/* select serial console configuration */ -#define CONFIG_SERIAL2 /* use SERIAL 2 */ #define TZPC_BASE_OFFSET 0x10000
include/configs/omap3_cairo.h +0 -2
@@ -203,8 +203,6 @@* function per_clocks_enable(). */ #ifdef CONFIG_SPL_BUILD -#undef CONFIG_SERIAL3 -#define CONFIG_SERIAL2 #endif /* Provide the MACH_TYPE value the vendor kernel requires */
include/configs/omap3_pandora.h +0 -1
@@ -37,7 +37,6 @@#define CONFIG_SYS_NS16550_REG_SIZE (-4)#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3/* commands to include */
include/configs/origen.h +0 -1
@@ -30,7 +30,6 @@#define CONFIG_MACH_TYPE MACH_TYPE_ORIGEN/* select serial console configuration */ -#define CONFIG_SERIAL2 /* Console configuration */ #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
include/configs/peach-pi.h +0 -1
@@ -24,7 +24,6 @@#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800)/* select serial console configuration */ -#define CONFIG_SERIAL3 /* use SERIAL 3 */ #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"/* Display */
include/configs/peach-pit.h +0 -1
@@ -24,7 +24,6 @@#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800)/* select serial console configuration */ -#define CONFIG_SERIAL3 /* use SERIAL 3 */ #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"/* DRAM Memory Banks */
include/configs/pengwyn.h +0 -1
@@ -10,7 +10,6 @@#ifndef __CONFIG_PENGWYN_H#define __CONFIG_PENGWYN_H -#define CONFIG_SERIAL1 #include <configs/ti_am335x_common.h>
include/configs/pepper.h +0 -1
@@ -70,7 +70,6 @@ "fi;" \/* Serial console configuration */ -#define CONFIG_SERIAL1 1#define CONFIG_SYS_NS16550_COM1 0x44e09000/* Ethernet support */
include/configs/s5p_goni.h +0 -1
@@ -39,7 +39,6 @@/* * select serial console configuration */ -#define CONFIG_SERIAL2 1/* use SERIAL2 */ /* MMC */ #define SDHCI_MAX_HOSTS 4
include/configs/s5pc210_universal.h +0 -1
@@ -24,7 +24,6 @@#define SDRAM_BANK_SIZE (256 << 20)/* 256 MB */ /* select serial console configuration */ -#define CONFIG_SERIAL2 /* Console configuration */
include/configs/siemens-am33x-common.h +0 -1
@@ -83,7 +83,6 @@#define CONFIG_SYS_NS16550_COM1 0x44e09000#define CONFIG_SYS_NS16550_COM4 0x481a6000 -#define CONFIG_SERIAL1 1/* I2C Configuration */ #define CONFIG_I2C
include/configs/smdk5420.h +0 -1
@@ -25,7 +25,6 @@#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800)/* select serial console configuration */ -#define CONFIG_SERIAL3 /* use SERIAL 3 */ #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
include/configs/smdkc100.h +0 -1
@@ -44,7 +44,6 @@/* * select serial console configuration */ -#define CONFIG_SERIAL0 1/* use SERIAL 0 on SMDKC100 */ /* PWM */ #define CONFIG_PWM 1
include/configs/smdkv310.h +0 -1
@@ -28,7 +28,6 @@#define S5P_CHECK_LPA 0xABAD0000/* select serial console configuration */ -#define CONFIG_SERIAL1 1/* use SERIAL 1 */ #define EXYNOS4_DEFAULT_UART_OFFSET 0x010000/* allow to overwrite serial and ethaddr */
include/configs/tam3517-common.h +0 -1
@@ -53,7 +53,6 @@* select serial console configuration */ #define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1 -#define CONFIG_SERIAL1 /* UART1 */ /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE
include/configs/ti816x_evm.h +0 -3
@@ -52,9 +52,6 @@/* allow overwriting serial config and ethaddr */ #define CONFIG_ENV_OVERWRITE -#define CONFIG_SERIAL1 -#define CONFIG_SERIAL2 -#define CONFIG_SERIAL3 /* * GPMC NAND block. We support 1 device and the physical address to
include/configs/ti_omap3_common.h +0 -1
@@ -41,7 +41,6 @@#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1#define CONFIG_SYS_NS16550_COM2 OMAP34XX_UART2#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3#endif /* Physical Memory Map */
include/configs/trats.h +0 -1
@@ -33,7 +33,6 @@#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x4800000)/* select serial console configuration */ -#define CONFIG_SERIAL2 #define CONFIG_MACH_TYPE MACH_TYPE_TRATS
include/configs/trats2.h +0 -1
@@ -31,7 +31,6 @@#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000)/* select serial console configuration */ -#define CONFIG_SERIAL2 /* Console configuration */
include/configs/tricorder.h +0 -1
@@ -49,7 +49,6 @@/* select serial console configuration */ #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 -#define CONFIG_SERIAL3 3#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ 115200}
scripts/config_whitelist.txt +0 -4
@@ -1735,10 +1735,6 @@ CONFIG_SECURE_RUNTIME_RESV_SRAM_SZ CONFIG_SECURITY CONFIG_SEC_DEQ_TIMEOUT CONFIG_SEC_FW_SIZE -CONFIG_SERIAL0 -CONFIG_SERIAL1 -CONFIG_SERIAL2 -CONFIG_SERIAL3 CONFIG_SERIAL_BOOT CONFIG_SERIAL_FLASH CONFIG_SERIAL_HW_FLOW_CONTROL
Signature · 1 line
2.17.1
Quoted 6 lines · Adam Ford
After creating
CONS_INDEXand migrating a bunch of boards to it, there are a bunch of defined references toCONFIG_SERIALxwhich are not referenced in any C code or #ifdef, so they can now be removedSigned-off-by Adam Ford <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180817/b0f7ec80/attachment.sig>