summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-05-09 15:41:35 -0500
committerWolfgang Denk <wd@denx.de>2008-06-03 18:03:03 +0200
commitd5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9 (patch)
tree4106cf07a437b96478ba221a43c38e0697912d12 /include
parentc148f24c15743a02e855636e6bed013bd121f7f2 (diff)
downloadu-boot-imx-d5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9.zip
u-boot-imx-d5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9.tar.gz
u-boot-imx-d5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9.tar.bz2
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')
-rw-r--r--include/asm-ppc/mmu.h1
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__ */