| #
4936f055 |
| 20-Aug-2025 |
Ahmed Tiba <ahmed.tiba@arm.com> |
core: arm: refactor RD-1AE and RD-Aspen into automotive_rd flavors
This change moves RD-1AE and RD-Aspen under a single automotive_rd platform with per-flavor configuration.
Key updates: - Introduc
core: arm: refactor RD-1AE and RD-Aspen into automotive_rd flavors
This change moves RD-1AE and RD-Aspen under a single automotive_rd platform with per-flavor configuration.
Key updates: - Introduce plat-automotive_rd/ with shared main.c, platform_config.h and Makefiles. - Define RD-1AE and RD-Aspen are selected via PLATFORM_FLAVOR rd1ae or rdaspen. - Merge flavor settings (UART/GIC/DRAM/topology) into platform_config.h and conf.mk files. - Use default get_core_pos_mpidr() by setting appropriate CFG_CORE_CLUSTER_SHIFT / CFG_CORE_THREAD_SHIFT for rdaspen, eliminating custom assembly where not required.
Benefits: - Consistent with OP-TEE’s platform/variant framework. - Reduces code duplication between RD-1AE and RD-Aspen. - Simplifies adding new automotive reference design flavors in the future.
Usage: - Set PLATFORM=automotive_rd - Set PLATFORM_FLAVOR to rdaspen or rd1ae
Signed-off-by: Ahmed Tiba <ahmed.tiba@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|