diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-05-09 20:41:35 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-03 16:03:03 (GMT) |
commit | d5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9 (patch) | |
tree | 4106cf07a437b96478ba221a43c38e0697912d12 /include/asm-ppc/mmu.h | |
parent | c148f24c15743a02e855636e6bed013bd121f7f2 (diff) | |
download | u-boot-fsl-qoriq-d5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9.tar.xz |
PPC: Add print_bats() to lib_ppc/bat_rw.c
This function prints the values of all the BAT register
pairs - I needed this for debug earlier this week; adding it to
lib_ppc so others can use it (and add it to reginfo commands
if so desired).
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'include/asm-ppc/mmu.h')
-rw-r--r-- | include/asm-ppc/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index 59f17de..050a7b6 100644 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h @@ -149,6 +149,7 @@ typedef enum { extern int read_bat(ppc_bat_t bat, unsigned long *upper, unsigned long *lower); extern int write_bat(ppc_bat_t bat, unsigned long upper, unsigned long lower); +extern void print_bats(void); #endif /* __ASSEMBLY__ */ |