zephyr/soc/gd/gd32
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
..
common
gd32a50x soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32e10x soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32e50x soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32f3x0 soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32f4xx soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32f403 soc: gd: move init code from SYS_INIT to hooks 2024-09-20 13:15:31 +02:00
gd32l23x soc: gd: gd32: Remove setting Kconfig in wrong place 2024-11-16 14:06:37 -05:00
gd32vf103 arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
CMakeLists.txt
Kconfig
Kconfig.defconfig soc: gd32: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:40:42 -06:00
Kconfig.soc
soc.yml