mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-23 11:16:13 +00:00
The Xilinx ZynqMP SoC embeds both Cortex-R "RPU" and Cortex-A "APU" cores. Since the current Zephyr architecture cannot support AMP of Cortex-R and Cortex-A within the same project, the RPU and APU should be considered separate platforms and handled accordingly. This commit re-purposes the SOC_XILINX_ZYNQMP symbol as a helper symbol indicating that Xilinx ZynqMP SoC is used, and adds a new symbol, SOC_XILINX_ZYNQMP_RPU, for specifying the actual build target platform. When Cortex-A support is added in the future, SOC_XILINX_ZYNQMP_APU symbol should be added and used to conditionally handle APU-specific code. For more details, refer to the issue #20217. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
13 lines
289 B
Plaintext
13 lines
289 B
Plaintext
/*
|
|
* Copyright (c) 2019 Lexmark International, Inc.
|
|
* Copyright (c) 2019 Stephanos Ioannidis <root@stephanos.io>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <autoconf.h>
|
|
|
|
#if defined(CONFIG_SOC_XILINX_ZYNQMP_RPU)
|
|
#include <arch/arm/aarch32/cortex_r/scripts/linker.ld>
|
|
#endif
|