summaryrefslogtreecommitdiff
path: root/include/configs/slimbootloader.h
diff options
context:
space:
mode:
authorPark, Aiden <aiden.park@intel.com>2019-12-18 08:56:23 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-02-03 20:19:26 +0300
commit18416ba1198afaae10b91552e8b0024cb84de2fa (patch)
tree2465b6b1f1ce7200a785d7c55421ddc8db165f35 /include/configs/slimbootloader.h
parentb7c1e67a70b13fb8dbcb3b00532c2d2236afff49 (diff)
downloadu-boot-18416ba1198afaae10b91552e8b0024cb84de2fa.tar.xz
x86: serial: Use NS16550_DYNAMIC in Slim Bootloader
Slim Bootloader provides serial port info in its HOB to support both IO or MMIO serial ports, but it's controlled by SYS_NS16550_MEM32 or SYS_NS16550_PORT_MAPPED in U-Boot. To support both serial port configurations dynamically at runtime, Slim Bootloader serial driver leverages NS16550_DYNAMIC. Signed-off-by: Aiden Park <aiden.park@intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: remove the obsolete comments for data->type] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/slimbootloader.h')
-rw-r--r--include/configs/slimbootloader.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/configs/slimbootloader.h b/include/configs/slimbootloader.h
index e0011ed446..b8169072cc 100644
--- a/include/configs/slimbootloader.h
+++ b/include/configs/slimbootloader.h
@@ -8,19 +8,6 @@
#include <configs/x86-common.h>
-/*
- * By default, CONFIG_SYS_NS16550_PORT_MAPPED is enabled for port io serial.
- * To use mmio base serial, enable CONFIG_SYS_NS16550_MEM32 and disable
- * CONFIG_SYS_NS16550_PORT_MAPPED until ns16550 driver supports serial port
- * configuration in run-time.
- *
- * #define CONFIG_SYS_NS16550_MEM32
- * #undef CONFIG_SYS_NS16550_PORT_MAPPED
- */
-#ifdef CONFIG_SYS_NS16550_MEM32
-#undef CONFIG_SYS_NS16550_PORT_MAPPED
-#endif
-
#define CONFIG_STD_DEVICES_SETTINGS \
"stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial\0" \