PPC: Add print_bats() to lib_ppc/bat_rw.c
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 9 May 2008 20:41:35 +0000 (15:41 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jun 2008 16:03:03 +0000 (18:03 +0200)
commitd5b9b8cdb8b6eb3a8b0f5d9909d69ccc9c703ed9
tree4106cf07a437b96478ba221a43c38e0697912d12
parentc148f24c15743a02e855636e6bed013bd121f7f2
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>
include/asm-ppc/mmu.h
lib_ppc/bat_rw.c