zephyr/soc/andestech/ae350
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_linker
CMakeLists.txt soc: andestech: run pma_init_per_core() with soc_per_core_init_hook() 2024-11-16 14:04:25 -05:00
Kconfig arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
Kconfig.defconfig arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
Kconfig.defconfig.ae350
Kconfig.soc
linker.ld soc: andestech: linker.ld: fix incorrect padding of rom_mpu_padding 2024-10-23 16:53:13 +02:00
pma.c soc: andestech: refactor out soc_early_init_hook() from pma.c 2024-11-16 14:04:25 -05:00
pma.h soc: andestech: refactor out soc_early_init_hook() from pma.c 2024-11-16 14:04:25 -05:00
soc.c soc: andestech: refactor out soc_early_init_hook() from pma.c 2024-11-16 14:04:25 -05:00
soc_context.h
soc_irq.S build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
soc_offsets.h
soc_v5.h soc: andestech: add the definitions for cache driver 2024-04-22 09:19:27 -04:00
start.S