From: Tom Rini Date: Mon, 13 Sep 2021 21:24:51 +0000 (-0400) Subject: kgdb: Remove unused serial related options X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=cc1386b0d3ded14249a42ea226ccc5c15c4b3ff3;p=u-boot.git kgdb: Remove unused serial related options We have a few CONFIG options for KGDB that are not referenced, remove them. Signed-off-by: Tom Rini --- diff --git a/README b/README index 28eb920359..9a81de300b 100644 --- a/README +++ b/README @@ -647,11 +647,6 @@ The following options need to be configured: time on others. This setting #define's the initial value of the "loads_echo" environment variable. -- Kgdb Serial Baudrate: (if CONFIG_CMD_KGDB is defined) - CONFIG_KGDB_BAUDRATE - Select one of the baudrates listed in - CONFIG_SYS_BAUDRATE_TABLE, see below. - - Removal of commands If no commands are needed to boot, you can disable CONFIG_CMDLINE to remove them. In this case, the command line diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index 26c6180d3a..72119a1cf0 100644 --- a/include/configs/MPC837XERDB.h +++ b/include/configs/MPC837XERDB.h @@ -321,10 +321,6 @@ #define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h index fc9d94984e..fe156e7815 100644 --- a/include/configs/MPC8540ADS.h +++ b/include/configs/MPC8540ADS.h @@ -288,10 +288,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index f7d05ffa89..5c54bad496 100644 --- a/include/configs/MPC8548CDS.h +++ b/include/configs/MPC8548CDS.h @@ -415,10 +415,6 @@ extern unsigned long get_clock_freq(void); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h index e1e0717991..3a9ea03292 100644 --- a/include/configs/MPC8560ADS.h +++ b/include/configs/MPC8560ADS.h @@ -278,10 +278,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 02b0b71ada..922f0661ab 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -619,10 +619,6 @@ extern unsigned long get_sdram_size(void); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 6da44e7ab8..1e75066eb1 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -466,10 +466,6 @@ unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h index 3ae8a14c94..e4629946dd 100644 --- a/include/configs/T102xRDB.h +++ b/include/configs/T102xRDB.h @@ -584,10 +584,6 @@ unsigned long get_board_sys_clk(void); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index 910baef00c..7c48c3af71 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -592,10 +592,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Dynamic MTD Partition support with mtdparts */ diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 315d1f7b01..57640acfc9 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -585,11 +585,6 @@ unsigned long get_board_sys_clk(void); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index 6824be9e75..6f27386d2b 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -540,11 +540,6 @@ unsigned long get_board_sys_clk(void); #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 54db021ec9..b7cbf87d30 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -214,10 +214,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 01f4dba9e9..79fca968dc 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -466,10 +466,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory map for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 49dbbf07f8..5833611056 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -597,10 +597,6 @@ #define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux*/ #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ -#endif - /* * Environment Configuration */ diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h index 52d77e06ac..7a78f98eb1 100644 --- a/include/configs/pxa-common.h +++ b/include/configs/pxa-common.h @@ -8,13 +8,6 @@ #ifndef __CONFIG_PXA_COMMON_H__ #define __CONFIG_PXA_COMMON_H__ -/* - * KGDB - */ -#ifdef CONFIG_CMD_KGDB -#define CONFIG_KGDB_BAUDRATE 230400 -#endif - /* * OHCI USB */ diff --git a/include/configs/socrates.h b/include/configs/socrates.h index 4fd119ce85..454dbd30b6 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -203,10 +203,6 @@ */ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */ -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port*/ -#endif - #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 4b39faabab..486b5ca776 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -44,10 +44,6 @@ "ext2load scsi 0:3 01000000 /boot/vmlinuz; zboot 01000000" #endif -#if defined(CONFIG_CMD_KGDB) -#define CONFIG_KGDB_BAUDRATE 115200 -#endif - /* * Miscellaneous configurable options */