]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
PPC: 86xx Add bat registers to reginfo command
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 9 May 2008 00:02:51 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jun 2008 16:05:15 +0000 (18:05 +0200)
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
cpu/mpc86xx/cpu.c

index 3c7476445d01e1093a2484b83628167ac9bd836f..e26bf3671deac69bf253f6f86c23fb27e77e2f91 100644 (file)
@@ -26,6 +26,7 @@
 #include <watchdog.h>
 #include <command.h>
 #include <asm/cache.h>
+#include <asm/mmu.h>
 #include <mpc86xx.h>
 #include <asm/fsl_law.h>
 
@@ -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"