]> git.dujemihanovic.xyz Git - u-boot.git/commit
86xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCN
authorKumar Gala <galak@kernel.crashing.org>
Wed, 15 Jul 2009 18:45:00 +0000 (13:45 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 22 Jul 2009 14:08:50 +0000 (09:08 -0500)
commit9af9c6bdc16da53772c56b1a79c2c91701fe94e6
tree599b8209eb83e12b9d9d61481b66e7383ac9a94e
parent89188a62333c0841a7166783d2ebdd39d7044eb2
86xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCN

The MPC8641HPCN board is capable of swizzling the upper address bit 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/mpc8641hpcn/mpc8641hpcn.c
include/configs/MPC8641HPCN.h