x86: slimbootloader: Add serial driver
authorPark, Aiden <aiden.park@intel.com>
Sat, 3 Aug 2019 08:30:44 +0000 (08:30 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 9 Aug 2019 14:24:02 +0000 (22:24 +0800)
commit2869c3b3de390ed7dba3d854160d9b19dd4660a3
tree79dea8df9694f23b54c4069be43692a745e53989
parent1fb17ea548b0f6902e1a45accb0c5d55415938ae
x86: slimbootloader: Add serial driver

Slim Bootloader provides serial port info thru its HOB list pointer.
All these HOBs are eligible for Slim Bootloader based board only.
- Get serial port information from the serial port info HOB
- Leverage ns16550 driver with slimbootloader specific platform data

Signed-off-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/slimbootloader/Makefile
arch/x86/cpu/slimbootloader/serial.c [new file with mode: 0644]
arch/x86/include/asm/arch-slimbootloader/slimbootloader.h