]> git.dujemihanovic.xyz Git - u-boot.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)
commit18416ba1198afaae10b91552e8b0024cb84de2fa
tree2465b6b1f1ce7200a785d7c55421ddc8db165f35
parentb7c1e67a70b13fb8dbcb3b00532c2d2236afff49
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