diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/Config.in | 7 | ||||
-rw-r--r-- | payloads/libpayload/drivers/Makefile.inc | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/payloads/libpayload/Config.in b/payloads/libpayload/Config.in index a14291d50d..0a6fbe8ea3 100644 --- a/payloads/libpayload/Config.in +++ b/payloads/libpayload/Config.in @@ -168,9 +168,14 @@ config SERIAL_CONSOLE bool "See output on the serial port console" default y +config X86_SERIAL_CONSOLE + bool + depends on ARCH_X86 && SERIAL_CONSOLE + default y + config SERIAL_IOBASE hex "I/O base for the serial port (default 0x3f8)" - depends on SERIAL_CONSOLE + depends on X86_SERIAL_CONSOLE default 0x3f8 config SERIAL_SET_SPEED diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc index e3bb995324..60e0fab369 100644 --- a/payloads/libpayload/drivers/Makefile.inc +++ b/payloads/libpayload/drivers/Makefile.inc @@ -33,7 +33,7 @@ libc-$(CONFIG_PCI) += pci.c libc-$(CONFIG_SPEAKER) += speaker.c -libc-$(CONFIG_SERIAL_CONSOLE) += serial.c +libc-$(CONFIG_X86_SERIAL_CONSOLE) += serial.c libc-$(CONFIG_PC_KEYBOARD) += keyboard.c |