diff options
Diffstat (limited to 'zephyr/linker/image_size.ld')
-rw-r--r-- | zephyr/linker/image_size.ld | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/zephyr/linker/image_size.ld b/zephyr/linker/image_size.ld deleted file mode 100644 index b1e401ae7f..0000000000 --- a/zephyr/linker/image_size.ld +++ /dev/null @@ -1,17 +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. - */ - -#if defined(CONFIG_CPU_CORTEX_M) || defined(CONFIG_CPU_CORTEX_R) || \ - defined(CONFIG_CPU_CORTEX_A) -__image_size = _flash_used; -#elif defined(CONFIG_RISCV) -__image_size = __rom_region_size; -#else -/* - * Intentionally set to 0. Some components, such as EFS2, need this value. - * Having it be 0 will make it easier to find and add new cores. - */ -__image_size = 0; -#endif |