Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 224cdea1886a883be7a4652192ae56d485efca6e https://github.com/OpenAMP/libmetal/commit/224cdea1886a883be7a4652192ae56d48... Author: Ben Levinsky ben.levinsky@amd.com Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths: M lib/system/generic/xlnx/CMakeLists.txt M lib/system/generic/xlnx/sys.h A lib/system/generic/xlnx/sys_devicetree.h
Log Message: ----------- lib: generic: xlnx: Enable CMake handling for System Device Tree Flow
For AMD-Xilinx tooling, there is a new System Device Tree (SDT) BSP with different symbols for GIC than the classic BSP. This causes issues when linking Libmetal against the SDT Flow BSP. Note that there is a planned deprecation of the classic BSP.
For AMD-Xilinx System Device Tree (SDT) Flow, one of the files provided by BSP is bspconfig.h. This file provides reference to the symbols that describe GIC Device ID and GIC distributor Base Address. AMD-Xilinx tools that use the SDT Flow BSP will provide symbol 'SDT' to signal that the SDT Flow BSP is present. If SDT symbol is present then the Libmetal build will include the new header "lib/system/generic/xlnx/sdt.h" to preserve library build.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
openamp-rp@lists.openampproject.org