[PATCH 4/5] board: sl28: enable DM_SERIAL

Michael Walle michael at walle.cc
Fri Mar 26 19:40:58 CET 2021


With all preparations in place, switch over to DM_SERIAL.

Signed-off-by: Michael Walle <michael at walle.cc>
---
 arch/arm/Kconfig               | 1 +
 include/configs/kontron_sl28.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d72c2520d1..2ee4f10e39 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1635,6 +1635,7 @@ config TARGET_SL28
 	select DM_RNG
 	select DM_RTC
 	select DM_SCSI
+	select DM_SERIAL
 	select DM_SPI
 	select DM_USB
 	select SPL_DM if SPL
diff --git a/include/configs/kontron_sl28.h b/include/configs/kontron_sl28.h
index 5d818a708d..5f11205802 100644
--- a/include/configs/kontron_sl28.h
+++ b/include/configs/kontron_sl28.h
@@ -49,8 +49,6 @@
 #define CONFIG_MALLOC_F_ADDR		CONFIG_SYS_FSL_OCRAM_BASE
 
 /* serial port */
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE 1
 #define CONFIG_SYS_NS16550_CLK          (get_bus_freq(0) / 2)
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
 
-- 
2.20.1



More information about the U-Boot mailing list