| #
a4ca182f |
| 11-Nov-2025 |
Hugues KAMBA MPIANA <hugues.kambampiana@arm.com> |
plat-corstone1000: Add Cortex-A320 support
Convert arm64-platform-cpuarch from a hard-coded cortex-a35 into a “?=” (default) assignment so users can override it (for example to cortex-a320) via the
plat-corstone1000: Add Cortex-A320 support
Convert arm64-platform-cpuarch from a hard-coded cortex-a35 into a “?=” (default) assignment so users can override it (for example to cortex-a320) via the make command line.
The Cortex-A320 core is not yet supported via -mcpu=cortex-a320. When arm64-platform-cpuarch is set to cortex-a320, switch to -march=armv9.2-a.
The new Corstone-1000 variant with Cortex-A320 replaces the original GIC-400 (v2) interrupt controller with a GIC-600, which is architecturally compliant with GICv3. Since OP-TEE already provides a generic GICv3 driver, only minimal platform changes are needed to expose the updated register map and initialize the GICv3 interface.
**Changes introduced**
* When `cortex-a320` is selected: * Force `CFG_ARM_GICV3=y`. * Map the Redistributor region (`GICR_BASE`). * Use `gic_init_v3(…)` instead of the v2 helper for Cortex-A320 builds. * Add `GICR_BASE`, `GIC_REDIST_REG_SIZE`, and related offsets. * Retain legacy `GICC_BASE` definitions under the GICv2 path so that the Cortex-A35 + GIC-400 variant continues to build unchanged.
Signed-off-by: Hugues KAMBA MPIANA <hugues.kambampiana@arm.com> Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|