[PATCH 2/5] [ppc/mpc5xxx] Small text cleanups and ADDECR to output

Carsten Schlote carsten.schlote at gmx.net
Thu Oct 14 07:06:43 EDT 2010


From: Carsten Schlote <c.schlote at konzeptpark.de>

Trivial.

Signed-off-by: Carsten Schlote <c.schlote at konzeptpark.de>
---
 arch/ppc/mach-mpc5xxx/reginfo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/mach-mpc5xxx/reginfo.c b/arch/ppc/mach-mpc5xxx/reginfo.c
index 92a1b59..7d1ef64 100644
--- a/arch/ppc/mach-mpc5xxx/reginfo.c
+++ b/arch/ppc/mach-mpc5xxx/reginfo.c
@@ -4,8 +4,9 @@
 
 void reginfo(void)
 {
-	puts ("\nMPC5200 registers\n");
+	puts ("\nMPC5xxx registers\n");
 	printf ("MBAR=%08x\n", CFG_MBAR);
+	printf ("ADDECR=%08x\n", *(volatile ulong*)MPC5XXX_ADDECR);
 	puts ("Memory map registers\n");
 	printf ("\tCS0: start %08X\tstop %08X\tconfig %08X\ten %d\n",
 		*(volatile ulong*)MPC5XXX_CS0_START,
-- 
1.7.2.2.277.gb49c4




More information about the barebox mailing list