With the upcoming riscv64 support, it is best to use "riscv" as the subdirectory name and common symbols as riscv32 and riscv64 support code is almost identical. Then later decide whether 32-bit or 64-bit compilation is wanted. Redirects for the web documentation are also included. Then zephyrbot complained about this: " New files added that are not covered in CODEOWNERS: dts/riscv/microsemi-miv.dtsi dts/riscv/riscv32-fe310.dtsi Please add one or more entries in the CODEOWNERS file to cover those files " So I assigned them to those who created them. Feel free to readjust as necessary. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
73 lines
1.8 KiB
Text
73 lines
1.8 KiB
Text
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
choice
|
|
prompt "SoC/CPU/Configuration Selection"
|
|
|
|
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.soc"
|
|
|
|
endchoice
|
|
|
|
menu "Hardware Configuration"
|
|
osource "$(SOC_DIR)/$(ARCH)/Kconfig"
|
|
osource "$(SOC_DIR)/$(ARCH)/*/Kconfig"
|
|
|
|
|
|
module = SOC
|
|
module-str = SOC
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endmenu
|
|
|
|
# The helper symbols below are put here due to an unusual setup: The simulated
|
|
# nrf52_bsim board uses the POSIX arch, but is compatible with Nordic ARM
|
|
# boards
|
|
|
|
config SOC_COMPATIBLE_NRF
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52X
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52832
|
|
bool
|
|
|
|
#
|
|
# SOC_*_LD: SoC specific Linker script additions
|
|
#
|
|
|
|
if ARC || ARM || X86 || NIOS2 || RISCV
|
|
|
|
config SOC_NOINIT_LD
|
|
bool
|
|
help
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
|
Include an SoC specific linker script fragment named soc-noinit.ld
|
|
for inserting additional data and linker directives into
|
|
the noinit section.
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
under include/arch/.
|
|
|
|
config SOC_RODATA_LD
|
|
bool
|
|
help
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
|
Include an SoC specific linker script fragment named soc-rodata.ld
|
|
for inserting additional data and linker directives into
|
|
the rodata section.
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
under include/arch/.
|
|
|
|
config SOC_RWDATA_LD
|
|
bool
|
|
help
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
|
Include an SoC specific linker script fragment named soc-rwdata.ld
|
|
for inserting additional data and linker directives into
|
|
the data section.
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
under include/arch/.
|
|
|
|
endif # ARC || ARM || X86 || NIOS2 || RISCV
|