kconfig: move serial port options to drivers/
We had those options defined per BSP. Moving them to a more generic place makes more sense. In this case they are moved under serial drivers. Change-Id: I8faf31321fc433eaa168bf36f2b590a6b8402f9e Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fc43a2bb57
commit
e943f69950
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue