U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: ep9315: Add .vectors section to lds and remove obsolete lds
Date: Mon, 28 Jul 2014 16:08:01 +0800	[thread overview]
Message-ID: <1406534881-7157-1-git-send-email-sergey.kostanbaev@gmail.com> (raw)

However ep9315 don't use
interrupt vectors during startup, but _startup symbol is used inside uboot to
calculate actual monitor size.

Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
Cc: albert.u.boot at aribaud.net
---
 arch/arm/cpu/arm920t/ep93xx/u-boot.lds | 58 ----------------------------------
 board/cirrus/edb93xx/u-boot.lds        |  1 +
 2 files changed, 1 insertion(+), 58 deletions(-)
 delete mode 100644 arch/arm/cpu/arm920t/ep93xx/u-boot.lds

diff --git a/arch/arm/cpu/arm920t/ep93xx/u-boot.lds b/arch/arm/cpu/arm920t/ep93xx/u-boot.lds
deleted file mode 100644
index 623a635..0000000
--- a/arch/arm/cpu/arm920t/ep93xx/u-boot.lds
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * (C) Copyright 2002
- * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
-OUTPUT_ARCH(arm)
-ENTRY(_start)
-SECTIONS
-{
-	. = 0x00000000;
-
-	. = ALIGN(4);
-	.text      :
-	{
-		*(.__image_copy_start)
-		*(.vectors)
-		arch/arm/cpu/arm920t/start.o	(.text*)
-		/* the EP93xx expects to find the pattern 'CRUS' at 0x1000 */
-	  . = 0x1000;
-	  LONG(0x53555243)
-	  *(.text*)
-	}
-
-	. = ALIGN(4);
-	.rodata : { *(.rodata*) }
-
-	. = ALIGN(4);
-	.data : { *(.data*) }
-
-	. = ALIGN(4);
-	.got : { *(.got) }
-
-	. = .;
-
-	. = ALIGN(4);
-	.u_boot_list : {
-		KEEP(*(SORT(.u_boot_list*)));
-	}
-
-	. = ALIGN(4);
-
-	.image_copy_end :
-	{
-		*(.__image_copy_end)
-	}
-
-	__bss_start = .;
-	.bss : { *(.bss*) }
-	__bss_end = .;
-
-	.end :
-	{
-		*(.__end)
-	}
-}
diff --git a/board/cirrus/edb93xx/u-boot.lds b/board/cirrus/edb93xx/u-boot.lds
index b0d892a..4aa7891 100644
--- a/board/cirrus/edb93xx/u-boot.lds
+++ b/board/cirrus/edb93xx/u-boot.lds
@@ -21,6 +21,7 @@ SECTIONS
 	. = ALIGN(4);
 	.text : {
 		*(.__image_copy_start)
+		*(.vectors)
 		arch/arm/cpu/arm920t/start.o (.text*)
 		. = 0x1000;
 
-- 
1.8.3.2

             reply	other threads:[~2014-07-28  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  8:08 Sergey Kostanbaev [this message]
2014-08-30 15:13 ` [U-Boot] arm: ep9315: Add .vectors section to lds and remove obsolete lds Tom Rini

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=1406534881-7157-1-git-send-email-sergey.kostanbaev@gmail.com \
    --to=sergey.kostanbaev@gmail.com \
    --cc=u-boot@lists.denx.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