zephyr/soc/espressif/esp32c2
Yong Cong Sin e6dd68ec89 arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice
Introduce `CONFIG_RISCV_GP_PURPOSE` choice to make sure that only
one of `CONFIG_RISCV_GP` or `CONFIG_RISCV_CURRENT_VIA_GP` can be
enabled, instead of relying of dependencies.

To do that, introduce a new
`CONFIG_RISCV_SOC_HAS_GP_RELATIVE_ADDRESSING` that can be selected
by SoC when it implemented global pointer (GP) initialization for
relative addressing in its linker.

`CONFIG_RISCV_GP` will be the default choice when
`CONFIG_RISCV_SOC_HAS_GP_RELATIVE_ADDRESSING=y`

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-11-28 12:51:09 +01:00
..
CMakeLists.txt soc: espressif: Add hardware initialization 2024-11-26 00:12:45 +01:00
default.ld soc: espressif: Add hardware initialization 2024-11-26 00:12:45 +01:00
hw_init.c soc: espressif: Add hardware initialization 2024-11-26 00:12:45 +01:00
Kconfig arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
Kconfig.defconfig
Kconfig.mac
Kconfig.soc
mcuboot.ld soc: esp32c2: update linker files 2024-10-27 20:53:48 -05:00
memory.h soc: esp32c2: ESP WiFi heap 2024-09-21 11:29:53 +02:00
pinctrl_soc.h
soc.c soc: esp32xx: update flash initialization 2024-09-13 11:36:58 -05:00
soc.h
soc_irq.c
soc_irq.S
vectors.S