From: Clement Leger <cleger@kalray.eu>
To: Sascha Hauer <s.hauer@pengutronix.de>, barebox@lists.infradead.org
Cc: Clement Leger <cleger@kalray.eu>
Subject: [PATCH] kvx: remove duplicated dtb symbols
Date: Tue, 30 Jun 2020 22:53:44 +0200 [thread overview]
Message-ID: <20200630205344.27786-1-cleger@kalray.eu> (raw)
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>
---
arch/kvx/cpu/barebox.lds.S | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/kvx/cpu/barebox.lds.S b/arch/kvx/cpu/barebox.lds.S
index bf92564cf..77ebaf0ae 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): {
--
2.17.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2020-06-30 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-30 20:53 Clement Leger [this message]
2020-07-01 5:23 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200630205344.27786-1-cleger@kalray.eu \
--to=cleger@kalray.eu \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox