diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-04-19 17:12:42 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-06-14 09:59:25 +0000 |
commit | 07baa7a7f06369d9dc795c5a9b34314e88d14dd8 (patch) | |
tree | 7e226de800d75fc2fbe32af3144720c743b0e5f8 /src/soc/intel/broadwell/Kconfig | |
parent | e42ce6bb499031cbe4cdbad19314d2c9971b2186 (diff) |
soc/intel/broadwell: Re-do SerialIO UART console support
Use the same code from Lynx Point on Broadwell, and adjust as needed.
Also add a config file to ensure the code gets build-tested.
Tested on out-of-tree Compal LA-A992P (Haswell ULT), UART 0 works.
Change-Id: I527024098738700d5fbaf3e27cf4db331a0322bd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37553
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/broadwell/Kconfig')
-rw-r--r-- | src/soc/intel/broadwell/Kconfig | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/src/soc/intel/broadwell/Kconfig b/src/soc/intel/broadwell/Kconfig index 5cdfb5488f..c77109d552 100644 --- a/src/soc/intel/broadwell/Kconfig +++ b/src/soc/intel/broadwell/Kconfig @@ -153,20 +153,16 @@ config RO_REGION_ONLY endif # HAVE_MRC -config INTEL_PCH_UART_CONSOLE - bool "Use Serial IO UART for console" +config SERIALIO_UART_CONSOLE + bool default n - select DRIVERS_UART_8250MEM - -config INTEL_PCH_UART_CONSOLE_NUMBER - hex "Serial IO UART number to use for console" - default 0x0 - depends on INTEL_PCH_UART_CONSOLE + select DRIVERS_UART_8250MEM_32 + help + Selected by mainboards where SerialIO UARTs can be used to retrieve + coreboot logs. Boards also need to set UART_FOR_CONSOLE accordingly. -config TTYS0_BASE - hex - default 0xd6000000 - depends on INTEL_PCH_UART_CONSOLE +config CONSOLE_UART_BASE_ADDRESS + default 0xd6000000 if SERIALIO_UART_CONSOLE config EHCI_BAR hex |