]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_BAUDRATE to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:10 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:05 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_BAUDRATE

Signed-off-by: Tom Rini <trini@konsulko.com>
27 files changed:
README
include/configs/apalis-imx8.h
include/configs/bcm_northstar2.h
include/configs/bcmstb.h
include/configs/colibri-imx8x.h
include/configs/controlcenterdc.h
include/configs/dh_imx6.h
include/configs/display5.h
include/configs/grpeach.h
include/configs/imx8mq_evk.h
include/configs/imx8qm_mek.h
include/configs/imx8qm_rom7720.h
include/configs/imx8qxp_mek.h
include/configs/ls1021atsn.h
include/configs/ls1028a_common.h
include/configs/ls1088a_common.h
include/configs/lx2160a_common.h
include/configs/mx53ppd.h
include/configs/mx6memcal.h
include/configs/mx7ulp_evk.h
include/configs/owl-common.h
include/configs/pdu001.h
include/configs/pico-imx8mq.h
include/configs/presidio_asic.h
include/configs/rk3128_common.h
include/configs/rk3368_common.h
include/configs/wb50n.h

diff --git a/README b/README
index 4367ac3798cedf9c3a898f16d7edbe41fc5a40bb..a5aee86211c2c813d17d3f4bf6aba9707236c054 100644 (file)
--- a/README
+++ b/README
@@ -670,11 +670,6 @@ The following options need to be configured:
                Define this variable to enable hw flow control in serial driver.
                Current user of this option is drivers/serial/nsl16550.c driver
 
-- Console Baudrate:
-               CONFIG_BAUDRATE - in bps
-               Select one of the baudrates listed in
-               CONFIG_SYS_BAUDRATE_TABLE, see below.
-
 - Autoboot Command:
                CONFIG_BOOTCOMMAND
                Only needed when CONFIG_BOOTDELAY is enabled;
index 08d34db1061ec8c1b82e8668c67a566dad6829d2..6dad8216e969e62424572b309721843295bd4d42 100644 (file)
 #define PHYS_SDRAM_1_SIZE              SZ_2G           /* 2 GB */
 #define PHYS_SDRAM_2_SIZE              SZ_2G           /* 2 GB */
 
-/* Serial */
-#define CONFIG_BAUDRATE                        115200
-
 /* Monitor Command Prompt */
 #define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              SZ_2K
index 45dc7b29c9e427416027128314154655c20a082c..fbfab288b372942a556181f6001612e637df2d35 100644 (file)
@@ -31,7 +31,6 @@
 #define CONFIG_SYS_NS16550_COM2                        0x66110000
 #define CONFIG_SYS_NS16550_COM3                        0x66120000
 #define CONFIG_SYS_NS16550_COM4                        0x66130000
-#define CONFIG_BAUDRATE                                115200
 
 /* console configuration */
 #define CONFIG_SYS_CBSIZE                      SZ_1K
index 24569f7d94a857e739057083df5dff2e3855634e..01cfed0b869d68e372121e96dad4338c5c459ca9 100644 (file)
@@ -115,7 +115,6 @@ extern phys_addr_t prior_stage_fdt_address;
 /*
  * Serial console configuration.
  */
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      {4800, 9600, 19200, 38400, 57600, \
                                         115200}
 
index 7d007071e5f0850f4b0bc79f64f4dc1f721c4b85..8d7222902cd33083639daebaba468decca3653be 100644 (file)
 #define PHYS_SDRAM_1_SIZE              SZ_2G           /* 2 GB */
 #define PHYS_SDRAM_2_SIZE              0x00000000      /* 0 GB */
 
-/* Serial */
-#define CONFIG_BAUDRATE                        115200
-
 /* Monitor Command Prompt */
 #define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              SZ_2K
index 00e5c8f7943ea524d7afae179d28f3052b2b78df..0c36ea66105715717bfeec93a739f662d87f733c 100644 (file)
  */
 #define CONFIG_ENV_OVERWRITE
 
-#define CONFIG_BAUDRATE 115200
-
 #define CONFIG_HOSTNAME                "ccdc"
 #define CONFIG_ROOTPATH                "/opt/nfsroot"
 #define CONFIG_BOOTFILE                "ccdc.img"
index 5bfdf4044beeee9d517c4886c0db08ed08e10966..0b6617fa82e9e7c1b48a888f3c8dc2f956cf89ad 100644 (file)
@@ -62,7 +62,6 @@
 /* UART */
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE           UART1_BASE
-#define CONFIG_BAUDRATE                        115200
 
 /* USB Configs */
 #ifdef CONFIG_CMD_USB
index 3348ecc7c7ba4322adf9b00abffcc681fc0bd0f3..94baa6561022a864d04ca806903ba87e5d6abb7e 100644 (file)
@@ -66,7 +66,6 @@
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
-#define CONFIG_BAUDRATE                        115200
 
 #ifndef CONFIG_BOOTCOMMAND
 #define CONFIG_BOOTCOMMAND "if run check_em_pad; then " \
index 001e9d385ba1cd7a9d39b5eec9b3c59d79f47c94..bde168d4750547e588614c4d85ac31a72966e98e 100644 (file)
@@ -11,9 +11,6 @@
 /* Board Clock , P1 clock frequency (XTAL=13.33MHz) */
 #define CONFIG_SYS_CLK_FREQ    66666666
 
-/* Serial Console */
-#define CONFIG_BAUDRATE                115200
-
 /* Miscellaneous */
 #define CONFIG_SYS_PBSIZE      256
 #define CONFIG_CMDLINE_TAG
index f71efd45abdb891f6bf6b4306952530eab8612fd..33a3014095202de18514a1f29ad5116e8986569e 100644 (file)
 #define PHYS_SDRAM                      0x40000000
 #define PHYS_SDRAM_SIZE                        0xC0000000 /* 3GB DDR */
 
-#define CONFIG_BAUDRATE                        115200
-
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
 
index 8324767eb557dafc19f92f8c803d9e982171ff83..fd68c4f052e7fb8990a21200ffc90f9077fa8fac 100644 (file)
 #define PHYS_SDRAM_1_SIZE              0x80000000      /* 2 GB */
 #define PHYS_SDRAM_2_SIZE              0x100000000     /* 4 GB */
 
-/* Serial */
-#define CONFIG_BAUDRATE                        115200
-
 /* Generic Timer Definitions */
 #define COUNTER_FREQUENCY              8000000 /* 8MHz */
 
index 89d7adabea84d758f53f6b3b09842dced8af64c7..9808e72474f0a286d22d1505712a36d0f6e636be 100644 (file)
 /* LPDDR4 board total DDR is 6GB, DDR4 board total DDR is 4 GB */
 #define PHYS_SDRAM_2_SIZE              0x80000000      /* 2 GB */
 
-/* Serial */
-#define CONFIG_BAUDRATE                        115200
-
 /* Generic Timer Definitions */
 #define COUNTER_FREQUENCY              8000000 /* 8MHz */
 
index a58f68c17e6cbc6be4c4ffdb97cff523100f6a04..b442b48becf5cac8ce477655e3fefb900ecd8abf 100644 (file)
 /* LPDDR4 board total DDR is 3GB */
 #define PHYS_SDRAM_2_SIZE              0x40000000      /* 1 GB */
 
-/* Serial */
-#define CONFIG_BAUDRATE                        115200
-
 /* Generic Timer Definitions */
 #define COUNTER_FREQUENCY              8000000 /* 8MHz */
 
index 46c60aaf5cbc3e8bb38307787ae80605b7c359f0..ec2ed7c609695dfda025b1fdd9bef6cc5dde46d6 100644 (file)
 #endif
 #define CONFIG_SYS_NS16550_CLK         get_serial_clock()
 
-#define CONFIG_BAUDRATE                        115200
-
 /* I2C */
 #ifndef CONFIG_DM_I2C
 #define CONFIG_SYS_I2C
index f9040e661d018e7723fd85cec3a75decafe000b9..44f2dc8f9b415fc976e8eae61ac629ce61e2318d 100644 (file)
@@ -48,7 +48,6 @@
 #define CONFIG_SYS_NS16550_REG_SIZE     1
 #define CONFIG_SYS_NS16550_CLK          (get_bus_freq(0) / 2)
 
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
 
 /* Miscellaneous configurable options */
index 596f14bf3e9e771cd2715522385b51d282ba0666..3ea16752de09fc7119887242227b6fa853ee0dfe 100644 (file)
@@ -64,7 +64,6 @@
 #define CONFIG_SYS_NS16550_REG_SIZE     1
 #define CONFIG_SYS_NS16550_CLK          (get_bus_freq(0) / 2)
 
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
 
 #if !defined(SPL_NO_IFC) || defined(CONFIG_TARGET_LS1088AQDS)
index 5ab924457efb75aa6653b02cf2ffb80ba67760cc..a8636d398eebc3ada0a3945e32ff8e9fd22d2119 100644 (file)
@@ -78,7 +78,6 @@
                                        (void *)CONFIG_SYS_SERIAL1, \
                                        (void *)CONFIG_SYS_SERIAL2, \
                                        (void *)CONFIG_SYS_SERIAL3 }
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
 
 /* MC firmware */
index bb6d82d32749548aefd3ecc7dfc73f1a3363a488..2ee66612c21b1e2ef72d969e69192f1411895de0 100644 (file)
@@ -33,7 +33,6 @@
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
-#define CONFIG_BAUDRATE                        115200
 
 /* Command definition */
 
index b774b167f648da7d78835ba62deb4a93e95dde3c..0a28d61703a24d4e84ec9931a2f4ac00145d377f 100644 (file)
@@ -27,7 +27,6 @@
 #else
 #error please define serial console (CONFIG_SERIAL_CONSOLE_UARTx)
 #endif
-#define CONFIG_BAUDRATE                        115200
 
 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + 16)
 
index 942b7dd41483dd78c028264ddd88ecc8a410ea1e..5e05b8c1669322737993ec52a90dea7faa584581 100644 (file)
@@ -39,7 +39,6 @@
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
-#define CONFIG_BAUDRATE                        115200
 
 #define CONFIG_SYS_CACHELINE_SIZE      64
 
index f77a5fa4c114e7466dad358ef8d175c274af74ac..98b5a96cf61cd551b204d16e8cc49576b0db5adf 100644 (file)
@@ -29,9 +29,6 @@
  */
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_TEXT_BASE + 0x7ff00)
 
-/* UART Definitions */
-#define CONFIG_BAUDRATE                        115200
-
 /* Console configuration */
 #define CONFIG_SYS_CBSIZE              1024    /* Console buffer size */
 #define CONFIG_SYS_MAXARGS             64
index d524f3cbcf01e7c1e787b0d1e31e79966fcc6c90..e4b14c5ecd6bfe7aa42f89d0257ae5c59e6f44b7 100644 (file)
@@ -73,6 +73,5 @@
 #define CONFIG_SYS_NS16550_COM4        UART3_BASE
 #define CONFIG_SYS_NS16550_COM5        UART4_BASE
 #define CONFIG_SYS_NS16550_COM6        UART5_BASE
-#define CONFIG_BAUDRATE                115200
 
 #endif /* ! __CONFIG_PDU001_H */
index 2ae13b30ee53cdb800ba4653151f7e37b8f08f7c..7b7d633f2828f868755d13daeae747e345bcdf88 100644 (file)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
                                        (PHYS_SDRAM_SIZE >> 1))
 
-#define CONFIG_BAUDRATE                        115200
-
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
 
index 51177f44feedd0e7de5d3e8061531518900a3827..34235b5a00c1bf662b456377829b2838ca60b4c9 100644 (file)
@@ -41,7 +41,6 @@
 #define CORTINA_SERIAL_PORTS           {(void *)CONFIG_SYS_SERIAL0, \
                                         (void *)CONFIG_SYS_SERIAL1}
 
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_SERIAL0             PER_UART0_CFG
 #define CONFIG_SYS_SERIAL1             PER_UART1_CFG
 
index d0c9e5c809df473193afd1aed225d0e68f44123e..8f1d508b8ce2b38f90bb8d60dcc300e15a94326d 100644 (file)
@@ -9,7 +9,6 @@
 #include "rockchip-common.h"
 
 #define CONFIG_SYS_MAXARGS             16
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
index e57d0efa7f92d6164816f6100baa384a14993742..f178a06945dbb732e130455b3c79e164d3270065 100644 (file)
@@ -15,7 +15,6 @@
 
 #define CONFIG_SYS_SDRAM_BASE          0
 #define SDRAM_MAX_SIZE                 0xff000000
-#define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
index c2112763a2bbb1301473f8dbedc46242137d2815..a210449dae4972f09e5248741f21e0b29eff5263 100644 (file)
@@ -72,8 +72,6 @@
 #define CONFIG_BOOTARGS \
     "rw rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs"
 
-#define CONFIG_BAUDRATE             115200
-
 #define CONFIG_SYS_CBSIZE           1024
 #define CONFIG_SYS_MAXARGS          16
 #define CONFIG_SYS_PBSIZE \