1# SPDX-License-Identifier: Apache-2.0
2
3choice
4	prompt "SoC/CPU/Configuration Selection"
5
6# This loads custom SoC root Kconfig (only available if custom SoC root are defined)
7osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc"
8# This loads Zephyr base SoC root Kconfig
9osource "soc/$(ARCH)/*/Kconfig.soc"
10
11endchoice
12
13menu "Hardware Configuration"
14# This loads custom SoC root Kconfig (only available if custom SoC root are defined)
15osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc.arch"
16# This loads Zephyr base SoC Kconfigs
17osource "soc/$(ARCH)/Kconfig"
18osource "soc/$(ARCH)/*/Kconfig"
19
20module = SOC
21module-str = SOC
22source "subsys/logging/Kconfig.template.log_config"
23
24endmenu
25
26# The helper symbols below are put here due to an unusual setup: The simulated
27# nrf52_bsim board uses the POSIX arch, but is compatible with Nordic ARM
28# boards
29
30config SOC_COMPATIBLE_NRF
31	bool
32
33config SOC_COMPATIBLE_NRF52X
34	bool
35
36config SOC_COMPATIBLE_NRF52832
37	bool
38
39#
40# SOC_*_LD: SoC specific Linker script additions
41#
42
43config SOC_DEPRECATED_RELEASE
44	string
45	help
46	  This hidden option is set in the SoC configuration and indicates
47	  the Zephyr release that the SoC configuration will be removed.
48	  When set, any build for that SoC will generate a clearly visible
49	  deprecation warning.
50
51config SOC_HAS_TIMING_FUNCTIONS
52	bool
53	help
54	  Should be selected if SoC provides custom method for retrieving
55	  timestamps and cycle count.
56