]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
p3mx: Remove serial relocation fixups
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 21 Sep 2009 16:20:35 +0000 (11:20 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 3 Oct 2009 08:17:57 +0000 (10:17 +0200)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
board/prodrive/p3mx/p3mx.c
include/configs/p3mx.h

index 0247bb80a40347b9e3c1f5281c1cd4ffbe6166de..05eca52e0e86f0116c29c8b919b12d58c406cb94 100644 (file)
@@ -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);
index 5e4d30b8a568f801df343d1d18416552ebb0cb36..0749037163b873dc35e40d9bd66aef06faee2e8a 100644 (file)
@@ -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()           */
 
 /*-----------------------------------------------------------------------