summaryrefslogtreecommitdiffstats
path: root/arch/kvx
diff options
context:
space:
mode:
authorClement Leger <cleger@kalray.eu>2020-06-30 22:53:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-01 07:23:14 +0200
commit17c29f5e41a2e69e85f04d8bbdda3254cd51a961 (patch)
tree2487f66a3353e1b2e2ce70a04708e45787bc8f51 /arch/kvx
parentc10551150b2e4e7a746b24f43cd9d7a9b440d14a (diff)
downloadbarebox-17c29f5e41a2e69e85f04d8bbdda3254cd51a961.tar.gz
barebox-17c29f5e41a2e69e85f04d8bbdda3254cd51a961.tar.xz
kvx: remove duplicated dtb symbols
dtb symbols (__dtb_start, __dtb_end) are already defined using RO_DATA_SECTION. This duplicated dtb section is a leftover used by Kalray internal tools to patch the dtb when loading the elf on a target. Remove it to keep only one symbol definition. Signed-off-by: Clement Leger <cleger@kalray.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/kvx')
-rw-r--r--arch/kvx/cpu/barebox.lds.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/kvx/cpu/barebox.lds.S b/arch/kvx/cpu/barebox.lds.S
index bf92564cfb..77ebaf0aea 100644
--- a/arch/kvx/cpu/barebox.lds.S
+++ b/arch/kvx/cpu/barebox.lds.S
@@ -10,8 +10,6 @@
OUTPUT_FORMAT("elf64-kvx")
OUTPUT_ARCH("kvx:kv3-1:64")
-#define DTB_DEFAULT_SIZE (24 * 1024)
-
SECTIONS
{
. = CONFIG_ARCH_TEXT_BASE;
@@ -54,13 +52,6 @@ SECTIONS
RO_DATA_SECTION
}
- .dtb ALIGN(16):
- {
- __dtb_start = .;
- . += DTB_DEFAULT_SIZE;
- __dtb_end = .;
- }
-
_etext = .; /* End of text and rodata section */
.data ALIGN(4): {