PPC: Change lib_ppc/bat_rw.c to use high bats
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 16 May 2008 02:29:04 +0000 (21:29 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jun 2008 16:01:24 +0000 (18:01 +0200)
commitc148f24c15743a02e855636e6bed013bd121f7f2
tree337587fcd59f154390d81b8d0ca31b76a3405b28
parent31d826722434931e1152a09d140187dcf72f8aac
PPC: Change lib_ppc/bat_rw.c to use high bats

Currently, this code only deals with BATs 0-3, which makes
it useless on systems that support BATs 4-7.  Add the
support for these registers.

Signed-off-by: Becky Bruce <Becky.bruce@freescale.com>
include/asm-ppc/mmu.h
lib_ppc/bat_rw.c