2015-07-06 23:09:47 +08:00
|
|
|
# Kconfig - generic PC platform configuration options
|
2015-05-21 00:40:39 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
if SOC_IA32
|
2015-09-25 22:03:08 +08:00
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
config SOC
|
2015-07-17 03:47:25 +08:00
|
|
|
default ia32
|
2015-03-13 06:15:28 +08:00
|
|
|
|
|
|
|
config PHYS_LOAD_ADDR
|
|
|
|
default 0x00100000
|
|
|
|
|
2015-11-22 12:21:16 +08:00
|
|
|
config PHYS_RAM_ADDR
|
|
|
|
default 0x00400000
|
|
|
|
|
2015-10-15 03:46:41 +08:00
|
|
|
config RAM_SIZE
|
|
|
|
default 128 if XIP
|
2017-04-06 21:01:06 +08:00
|
|
|
default 256
|
2015-10-15 03:46:41 +08:00
|
|
|
|
|
|
|
config ROM_SIZE
|
2017-06-20 03:58:36 +08:00
|
|
|
default 3072 if XIP
|
2015-10-15 03:46:41 +08:00
|
|
|
|
2015-03-13 06:15:28 +08:00
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
2015-07-23 04:22:25 +08:00
|
|
|
default 150000000 if LOAPIC_TIMER
|
|
|
|
default 25000000 if HPET_TIMER
|
2015-09-25 22:03:08 +08:00
|
|
|
|
2016-03-01 00:12:40 +08:00
|
|
|
config CLFLUSH_DETECT
|
|
|
|
def_bool y if CACHE_FLUSHING
|
|
|
|
|
2015-12-02 00: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_NAME
|
|
|
|
default "UART_0"
|
|
|
|
config UART_NS16550_PORT_0_IRQ_PRI
|
|
|
|
default 3
|
|
|
|
config UART_NS16550_PORT_0_BAUD_RATE
|
|
|
|
default 115200
|
|
|
|
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_NAME
|
|
|
|
default "UART_1"
|
|
|
|
config UART_NS16550_PORT_1_IRQ_PRI
|
|
|
|
default 3
|
|
|
|
config UART_NS16550_PORT_1_BAUD_RATE
|
|
|
|
default 115200
|
|
|
|
config UART_NS16550_PORT_1_OPTIONS
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # UART_NS16550_PORT_1
|
|
|
|
|
|
|
|
endif # UART_NS16550
|
|
|
|
|
2015-12-02 00:42:20 +08:00
|
|
|
if BLUETOOTH_UART
|
|
|
|
|
|
|
|
config BLUETOOTH_UART_ON_DEV_NAME
|
|
|
|
default "UART_1"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2015-12-02 00:42:20 +08:00
|
|
|
if UART_PIPE
|
|
|
|
|
|
|
|
config UART_PIPE_ON_DEV_NAME
|
|
|
|
default "UART_1"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-04-20 22:54:07 +08:00
|
|
|
config BLUETOOTH_MONITOR_ON_DEV_NAME
|
|
|
|
default "UART_1" if BLUETOOTH_DEBUG_MONITOR
|
|
|
|
|
2015-09-25 22:03:08 +08:00
|
|
|
endif
|