diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-10-12 00:17:59 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2016-10-15 00:27:33 +0200 |
commit | 2c8f3bd91b54e85b4d2e24894ee8bbbfb9ad8a31 (patch) | |
tree | d929dc4f6ae35369a076b5bdb20428ee90ee2cb8 /src/console | |
parent | 4247426be6657235e9f44409fc65e6e94ad8a6e2 (diff) |
[WIP] console/Kconfig: Calculate COM port base addresses only on x86
On other architectures, the serial ports aren't mapped at 0x3f8.
WIP: I'm not sure how exactly the dependency should be encoded in
Kconfig.
Change-Id: Ia1de545325a53607f62d08e76b2f61b25edbe6ef
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/16982
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig index 8f74613847..278d193779 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -57,6 +57,7 @@ config UART_FOR_CONSOLE # FIXME: Early programming in romstage is incorrect as we should # program different LDN to actually change the physical port. +if ARCH_X86 config TTYS0_BASE hex depends on DRIVERS_UART @@ -75,6 +76,7 @@ comment "Serial port base address = 0x3e8" depends on UART_FOR_CONSOLE = 2 comment "Serial port base address = 0x2e8" depends on UART_FOR_CONSOLE = 3 +endif # ARCH_X86 choice prompt "Baud rate" |