From 4b01b6e1a9d0173908b0760c0cfd9a8a030e9527 Mon Sep 17 00:00:00 2001 From: Rajiv Mohan Date: Fri, 2 Aug 2024 02:31:06 -0700 Subject: [PATCH] zynq: Remove support for Zynq-7000 SoC Remove support for Zynq-7000 SoC, changes are 1. Remove Zynq7 tool chain support 2. Makefile changes to remove zynq7 Reasons to remove: 1. Support for Zynq-7000 has ended 2. Removing redundant or unmaintained code 3. Reduce technical debt carried by OpenAMP team 4. very few customer using openamp on Zynq-7000 SoC For using Zynq-7000 SoC support last working and tested version is (v2023.10) https://github.com/OpenAMP/libmetal/tree/v2023.10 Signed-off-by: Rajiv Mohan --- cmake/options.cmake | 1 - cmake/platforms/zynq7-freertos.cmake | 8 -------- cmake/platforms/zynq7-generic-iar.cmake | 4 ---- cmake/platforms/zynq7-generic.cmake | 8 -------- cmake/platforms/zynq7-linux.cmake | 4 ---- lib/system/freertos/CMakeLists.txt | 1 - lib/system/generic/CMakeLists.txt | 1 - 7 files changed, 27 deletions(-) delete mode 100644 cmake/platforms/zynq7-freertos.cmake delete mode 100644 cmake/platforms/zynq7-generic-iar.cmake delete mode 100644 cmake/platforms/zynq7-generic.cmake delete mode 100644 cmake/platforms/zynq7-linux.cmake diff --git a/cmake/options.cmake b/cmake/options.cmake index a3216a77..70a30337 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -80,6 +80,5 @@ if ("${PROJECT_MACHINE}" STREQUAL "zynqmp_a53" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_a78" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_r5" OR "${PROJECT_MACHINE}" STREQUAL "microblaze_generic" OR - "${PROJECT_MACHINE}" STREQUAL "zynq7") add_definitions( -DXLNX_PLATFORM ) endif() diff --git a/cmake/platforms/zynq7-freertos.cmake b/cmake/platforms/zynq7-freertos.cmake deleted file mode 100644 index 3bf116e9..00000000 --- a/cmake/platforms/zynq7-freertos.cmake +++ /dev/null @@ -1,8 +0,0 @@ -set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (MACHINE "zynq7" CACHE STRING "") -set (CROSS_PREFIX "arm-none-eabi-" CACHE STRING "") - -set (CMAKE_C_FLAGS "-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard" CACHE STRING "") - -include (cross-freertos-gcc) - diff --git a/cmake/platforms/zynq7-generic-iar.cmake b/cmake/platforms/zynq7-generic-iar.cmake deleted file mode 100644 index e5be53c0..00000000 --- a/cmake/platforms/zynq7-generic-iar.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (CROSS_SUFFIX "arm" CACHE STRING "") -include (cross-generic-iar) - diff --git a/cmake/platforms/zynq7-generic.cmake b/cmake/platforms/zynq7-generic.cmake deleted file mode 100644 index bf13f1ae..00000000 --- a/cmake/platforms/zynq7-generic.cmake +++ /dev/null @@ -1,8 +0,0 @@ -set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (MACHINE "zynq7" CACHE STRING "") -set (CROSS_PREFIX "arm-none-eabi-" CACHE STRING "") - -set (CMAKE_C_FLAGS "-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard" CACHE STRING "") - -include (cross-generic-gcc) - diff --git a/cmake/platforms/zynq7-linux.cmake b/cmake/platforms/zynq7-linux.cmake deleted file mode 100644 index 85944370..00000000 --- a/cmake/platforms/zynq7-linux.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (CROSS_PREFIX "arm-xilinx-linux-gnueabi-" CACHE STRING "") -include (cross-linux-gcc) - diff --git a/lib/system/freertos/CMakeLists.txt b/lib/system/freertos/CMakeLists.txt index c4f56a46..5a8feb5a 100644 --- a/lib/system/freertos/CMakeLists.txt +++ b/lib/system/freertos/CMakeLists.txt @@ -25,6 +25,5 @@ if ("${PROJECT_MACHINE}" STREQUAL "zynqmp_a53" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_a72" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_a78" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_r5" OR - "${PROJECT_MACHINE}" STREQUAL "zynq7") add_subdirectory(xlnx) endif() diff --git a/lib/system/generic/CMakeLists.txt b/lib/system/generic/CMakeLists.txt index 9427635b..e1347585 100644 --- a/lib/system/generic/CMakeLists.txt +++ b/lib/system/generic/CMakeLists.txt @@ -22,7 +22,6 @@ if ("${PROJECT_MACHINE}" STREQUAL "zynqmp_a53" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_a78" OR "${PROJECT_MACHINE}" STREQUAL "zynqmp_r5" OR "${PROJECT_MACHINE}" STREQUAL "microblaze_generic" OR - "${PROJECT_MACHINE}" STREQUAL "zynq7") add_subdirectory(xlnx) elseif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_MACHINE}) add_subdirectory(${PROJECT_MACHINE})