[U-Boot] add required macro

Kavin Lau liujingwencn at gmail.com
Fri Mar 4 02:57:12 CET 2011


From a3fb0b578a6cbe57670c7363c0707fdb9e7e3bc4 Mon Sep 17 
00:00:00 2001
From: Kavin Lau <liujingwencn at gmail.com>
Date: Fri, 4 Mar 2011 09:52:36 +0800
Subject: [PATCH] arm1176: Added CONFIG_PRELOADER macro that is 
required

The callers of those labels are under covered of CONFIG_PRELOADER 
macro,
so those labels should be under covered too.
---
 arch/arm/cpu/arm1176/start.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/arm1176/start.S 
b/arch/arm/cpu/arm1176/start.S
index 363329a..624f71c 100644
--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176/start.S
@@ -379,12 +379,14 @@ _board_init_r_ofs:
 	.word board_init_r - _start
 #endif
 
+#ifndef CONFIG_PRELOADER
 _rel_dyn_start_ofs:
 	.word __rel_dyn_start - _start
 _rel_dyn_end_ofs:
 	.word __rel_dyn_end - _start
 _dynsym_start_ofs:
 	.word __dynsym_start - _start
+#endif
 
 #ifdef CONFIG_ENABLE_MMU
 _mmu_table_base:
-- 
1.7.1



More information about the U-Boot mailing list