]> git.baikalelectronics.ru Git - uboot.git/commit
x86: serial: Use NS16550_DYNAMIC in Slim Bootloader
authorPark, Aiden <aiden.park@intel.com>
Wed, 18 Dec 2019 05:56:23 +0000 (05:56 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 3 Feb 2020 17:19:26 +0000 (01:19 +0800)
commit8b34d8eb7a97774235b86406ef780f1f98d83599
tree2465b6b1f1ce7200a785d7c55421ddc8db165f35
parentaf61fa29b20ddad16b6c722a3bd8e5bb8b50bba2
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>
arch/x86/cpu/slimbootloader/serial.c
include/configs/slimbootloader.h