summaryrefslogtreecommitdiff
path: root/board/cogent
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-11-24 19:19:08 +0100
committerWolfgang Denk <wd@denx.de>2010-11-27 23:35:12 +0100
commitba273f066f447a23b55403149b50c322a40bb87b (patch)
treee2ba3acc3e2204a3335e0006d839e9007574bd79 /board/cogent
parentde550d6b34140f1fa9e4e2f082de5ee7009dceb5 (diff)
downloadu-boot-imx-ba273f066f447a23b55403149b50c322a40bb87b.zip
u-boot-imx-ba273f066f447a23b55403149b50c322a40bb87b.tar.gz
u-boot-imx-ba273f066f447a23b55403149b50c322a40bb87b.tar.bz2
8260: Cleanup for partial linking and --gc-sections
Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/cogent')
-rw-r--r--board/cogent/u-boot.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/cogent/u-boot.lds b/board/cogent/u-boot.lds
index b4c7a0e..42ed142 100644
--- a/board/cogent/u-boot.lds
+++ b/board/cogent/u-boot.lds
@@ -21,6 +21,7 @@
* MA 02111-1307 USA
*/
+#include <config.h>
OUTPUT_ARCH(powerpc)
SECTIONS
@@ -29,9 +30,12 @@ SECTIONS
. = + SIZEOF_HEADERS;
.text :
{
+#ifdef CONFIG_MPC8260
+ arch/powerpc/cpu/mpc8260/start.o (.text*)
+#else
arch/powerpc/cpu/mpc8xx/start.o (.text*)
arch/powerpc/cpu/mpc8xx/traps.o (.text*)
-
+#endif
*(.text*)
}
_etext = .;