diff --git a/arch/x86/generic_pc/Kconfig b/arch/x86/generic_pc/Kconfig index f7ec0d33eec..56de0fcbce6 100644 --- a/arch/x86/generic_pc/Kconfig +++ b/arch/x86/generic_pc/Kconfig @@ -50,28 +50,3 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC default 150000000 if BSP_ATOM_N28XX default 1193180 if BSP_PCMINUTEIA -menu "Serial Ports" - -config EXTRA_SERIAL_PORT - bool "Extra serial port" - default n - help - This option signifies the number of serial ports the target has. - -config SERIAL_INTERRUPT_LEVEL - bool "Serial interrupt level" - depends on IOAPIC && EXTRA_SERIAL_PORT - default y - help - Option signifies that the serial controller uses level interrupts - instead of edge - -config SERIAL_INTERRUPT_LOW - bool "Serial interrupt low" - depends on IOAPIC && EXTRA_SERIAL_PORT - default n - help - Option signifies that the serial controller uses low level interrupts - instead of high - -endmenu diff --git a/arch/x86/quark/Kconfig b/arch/x86/quark/Kconfig index 653faeec040..53b3937a2eb 100644 --- a/arch/x86/quark/Kconfig +++ b/arch/x86/quark/Kconfig @@ -69,28 +69,3 @@ config PHYS_LOAD_ADDR config SYS_CLOCK_HW_CYCLES_PER_SEC default 25000000 -menu "Serial Ports" - -config EXTRA_SERIAL_PORT - bool "Extra serial port" - default n - help - This option signifies the number of serial ports the target has. - -config SERIAL_INTERRUPT_LEVEL - bool "Serial interrupt level" - depends on IOAPIC && EXTRA_SERIAL_PORT - default y - help - Option signifies that the serial controller uses level interrupts - instead of edge - -config SERIAL_INTERRUPT_LOW - bool "Serial interrupt low" - depends on IOAPIC && EXTRA_SERIAL_PORT - default n - help - Option signifies that the serial controller uses low level interrupts - instead of high - -endmenu diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index b8c46effd06..58ded613c05 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -33,6 +33,34 @@ menu "Serial Drivers" +menu "Serial Port Options" +depends on X86_32 + +config EXTRA_SERIAL_PORT + bool "Extra serial port" + default n + depends on X86_32 + help + This option signifies the number of serial ports the target has. + +config SERIAL_INTERRUPT_LEVEL + bool "Serial interrupt level" + depends on IOAPIC && EXTRA_SERIAL_PORT + default y + help + Option signifies that the serial controller uses level interrupts + instead of edge + +config SERIAL_INTERRUPT_LOW + bool "Serial interrupt low" + depends on IOAPIC && EXTRA_SERIAL_PORT + default n + help + Option signifies that the serial controller uses low level interrupts + instead of high + +endmenu + config NS16550 bool "NS16550 serial driver" default n