summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-05-08 19:02:51 -0500
committerWolfgang Denk <wd@denx.de>2008-06-03 18:05:15 +0200
commite34a0e911b6a1568d0ca864234fbd0ee060d9b35 (patch)
treedd5c387a0fd40f17dc1c534ecafe94c483081a12 /cpu
parentd5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9 (diff)
downloadtalos-obmc-uboot-e34a0e911b6a1568d0ca864234fbd0ee060d9b35.tar.gz
talos-obmc-uboot-e34a0e911b6a1568d0ca864234fbd0ee060d9b35.zip
PPC: 86xx Add bat registers to reginfo command
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc86xx/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 3c7476445d..e26bf3671d 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -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"
OpenPOWER on IntegriCloud