powerpc: Enable additional BAT registers in setup_745x_specifics()
authorGerhard Pircher <gerhard_pircher@gmx.net>
Sat, 6 Jun 2009 11:12:36 +0000 (11:12 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:31 +0000 (21:45 -0500)
commitf1f8b4948d19ae84fe37e36601ae064102dfa5ab
tree227f9c3d01e2f200496a3765df0a802f17be74bf
parentb7d66c88c968379ebe683a28c4005895497ebbad
powerpc: Enable additional BAT registers in setup_745x_specifics()

Currently the kernel expects the additional four IBAT and DBAT registers
to be available, but doesn't enable these registers on 745x CPUs, which
have them disabled after reset. Thus set the HIGH_BAT_EN bit in HID0
register, if the corresponding MMU feature is defined.

Signed-off-by: Gerhard Pircher <gerhard_pircher@gmx.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/cpu_setup_6xx.S