
This series adds a few more features to the debug UART, making it possible to use it even when the board needs to perform additional init for the UART to work. The debug UART is anabled on link.
Some minor PCI tidy-ups are also included.
Link currently does not boot due to lack of early malloc() memory. For now just increase the size.
Simon Glass (10): x86: chromebook_link: Expand early malloc() memory malloc_simple: Add debug() information dm: pci: Tidy up auto-config error handling dm: pci: Correct a few debug() statements dm: pci: Adjust pci_find_and_bind_driver() to return -EPERM debug_uart: Adjust the declaration of debug_uart_init() debug_uart: Support board-specific UART initialisation debug_uart: Add an option to announce the debug UART x86: Init the debug UART if enabled x86: chromebook_link: Enable the debug UART
arch/x86/cpu/ivybridge/cpu.c | 7 ++++++ arch/x86/cpu/start.S | 3 +++ common/malloc_simple.c | 4 ++++ configs/chromebook_link_defconfig | 11 ++++++--- drivers/pci/pci-uclass.c | 50 ++++++++++++++++++++++++++------------- drivers/serial/Kconfig | 21 ++++++++++++++++ drivers/serial/ns16550.c | 2 +- drivers/serial/serial_efi.c | 2 +- drivers/serial/serial_s5p.c | 2 +- include/debug_uart.h | 30 +++++++++++++++++++++-- lib/efi/efi_stub.c | 2 +- 11 files changed, 108 insertions(+), 26 deletions(-)