aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-11-18 04:48:22 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:22 -0500
commit9f20cf2527fdbd5ee942ac87acff253d391b162f (patch)
treed3fb392b009dae2a761a1e964324614970611abb
parentc2414bd0b19e22632835cbd2686cf4103038cf3a (diff)
Blackfin arch: do not bother initializing the first 4k
our kernel should be sane now, and we want to catch NULL bugs, not ignore them Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r--arch/blackfin/mach-common/head.S12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/blackfin/mach-common/head.S b/arch/blackfin/mach-common/head.S
index 29cd01987c32..c1dcaebbd3a9 100644
--- a/arch/blackfin/mach-common/head.S
+++ b/arch/blackfin/mach-common/head.S
@@ -244,18 +244,6 @@ ENTRY(_real_start)
244 r2.h = ___bss_stop; 244 r2.h = ___bss_stop;
245 call __init_clear_bss 245 call __init_clear_bss
246 246
247 /* In case there is a NULL pointer reference,
248 * zero out region before stext
249 */
250 p1 = r0;
251 r2.l = __stext;
252 r2.h = __stext;
253 r2 >>= 2;
254 p2 = r2;
255 lsetup (.L_clear_zero, .L_clear_zero) lc0 = p2;
256.L_clear_zero:
257 [p1++] = r0;
258
259 /* Pass the u-boot arguments to the global value command line */ 247 /* Pass the u-boot arguments to the global value command line */
260 R0 = R7; 248 R0 = R7;
261 call _cmdline_init; 249 call _cmdline_init;