diff options
author | Onkar Harsh <onkar.harsh@amd.com> | 2024-02-06 16:33:24 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-02-09 09:42:33 -0600 |
commit | fb339f5e1f2d3173addbb7acd31d63c78d63a21d (patch) | |
tree | 3f17b2a5daabf397e95384b037ff6021b6a63266 /meta-xilinx-standalone | |
parent | 2e97fa352b5cf5f17712de96951ffca82c879bae (diff) | |
download | meta-xilinx-fb339f5e1f2d3173addbb7acd31d63c78d63a21d.tar.gz |
standalone: Add support for r5/r52 hf tunes
c45298aaf4fe commit (machine/include/arm: Backport tune files from master) in
meta-xilinx layer added the support for cortex-r5 and cortexr-r52 hard float ABI
tunes. Update the conditions that generate the CMAKE_SYSTEM_PROCESSOR to
incorporate these two new tunes.
Moreover, some additional cflags (-DARMR5 -DARMR52) are needed to compile Cortex
R52 specific boot code in embeddedsw. Update the same.
Signed-off-by: Onkar Harsh <onkar.harsh@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc index 62c5a211..e38342b5 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | |||
@@ -15,6 +15,7 @@ ESW_CFLAGS ?= "" | |||
15 | 15 | ||
16 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw | 16 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw |
17 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" | 17 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" |
18 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr52', ' -DARMR5 -DARMR52', '', d)}" | ||
18 | TUNE_CCARGS:append:versal = " -Dversal" | 19 | TUNE_CCARGS:append:versal = " -Dversal" |
19 | TUNE_CCARGS:append:versal-net = " -DVERSAL_NET" | 20 | TUNE_CCARGS:append:versal-net = " -DVERSAL_NET" |
20 | 21 | ||