zephyr/soc/espressif/esp32c3
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 soc: espressif: esp32c3: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
Kconfig.mac soc: espressif: esp32c3: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
Kconfig.soc soc: esp32c3: add FH4X type and SoC revision 2024-11-27 21:06:51 +00:00
mcuboot.ld soc: esp32c3: update linker files 2024-10-27 20:53:48 -05:00
memory.h soc: esp32c3: ESP WiFi heap 2024-09-21 11:29:53 +02:00
pinctrl_soc.h
power.c
poweroff.c soc: espressif: esp32c3: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
soc.c soc: esp32xx: update flash initialization 2024-09-13 11:36:58 -05:00
soc.h soc: espressif: esp32c3: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
soc_irq.c soc: espressif: esp32c3: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
soc_irq.S build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
vectors.S