[PATCH 2/5] Convert CONFIG_BAUDRATE to Kconfig

Tom Rini trini at konsulko.com
Mon Sep 13 23:24:52 CEST 2021


This converts the following to Kconfig:
   CONFIG_BAUDRATE

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/cgtqmx8.h   | 3 ---
 include/configs/synquacer.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/include/configs/cgtqmx8.h b/include/configs/cgtqmx8.h
index 304c876e8b9b..4012814988d0 100644
--- a/include/configs/cgtqmx8.h
+++ b/include/configs/cgtqmx8.h
@@ -159,9 +159,6 @@
 #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 */
 
diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h
index 225d017d17da..04db908795c1 100644
--- a/include/configs/synquacer.h
+++ b/include/configs/synquacer.h
@@ -49,7 +49,6 @@
 #define CONFIG_SYS_MEMTEST_START	(CONFIG_SYS_SDRAM_BASE + (512 * 1024))
 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_SDRAM_BASE + PHYS_SDRAM_SIZE)
 
-#define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_BAUDRATE_TABLE	{115200, 19200, 38400, 57600, 9600 }
 
 #define CONFIG_SYS_CBSIZE		1024
-- 
2.17.1



More information about the U-Boot mailing list