MPC8xxx: drop redundant boot messages
PATCH 1/1 MPC8xxx: drop redundant boot messages
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 <[email protected]>
Cc Kumar Gala <[email protected]>
--- arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- board/freescale/corenet_ds/ddr.c | 2 +- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 2 +- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 2 +- board/freescale/p2041rdb/ddr.c | 2 +- board/sbc8641d/sbc8641d.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
arch/powerpc/cpu/mpc85xx/cpu.c +1 -1
@@ -358,7 +358,7 @@ phys_size_t initdram(int board_type)lbc_sdram_init ();#endif -puts ("DDR: " ); +debug ("DDR: " ); return dram_size; }#endif /* CONFIG_SYS_RAMBOOT */
board/freescale/corenet_ds/ddr.c +1 -1
@@ -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; }
board/freescale/mpc8610hpcd/mpc8610hpcd.c +1 -1
@@ -145,7 +145,7 @@ initdram(int board_type)setup_ddr_bat (dram_size); -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }
board/freescale/mpc8641hpcn/mpc8641hpcn.c +1 -1
@@ -69,7 +69,7 @@ initdram(int board_type)setup_ddr_bat (dram_size); -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }
board/freescale/p2041rdb/ddr.c +1 -1
@@ -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; }
board/sbc8641d/sbc8641d.c +1 -1
@@ -63,7 +63,7 @@ phys_size_t initdram (int board_type) dram_size =fixed_sdram ();#endif -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }
Signature · 1 line
1.7.6
PATCH 1/1 MPC8xxx: drop redundant boot messages
Quoted 88 lines · Wolfgang Denk
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 <[email protected]>Cc Kumar Gala <[email protected]>--- arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- board/freescale/corenet_ds/ddr.c | 2 +- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 2 +- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 2 +- board/freescale/p2041rdb/ddr.c | 2 +- board/sbc8641d/sbc8641d.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)arch/powerpc/cpu/mpc85xx/cpu.c +1
-1@@ -358,7 +358,7 @@ phys_size_t initdram(int board_type)lbc_sdram_init ();#endif -puts ("DDR: " ); +debug ("DDR: " ); return dram_size; }#endif /* CONFIG_SYS_RAMBOOT */ board/freescale/corenet_ds/ddr.c +1
-1@@ -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; }board/freescale/mpc8610hpcd/mpc8610hpcd.c +1
-1@@ -145,7 +145,7 @@ initdram(int board_type)setup_ddr_bat (dram_size); -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }board/freescale/mpc8641hpcn/mpc8641hpcn.c +1
-1@@ -69,7 +69,7 @@ initdram(int board_type)setup_ddr_bat (dram_size); -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }board/freescale/p2041rdb/ddr.c +1
-1@@ -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; }board/sbc8641d/sbc8641d.c +0
-0
board/sbc8641d/sbc8641d.c phys_size_t initdram (int board_type) · line 69
Quoted 8 lines
board/sbc8641d/sbc8641d.c +1
-1@@ -63,7 +63,7 @@ phys_size_t initdram (int board_type) dram_size =fixed_sdram ();#endif -puts (" DDR: " ); +debug (" DDR: " );return dram_size; }
Acked-by York Sun <[email protected]>
Kumar Gala
AppliedPATCH 1/1 MPC8xxx: drop redundant boot messages
In reply to Wolfgang DenkQuoted 11 lines · Wolfgang Denk
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 <[email protected]>Cc Kumar Gala <[email protected]>
Quoted 8 lines
---
arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- board/freescale/corenet_ds/ddr.c | 2 +- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 2 +- board/freescale/mpc8641hpcn/mpc8641hpcn.c | 2 +- board/freescale/p2041rdb/ddr.c | 2 +- board/sbc8641d/sbc8641d.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
applied to 85xx
- k