zephyr/tests/arch
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
..
arc tests: arc_vpx_lock 2024-10-17 15:49:49 -04:00
arm arch: deprecate _current 2024-11-23 20:12:24 -05:00
arm64 twister: rework board handling 2024-10-22 18:31:09 -04:00
common boards: nordic: Align with updated Nordic owned memory bindings 2024-10-15 04:11:21 -04:00
riscv arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
x86 kernel: mm: rename Z_KERNEL_VIRT_* to K_MEM_KERNEL_VIRT_* 2024-06-12 21:13:26 -04:00
xtensa/save_restore_hifi