public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] Revert "ARM: set GD_FLG_RELOC for boards skipping relocation to RAM"
@ 2008-09-16  8:18 Jean-Christophe PLAGNIOL-VILLARD
  2008-09-16  8:18 ` [U-Boot] [PATCH 1/2] ARM: set GD_FLG_RELOC at board init Jean-Christophe PLAGNIOL-VILLARD
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-09-16  8:18 UTC (permalink / raw)
  To: u-boot

This reverts commit f96b44cef897bd372beb86dde1b33637c119d84d.

diff --git a/lib_arm/board.c b/lib_arm/board.c
index 5ade882..47e834c 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -220,18 +220,6 @@ static int init_func_i2c (void)
 }
 #endif
 
-#ifdef CONFIG_SKIP_RELOCATE_UBOOT
-/*
- * This routine sets the relocation done flag, because even if
- * relocation is skipped, the flag is used by other generic code.
- */
-static int reloc_init(void)
-{
-	gd->flags |= GD_FLG_RELOC;
-	return 0;
-}
-#endif
-
 /*
  * Breathe some life into the board...
  *
@@ -261,11 +249,6 @@ int print_cpuinfo (void); /* test-only */
 
 init_fnc_t *init_sequence[] = {
 	cpu_init,		/* basic cpu dependent setup */
-#if defined(CONFIG_SKIP_RELOCATE_UBOOT)
-	reloc_init,		/* Set the relocation done flag, must
-				   do this AFTER cpu_init(), but as soon
-				   as possible */
-#endif
 	board_init,		/* basic board dependent setup */
 	interrupt_init,		/* set up exceptions */
 	env_init,		/* initialize environment */
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-16 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16  8:18 [U-Boot] [PATCH 0/2] Revert "ARM: set GD_FLG_RELOC for boards skipping relocation to RAM" Jean-Christophe PLAGNIOL-VILLARD
2008-09-16  8:18 ` [U-Boot] [PATCH 1/2] ARM: set GD_FLG_RELOC at board init Jean-Christophe PLAGNIOL-VILLARD
2008-09-16  8:18   ` [U-Boot] [PATCH 2/2] i.MX31: switch to CFG_HZ=1000 Jean-Christophe PLAGNIOL-VILLARD
2008-09-16 10:39     ` Wolfgang Denk
2008-09-16 10:27   ` [U-Boot] [PATCH 1/2] ARM: set GD_FLG_RELOC at board init Wolfgang Denk
2008-09-16 10:26 ` [U-Boot] [PATCH 0/2] Revert "ARM: set GD_FLG_RELOC for boards skipping relocation to RAM" Wolfgang Denk
2008-09-16 10:30 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox