]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: sl28: enable DM_SERIAL
authorMichael Walle <michael@walle.cc>
Fri, 26 Mar 2021 18:40:58 +0000 (19:40 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:22 +0000 (14:22 +0530)
With all preparations in place, switch over to DM_SERIAL.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/Kconfig
include/configs/kontron_sl28.h

index fa98c1a6d11f5d1f279399067a898a8a529b1f7a..b39b043efe3c1344697528354607728b4879733e 100644 (file)
@@ -1616,6 +1616,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
index 5d818a708d069c75b38bdb7aacb5b85626c777c4..5f11205802ee6394b93d1a9dbd3a0254fc08a5bd 100644 (file)
@@ -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 }