57 lines
803 B
Plaintext
57 lines
803 B
Plaintext
# Apollo Lake SoC configuration options
|
|
|
|
# Copyright (c) 2018-2019 Intel Corporation
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_APOLLO_LAKE
|
|
|
|
config SOC
|
|
default "apollo_lake"
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
default 19200000
|
|
|
|
config HPET_TIMER
|
|
default y
|
|
|
|
config APIC_TIMER
|
|
default y if !HPET_TIMER
|
|
|
|
config PCIE_MMIO_CFG
|
|
default y
|
|
|
|
if APIC_TIMER
|
|
|
|
config APIC_TIMER_IRQ
|
|
default 24
|
|
|
|
config APIC_TIMER_TSC
|
|
default y
|
|
|
|
if APIC_TIMER_TSC
|
|
|
|
config APIC_TIMER_TSC_M
|
|
default 3
|
|
|
|
config APIC_TIMER_TSC_N
|
|
default 249
|
|
|
|
endif # APIC_TIMER_TSC
|
|
|
|
endif # APIC_TIMER
|
|
|
|
config X86_DYNAMIC_IRQ_STUBS
|
|
default 16
|
|
depends on DYNAMIC_INTERRUPTS
|
|
|
|
config I2C_DW
|
|
default y
|
|
depends on I2C
|
|
|
|
config GPIO_INTEL_APL
|
|
default y
|
|
depends on GPIO
|
|
|
|
endif # SOC_APOLLO_LAKE
|