2018-11-16 12:10:55 +08:00
|
|
|
# Copyright (c) 2014 Wind River Systems, Inc.
|
|
|
|
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_ARC_IOT
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
default "snps_arc_iot"
|
|
|
|
|
|
|
|
config CPU_EM4_FPUS
|
2019-10-25 11:00:41 +08:00
|
|
|
default y
|
2018-11-16 12:10:55 +08:00
|
|
|
|
|
|
|
config NUM_IRQ_PRIO_LEVELS
|
|
|
|
# This processor supports 4 priority levels:
|
|
|
|
# 0 for Fast Interrupts (FIRQs) and 1-3 for Regular Interrupts (IRQs).
|
|
|
|
default 4
|
|
|
|
|
2019-04-16 15:35:24 +08:00
|
|
|
config ARC_MPU_VER
|
|
|
|
default 2
|
|
|
|
|
2018-11-16 12:10:55 +08:00
|
|
|
config NUM_IRQS
|
|
|
|
# must be > the highest interrupt number used
|
|
|
|
default 95
|
|
|
|
|
|
|
|
config RGF_NUM_BANKS
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 144000000
|
|
|
|
|
|
|
|
config HARVARD
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-11-16 12:10:55 +08:00
|
|
|
|
2019-04-16 15:35:24 +08:00
|
|
|
config ARC_FIRQ
|
|
|
|
default y
|
|
|
|
|
2018-11-16 12:10:55 +08:00
|
|
|
config UART_NS16550
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on SERIAL
|
2018-11-16 12:10:55 +08:00
|
|
|
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
endif # ARC_IOT
|