mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-20 16:46:24 +00:00
This can help find unused symbols. Those end up without a type if 'default' is used instead of 'def_bool', which generates a warning. Search for "Kconfig.defconfig" in https://docs.zephyrproject.org/latest/application/kconfig-tips.html for a longer explanation. Keep the 'def_bool' for the following symbols, which seem to be deliberately defined only in Kconfig.defconfig files: - ALTERA_AVALON_I2C - ALTERA_AVALON_MSGDMA - ALTERA_AVALON_PIO - ALTERA_AVALON_QSPI - ALTERA_AVALON_SYSID - CLOCK_CONTROL_IMX_CCM - CPU_EM4_DMIPS - CPU_EM4_FPUDA - CPU_EM4_FPUS - FP_FPU_DA - I2C_GECKO Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
49 lines
707 B
Plaintext
49 lines
707 B
Plaintext
# Kconfig - generic PC platform configuration options
|
|
|
|
#
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_IA32
|
|
|
|
config SOC
|
|
default "ia32"
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
default 150000000 if LOAPIC_TIMER
|
|
default 25000000 if HPET_TIMER
|
|
|
|
config CLFLUSH_DETECT
|
|
default y if CACHE_FLUSHING
|
|
|
|
if UART_NS16550
|
|
|
|
config UART_NS16550_PCI
|
|
default n
|
|
|
|
config UART_NS16550_PORT_0
|
|
default y
|
|
|
|
if UART_NS16550_PORT_0
|
|
|
|
config UART_NS16550_PORT_0_OPTIONS
|
|
default 0
|
|
|
|
endif # UART_NS16550_PORT_0
|
|
|
|
config UART_NS16550_PORT_1
|
|
default y
|
|
|
|
if UART_NS16550_PORT_1
|
|
|
|
config UART_NS16550_PORT_1_OPTIONS
|
|
default 0
|
|
|
|
endif # UART_NS16550_PORT_1
|
|
|
|
endif # UART_NS16550
|
|
|
|
endif
|