[U-Boot] [PATCH] ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr board.

Hugo Villeneuve hugo.villeneuve at lyrtech.com
Tue Sep 16 23:07:53 CEST 2008


ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr board.

This is no longer necessary now that the GD_FLG_RELOC flag is set for all ARM boards.

Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
---

This is a cleanup following Jean-Christophe Plagniol-Villard patch.

 board/davinci/sffsdr/sffsdr.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/board/davinci/sffsdr/sffsdr.c b/board/davinci/sffsdr/sffsdr.c
index f47ba0f..6e878eb 100644
--- a/board/davinci/sffsdr/sffsdr.c
+++ b/board/davinci/sffsdr/sffsdr.c
@@ -170,9 +170,5 @@ int misc_init_r(void)
 	if (!eth_hw_init())
 		printf("Ethernet init failed\n");
 
-	/* On this platform, U-Boot is copied in RAM by the UBL,
-	 * so we are always in the relocated state. */
-	gd->flags |= GD_FLG_RELOC;
-
 	return(0);
 }


More information about the U-Boot mailing list