[PATCH 07/12] ppc pcm030: remove puts in early init

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 23 05:24:15 EDT 2011


puts does not work at this stage, so remove it.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/ppc/boards/pcm030/pcm030.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/ppc/boards/pcm030/pcm030.c b/arch/ppc/boards/pcm030/pcm030.c
index ba59bfe..3c2db4e 100644
--- a/arch/ppc/boards/pcm030/pcm030.c
+++ b/arch/ppc/boards/pcm030/pcm030.c
@@ -171,8 +171,7 @@ long int initdram (int board_type)
 		} else {
 			*(vu_long *)MPC5XXX_SDRAM_CS0CFG = 0; /* disabled */
 		}
-	} else
-		puts(RELOC("skipping sdram initialization\n"));
+	}
 
 	/* retrieve size of memory connected to SDRAM CS0 */
 	dramsize = *(vu_long *)MPC5XXX_SDRAM_CS0CFG & 0xFF;
-- 
1.7.6.3




More information about the barebox mailing list