From: Becky Bruce Date: Fri, 9 May 2008 00:02:51 +0000 (-0500) Subject: PPC: 86xx Add bat registers to reginfo command X-Git-Tag: v2008.10-rc1~283^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e34a0e911b6a1568d0ca864234fbd0ee060d9b35;p=platform%2Fkernel%2Fu-boot.git PPC: 86xx Add bat registers to reginfo command Signed-off-by: Becky Bruce --- diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c index 3c74764..e26bf36 100644 --- a/cpu/mpc86xx/cpu.c +++ b/cpu/mpc86xx/cpu.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -268,13 +269,14 @@ dma_xfer(void *dest, uint count, void *src) /* * Print out the state of various machine registers. - * Currently prints out LAWs and BR0/OR0 + * Currently prints out LAWs, BR0/OR0, and BATs */ void mpc86xx_reginfo(void) { immap_t *immap = (immap_t *)CFG_IMMR; ccsr_lbc_t *lbc = &immap->im_lbc; + print_bats(); print_laws(); printf ("Local Bus Controller Registers\n"