summaryrefslogtreecommitdiff
path: root/include/configs/MPC8641HPCN.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-07-15 13:45:00 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-07-22 09:08:50 -0500
commit9af9c6bdc16da53772c56b1a79c2c91701fe94e6 (patch)
tree599b8209eb83e12b9d9d61481b66e7383ac9a94e /include/configs/MPC8641HPCN.h
parent89188a62333c0841a7166783d2ebdd39d7044eb2 (diff)
downloadu-boot-imx-9af9c6bdc16da53772c56b1a79c2c91701fe94e6.zip
u-boot-imx-9af9c6bdc16da53772c56b1a79c2c91701fe94e6.tar.gz
u-boot-imx-9af9c6bdc16da53772c56b1a79c2c91701fe94e6.tar.bz2
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>
Diffstat (limited to 'include/configs/MPC8641HPCN.h')
-rw-r--r--include/configs/MPC8641HPCN.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 955ac3d..bf2e359 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -224,6 +224,8 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define PIXIS_VCFGEN0 0x12 /* VELA Config Enable 0 */
#define PIXIS_VCFGEN1 0x13 /* VELA Config Enable 1 */
#define PIXIS_VBOOT 0x16 /* VELA VBOOT Register */
+#define PIXIS_VBOOT_FMAP 0x80 /* VBOOT - CFG_FLASHMAP */
+#define PIXIS_VBOOT_FBANK 0x40 /* VBOOT - CFG_FLASHBANK */
#define PIXIS_VSPEED0 0x17 /* VELA VSpeed 0 */
#define PIXIS_VSPEED1 0x18 /* VELA VSpeed 1 */
#define PIXIS_VCLKH 0x19 /* VELA VCLKH register */