ml605_mmu: Move the hardcoded values to the init function
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 19 Jun 2015 04:16:45 +0000 (21:16 -0700)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sun, 21 Jun 2015 07:20:16 +0000 (17:20 +1000)
commita87310a62d1885b8f6d6b5b30227cbd9792d2c3c
tree67f6dc59d24ac1f970462acb94c374a2092cea21
parent6fad9e986b82c7c7ed7cfa0cc3ee38b3510a5432
ml605_mmu: Move the hardcoded values to the init function

Move the hard coded register values to the init function.
This also allows the entire reset function to be deleted, as
PVR registers are now preserved on reset.

The hardcoded PVR0 values can be removed as they are setting
the endianness and stack protection, which is already done
or invalid.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
hw/microblaze/petalogix_ml605_mmu.c