浏览代码

p3mx: Remove serial relocation fixups

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Peter Tyser 15 年之前
父节点
当前提交
3cbcfa70b1
共有 2 个文件被更改,包括 0 次插入11 次删除
  1. 0 10
      board/prodrive/p3mx/p3mx.c
  2. 0 1
      include/configs/p3mx.h

+ 0 - 10
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);

+ 0 - 1
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()		*/
 
 /*-----------------------------------------------------------------------