summaryrefslogtreecommitdiff
path: root/source/hal/source/platform/simple
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/source/platform/simple')
-rw-r--r--source/hal/source/platform/simple/include/peripheral_memmap.h24
-rw-r--r--source/hal/source/platform/simple/source/platform_drivers.c12
2 files changed, 6 insertions, 30 deletions
diff --git a/source/hal/source/platform/simple/include/peripheral_memmap.h b/source/hal/source/platform/simple/include/peripheral_memmap.h
index 761fad9..e302e30 100644
--- a/source/hal/source/platform/simple/include/peripheral_memmap.h
+++ b/source/hal/source/platform/simple/include/peripheral_memmap.h
@@ -1,6 +1,6 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
- * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates
+ * <open-source-office@arm.com> SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,23 +18,7 @@
#ifndef PERIPHERAL_MEMMAP_H
#define PERIPHERAL_MEMMAP_H
-#define DESIGN_NAME "Simple platform"
-
-/******************************************************************************/
-/* Peripheral memory map */
-/******************************************************************************/
-#define PL011_UART0_BASE (0x49303000) /* PL011 UART0 Base Address */
-
-#define ETHOS_U_NPU_BASE (0x48102000) /* Ethos-U NPU base address*/
-#define ETHOS_U_NPU_TA0_BASE (0x48103000) /* Ethos-U NPU's timing adapter 0 base address */
-#define ETHOS_U_NPU_TA1_BASE (0x48103200) /* Ethos-U NPU's timing adapter 1 base address */
-
-/******************************************************************************/
-/* Secure Peripheral memory map */
-/******************************************************************************/
-
-#define SEC_ETHOS_U_NPU_BASE (0x58102000) /* Ethos-U NPU base address*/
-#define SEC_ETHOS_U_NPU_TA0_BASE (0x58103000) /* Ethos-U NPU's timing adapter 0 base address */
-#define SEC_ETHOS_U_NPU_TA1_BASE (0x58103200) /* Ethos-U NPU's timing adapter 1 base address */
+#define DESIGN_NAME "Simple platform"
+#define PL011_UART0_BASE (0x49303000) /* PL011 UART0 Base Address */
#endif /* PERIPHERAL_MEMMAP_H */
diff --git a/source/hal/source/platform/simple/source/platform_drivers.c b/source/hal/source/platform/simple/source/platform_drivers.c
index 914b1ac..af854d7 100644
--- a/source/hal/source/platform/simple/source/platform_drivers.c
+++ b/source/hal/source/platform/simple/source/platform_drivers.c
@@ -1,6 +1,6 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
- * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates
+ * <open-source-office@arm.com> SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,14 +30,6 @@
#include "ethosu_ta_init.h"
#endif /* ETHOS_U_NPU_TIMING_ADAPTER_ENABLED */
-#if defined(ETHOS_U_BASE_ADDR)
- #if (ETHOS_U_NPU_BASE != ETHOS_U_BASE_ADDR) && (SEC_ETHOS_U_NPU_BASE != ETHOS_U_BASE_ADDR)
- #error "NPU component configured with incorrect NPU base address."
- #endif /* (ETHOS_U_NPU_BASE != ETHOS_U_BASE_ADDR) && (SEC_ETHOS_U_NPU_BASE == ETHOS_U_BASE_ADDR) */
-#else
- #error "ETHOS_U_BASE_ADDR should have been defined by the NPU component."
-#endif /* defined(ETHOS_U_BASE_ADDR) */
-
#endif /* ARM_NPU */
/* Platform name */