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# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
28
29config SOC_COMPATIBLE_NRF
30	bool
31
32config SOC_COMPATIBLE_NRF52X
33	bool
34
35config SOC_COMPATIBLE_NRF53X
36	bool
37
38config SOC_COMPATIBLE_NRF52833
39	bool
40
41config SOC_COMPATIBLE_NRF5340_CPUNET
42	bool
43
44config SOC_COMPATIBLE_NRF5340_CPUAPP
45	bool
46
47#
48# SOC_*_LD: SoC specific Linker script additions
49#
50
51config SOC_DEPRECATED_RELEASE
52	string
53	help
54	  This hidden option is set in the SoC configuration and indicates
55	  the Zephyr release that the SoC configuration will be removed.
56	  When set, any build for that SoC will generate a clearly visible
57	  deprecation warning.
58
59config SOC_HAS_TIMING_FUNCTIONS
60	bool
61	help
62	  Should be selected if SoC provides custom method for retrieving
63	  timestamps and cycle count.
64
65config SOC_HAS_RUNTIME_NUM_CPUS
66	bool
67	help
68	  Should be selected if SoC handles determining the number of CPUs
69	  at runtime.
70