summaryrefslogtreecommitdiff
path: root/zephyr/linker/iram_text.ld
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/linker/iram_text.ld')
-rw-r--r--zephyr/linker/iram_text.ld23
1 files changed, 0 insertions, 23 deletions
diff --git a/zephyr/linker/iram_text.ld b/zephyr/linker/iram_text.ld
deleted file mode 100644
index 3ea3f4db7e..0000000000
--- a/zephyr/linker/iram_text.ld
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef CONFIG_ARCH_POSIX
-
-/* This code taken from core/cortex-m/ec.lds.S */
-
-#if defined(CONFIG_PLATFORM_EC_MPU)
-/* MPU regions must be aligned to a 32-byte boundary */
-#define _IRAM_ALIGN 32
-#else
-#define _IRAM_ALIGN 4
-#endif
-
- . = ALIGN(_IRAM_ALIGN);
- __iram_text_start = .;
- *(.iram.text)
- . = ALIGN(_IRAM_ALIGN);
- __iram_text_end = .;
-
-#endif /* CONFIG_ARCH_POSIX */