aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2023-04-04 16:53:59 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2023-04-04 16:55:12 +0200
commit229d7a0983b142821c6d0ca5a557020468a6f9eb (patch)
tree7f1340a38ad69be35a9e6ff2707292ae8d2769bc
parentb0aacb484c2316b71909b3b7cb6968879e5bc8ca (diff)
downloadethos-u-core-platform-229d7a0983b142821c6d0ca5a557020468a6f9eb.tar.gz
Remove ETHOSU define from targets
Ethos-U core driver exports the macro Change-Id: I373dbdaa9ec0ee24d566912fc876a4a0627e8b63
-rw-r--r--targets/corstone-300/CMakeLists.txt7
-rw-r--r--targets/corstone-310/CMakeLists.txt7
-rw-r--r--targets/demo/CMakeLists.txt4
3 files changed, 3 insertions, 15 deletions
diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt
index b76c474..dfa2792 100644
--- a/targets/corstone-300/CMakeLists.txt
+++ b/targets/corstone-300/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2020-2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -127,11 +127,6 @@ target_link_libraries(ethosu_target_startup INTERFACE
ethosu_mhu_dummy
ethosu_uart_cmsdk_apb)
-if (TARGET ethosu_core_driver)
- target_compile_definitions(ethosu_core_driver PUBLIC
- ETHOSU)
-endif()
-
if (TARGET event_recorder)
target_include_directories(event_recorder BEFORE INTERFACE
event_recorder)
diff --git a/targets/corstone-310/CMakeLists.txt b/targets/corstone-310/CMakeLists.txt
index 127570d..62b06ea 100644
--- a/targets/corstone-310/CMakeLists.txt
+++ b/targets/corstone-310/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2020-2022 Arm Limited. All rights reserved.
+# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -130,11 +130,6 @@ target_link_libraries(ethosu_target_startup INTERFACE
ethosu_mhu_dummy
ethosu_uart_cmsdk_apb)
-if (TARGET ethosu_core_driver)
- target_compile_definitions(ethosu_core_driver PUBLIC
- ETHOSU)
-endif()
-
###############################################################################
# Applications
###############################################################################
diff --git a/targets/demo/CMakeLists.txt b/targets/demo/CMakeLists.txt
index a1ba620..1bb97cc 100644
--- a/targets/demo/CMakeLists.txt
+++ b/targets/demo/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2022 Arm Limited.
+# SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -111,8 +111,6 @@ target_link_libraries(ethosu_target_startup INTERFACE
if (TARGET ethosu_core_driver)
target_compile_definitions(ethosu_core_driver PUBLIC
- ETHOSU
-
# The TFLM arena is accessed over base address 1. The region config
# controls if the memory transactions are routed over AXI 0 (region config
# 0 or 1) or AXI 1 (region config 2 or 3).