zephyr/soc/arc/snps_emsdp/Kconfig.defconfig.em11d
Ulf Magnusson a42a42cd5a kconfig: Replace defconfig singe-symbol 'if's with 'depends on'
Same deal as in commit eddd98f ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for all symbols defined within defconfig
files. See that commit for an explanation.

Maybe 'if's were used originally to mirror the 'if's in the main Kconfig
files, and then it got copied around by people assuming 'if' must work
differently from 'depends on'. It doesn't match in every spot at least.
Better to keep it simple and just consistently use 'depends on' when
it's a single symbol/choice I think. Helps reinforce that 'if' isn't
magic too.

Verified by printing all Kconfig menu nodes (symbols, choices, menus,
etc.) before and after the change and diffing (should show no
difference).

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:13 -06:00

41 lines
541 B
Plaintext

# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if SOC_EMSDP_EM11D
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 40000000
config CPU_EM4_FPUDA
default y
config ARC_MPU_VER
default 2
config RGF_NUM_BANKS
default 2
config HARVARD
default y
config ARC_FIRQ
default y
config CACHE_FLUSHING
default y
config FP_FPU_DA
default y
config MAIN_STACK_SIZE
default 2048
config IDLE_STACK_SIZE
default 2048
config ZTEST_STACKSIZE
default 2048
depends on ZTEST
endif # SOC_EMSDP_EM11D