85xx: Report which "bank" of NOR flash we are booting from on FSL boards
authorKumar Gala <galak@kernel.crashing.org>
Wed, 15 Jul 2009 03:42:01 +0000 (22:42 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 22 Jul 2009 14:42:22 +0000 (09:42 -0500)
commit6bb5b412291177e6edd42f9a80e5c5afe57a6a0f
treee76ab269e5a3d402a738ad8b9716282bf2103a86
parent9af9c6bdc16da53772c56b1a79c2c91701fe94e6
85xx: Report which "bank" of NOR flash we are booting from on FSL boards

The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of
swizzling the upper address bits of the NOR flash we boot out of which
creates the concept of "virtual" banks.  This is useful in that we can
flash a test of image of u-boot and reset to one of the virtual banks
while still maintaining a working image in "bank 0".

The PIXIS FPGA exposes registers on LBC which we can use to determine
which "bank" we are booting out of (as well as setting which bank to
boot out of).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/p2020ds/p2020ds.c
include/configs/MPC8536DS.h
include/configs/MPC8544DS.h
include/configs/MPC8572DS.h
include/configs/P2020DS.h