2015-12-17 13:03:40 +08:00
|
|
|
# Kconfig - ATOM SoC configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-12-17 13:03:40 +08:00
|
|
|
#
|
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
if SOC_ATOM
|
2015-12-17 13:03:40 +08:00
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
config SOC
|
2018-05-26 03:19:21 +08:00
|
|
|
default "atom"
|
2015-12-17 13:03:40 +08:00
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 150000000 if LOAPIC_TIMER
|
|
|
|
default 25000000 if HPET_TIMER
|
|
|
|
|
2016-03-01 00:12:40 +08:00
|
|
|
config CLFLUSH_DETECT
|
|
|
|
def_bool y if CACHE_FLUSHING
|
|
|
|
|
2015-12-17 13:03:40 +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
|
|
|
|
|
2017-08-09 14:21:11 +08:00
|
|
|
if BT_UART
|
2015-12-17 13:03:40 +08:00
|
|
|
|
|
|
|
if UART_PIPE
|
|
|
|
|
|
|
|
config UART_PIPE_ON_DEV_NAME
|
|
|
|
default "UART_1"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2017-08-09 14:21:11 +08:00
|
|
|
config BT_MONITOR_ON_DEV_NAME
|
|
|
|
default "UART_1" if BT_DEBUG_MONITOR
|
2017-11-22 03:21:19 +08:00
|
|
|
endif
|
2016-04-20 22:54:07 +08:00
|
|
|
|
2015-12-17 13:03:40 +08:00
|
|
|
endif
|