소스 검색

86xx: Remove redundant code in initdram

The same code exists both inside an #ifdef and outside of it.
Remove the extra code for all the 86xx boards.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Becky Bruce 15 년 전
부모
커밋
107b579c75
3개의 변경된 파일0개의 추가작업 그리고 15개의 파일을 삭제
  1. 0 5
      board/freescale/mpc8610hpcd/mpc8610hpcd.c
  2. 0 5
      board/freescale/mpc8641hpcn/mpc8641hpcn.c
  3. 0 5
      board/sbc8641d/sbc8641d.c

+ 0 - 5
board/freescale/mpc8610hpcd/mpc8610hpcd.c

@@ -127,11 +127,6 @@ initdram(int board_type)
 	dram_size = fixed_sdram();
 #endif
 
-#if defined(CONFIG_SYS_RAMBOOT)
-	puts(" DDR: ");
-	return dram_size;
-#endif
-
 	puts(" DDR: ");
 	return dram_size;
 }

+ 0 - 5
board/freescale/mpc8641hpcn/mpc8641hpcn.c

@@ -74,11 +74,6 @@ initdram(int board_type)
 	dram_size = fixed_sdram();
 #endif
 
-#if defined(CONFIG_SYS_RAMBOOT)
-	puts("    DDR: ");
-	return dram_size;
-#endif
-
 	puts("    DDR: ");
 	return dram_size;
 }

+ 0 - 5
board/sbc8641d/sbc8641d.c

@@ -62,11 +62,6 @@ phys_size_t initdram (int board_type)
 	dram_size = fixed_sdram ();
 #endif
 
-#if defined(CONFIG_SYS_RAMBOOT)
-	puts ("    DDR: ");
-	return dram_size;
-#endif
-
 	puts ("    DDR: ");
 	return dram_size;
 }