Skip to content
Snippets Groups Projects
Commit e34a0e91 authored by Becky Bruce's avatar Becky Bruce Committed by Wolfgang Denk
Browse files

PPC: 86xx Add bat registers to reginfo command

parent d5b9b8cd
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <watchdog.h> #include <watchdog.h>
#include <command.h> #include <command.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/mmu.h>
#include <mpc86xx.h> #include <mpc86xx.h>
#include <asm/fsl_law.h> #include <asm/fsl_law.h>
...@@ -268,13 +269,14 @@ dma_xfer(void *dest, uint count, void *src) ...@@ -268,13 +269,14 @@ dma_xfer(void *dest, uint count, void *src)
/* /*
* Print out the state of various machine registers. * 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) void mpc86xx_reginfo(void)
{ {
immap_t *immap = (immap_t *)CFG_IMMR; immap_t *immap = (immap_t *)CFG_IMMR;
ccsr_lbc_t *lbc = &immap->im_lbc; ccsr_lbc_t *lbc = &immap->im_lbc;
print_bats();
print_laws(); print_laws();
printf ("Local Bus Controller Registers\n" printf ("Local Bus Controller Registers\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment