[U-Boot] [PATCH 11/13] p3mx: Remove serial relocation fixups

Peter Tyser ptyser at xes-inc.com
Mon Sep 21 18:20:35 CEST 2009


Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
 board/prodrive/p3mx/p3mx.c |   10 ----------
 include/configs/p3mx.h     |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/board/prodrive/p3mx/p3mx.c b/board/prodrive/p3mx/p3mx.c
index 0247bb8..05eca52 100644
--- a/board/prodrive/p3mx/p3mx.c
+++ b/board/prodrive/p3mx/p3mx.c
@@ -316,16 +316,6 @@ int misc_init_r ()
 	return 0;
 }
 
-int board_early_init_r(void)
-{
-	/* now relocate the debug serial driver */
-	mpsc_putchar += gd->reloc_off;
-	mpsc_getchar += gd->reloc_off;
-	mpsc_test_char += gd->reloc_off;
-
-	return 0;
-}
-
 void after_reloc (ulong dest_addr, gd_t * gd)
 {
 	memoryMapDeviceSpace (BOOT_DEVICE, CONFIG_SYS_BOOT_SPACE, CONFIG_SYS_BOOT_SIZE);
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h
index 5e4d30b..0749037 100644
--- a/include/configs/p3mx.h
+++ b/include/configs/p3mx.h
@@ -59,7 +59,6 @@
 /* which initialization functions to call for this board */
 #define CONFIG_SYS_BOARD_ASM_INIT	1
 #define CONFIG_BOARD_EARLY_INIT_F 1     /* Call board_early_init_f	*/
-#define CONFIG_BOARD_EARLY_INIT_R 1     /* Call board_early_init_f	*/
 #define CONFIG_MISC_INIT_R      1	/* Call misc_init_r()		*/
 
 /*-----------------------------------------------------------------------
-- 
1.6.2.1



More information about the U-Boot mailing list