commit | 84662e327799f90e392e17cb267f637fe727e540 | [log] [tgz] |
---|---|---|
author | Rohit Mathew <rohit.mathew@arm.com> | Sun Mar 17 21:53:01 2024 +0000 |
committer | Rohit Mathew <rohit.mathew@arm.com> | Thu Apr 25 09:11:22 2024 +0100 |
tree | 8cae76aa22a948b37a2fefab1a0772b16b7cf700 | |
parent | 8ad6000aa60d70ee5061c527b07e4e6eeb087454 [diff] |
refactor(neoverse-rd): header files for second generation platforms Presently, platforms such as RD-N2, RD-N2-Cfg1, RD-N2-Cfg2 and RD-V2 utilize nrd_soc_platform_def_v2.h and nrd_soc_css_def_v2.h for all css and soc-related defines. So move these two header files into a new directory named 'nrd2'. This new directory will serve as the container of header files that are specific to the former stated platforms. Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I51ba0944dea91ae81e1840947d2e9af9b28d561d
diff --git a/plat/arm/board/neoverse_rd/common/include/nrd_soc_css_def_v2.h b/plat/arm/board/neoverse_rd/common/include/nrd2/nrd_soc_css_def_v2.h similarity index 100% rename from plat/arm/board/neoverse_rd/common/include/nrd_soc_css_def_v2.h rename to plat/arm/board/neoverse_rd/common/include/nrd2/nrd_soc_css_def_v2.h
diff --git a/plat/arm/board/neoverse_rd/common/include/nrd_soc_platform_def_v2.h b/plat/arm/board/neoverse_rd/common/include/nrd2/nrd_soc_platform_def_v2.h similarity index 100% rename from plat/arm/board/neoverse_rd/common/include/nrd_soc_platform_def_v2.h rename to plat/arm/board/neoverse_rd/common/include/nrd2/nrd_soc_platform_def_v2.h
diff --git a/plat/arm/board/neoverse_rd/platform/rdn2/platform.mk b/plat/arm/board/neoverse_rd/platform/rdn2/platform.mk index 12e7db4..e5d4def 100644 --- a/plat/arm/board/neoverse_rd/platform/rdn2/platform.mk +++ b/plat/arm/board/neoverse_rd/platform/rdn2/platform.mk
@@ -32,7 +32,8 @@ RDN2_BASE = plat/arm/board/neoverse_rd/platform/rdn2 -PLAT_INCLUDES += -I${RDN2_BASE}/include/ +PLAT_INCLUDES += -I${NRD_COMMON_BASE}/include/nrd2/ \ + -I${RDN2_BASE}/include/ NRD_CPU_SOURCES := lib/cpus/aarch64/neoverse_n2.S \ lib/cpus/aarch64/neoverse_v2.S