2015-07-06 11:09:47 -04:00
|
|
|
# Kconfig - generic PC platform configuration options
|
2015-05-20 11:40:39 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
|
|
|
|
2015-12-17 08:54:35 -05:00
|
|
|
if SOC_IA32
|
2015-09-25 10:03:08 -04:00
|
|
|
|
2015-12-17 08:54:35 -05:00
|
|
|
config SOC
|
2015-07-16 15:47:25 -04:00
|
|
|
default ia32
|
2015-03-12 16:15:28 -06:00
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
2015-07-22 16:22:25 -04:00
|
|
|
default 150000000 if LOAPIC_TIMER
|
|
|
|
default 25000000 if HPET_TIMER
|
2015-09-25 10:03:08 -04:00
|
|
|
|
2016-02-29 11:12:40 -05:00
|
|
|
config CLFLUSH_DETECT
|
|
|
|
def_bool y if CACHE_FLUSHING
|
|
|
|
|
2015-12-01 08:42:19 -08:00
|
|
|
if UART_NS16550
|
|
|
|
|
|
|
|
config UART_NS16550_PCI
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_0
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
if UART_NS16550_PORT_0
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_0_OPTIONS
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # UART_NS16550_PORT_0
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_1
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
if UART_NS16550_PORT_1
|
|
|
|
|
|
|
|
config UART_NS16550_PORT_1_OPTIONS
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # UART_NS16550_PORT_1
|
|
|
|
|
|
|
|
endif # UART_NS16550
|
|
|
|
|
2015-09-25 10:03:08 -04:00
|
|
|
endif
|