]> git.sur5r.net Git - u-boot/commitdiff
MPC8xxx: drop redundant boot messages
authorWolfgang Denk <wd@denx.de>
Mon, 25 Jul 2011 08:13:53 +0000 (10:13 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:39 +0000 (08:53 -0500)
Current code would print RAM size information like this:

DRAM:  DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off)

Turn a number of printf()s into debug() to get rid of the redundant
"DDR: " string like this:

DRAM:  256 MiB (DDR1, 64-bit, CL=2, ECC off)

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
board/freescale/corenet_ds/ddr.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/freescale/p2041rdb/ddr.c
board/sbc8641d/sbc8641d.c

index 976e86ef414cb6fa600854d4de3c11e824f8a331..22fa4615cbd2afa583a81a4f0108b9920c8c8806 100644 (file)
@@ -352,7 +352,7 @@ phys_size_t initdram(int board_type)
        lbc_sdram_init();
 #endif
 
-       puts("DDR: ");
+       debug("DDR: ");
        return dram_size;
 }
 #endif /* CONFIG_SYS_RAMBOOT */
index a184592e57cd87410dc9d70dee5b4284983dccae..b93701571b7fd19ac7c8fc46149d1e6f9559f07d 100644 (file)
@@ -256,6 +256,6 @@ phys_size_t initdram(int board_type)
        dram_size = setup_ddr_tlbs(dram_size / 0x100000);
        dram_size *= 0x100000;
 
-       puts("    DDR: ");
+       debug("    DDR: ");
        return dram_size;
 }
index 4e4b7c096fc7719321c89063898ebdc242f9f050..8aceddbf07fedf26690194eebb6477c93bcd047c 100644 (file)
@@ -145,7 +145,7 @@ initdram(int board_type)
 
        setup_ddr_bat(dram_size);
 
-       puts(" DDR: ");
+       debug(" DDR: ");
        return dram_size;
 }
 
index e3916fc8e431d58de4f2254cef417a2183ff6f89..455569e422b1f702cd332b3bf5ebf4d6f2156003 100644 (file)
@@ -69,7 +69,7 @@ initdram(int board_type)
 
        setup_ddr_bat(dram_size);
 
-       puts("    DDR: ");
+       debug("    DDR: ");
        return dram_size;
 }
 
index 46de9109dac7e5871b86b7bc712a0ea74d395960..e9c699c41e254daeb079b418023242b6be20588d 100644 (file)
@@ -110,6 +110,6 @@ phys_size_t initdram(int board_type)
        dram_size = setup_ddr_tlbs(dram_size / 0x100000);
        dram_size *= 0x100000;
 
-       puts("    DDR: ");
+       debug("    DDR: ");
        return dram_size;
 }
index dd585412b4b8b5877edb901fbd2e6b8547868bf7..bed8f5350e31b14d281dc0abfb5d7c6b9a063dec 100644 (file)
@@ -63,7 +63,7 @@ phys_size_t initdram (int board_type)
        dram_size = fixed_sdram ();
 #endif
 
-       puts ("    DDR: ");
+       debug ("    DDR: ");
        return dram_size;
 }