p2020ds: add alternate boot bank support using the ngPIXIS FPGA
authorTimur Tabi <timur@freescale.com>
Thu, 1 Apr 2010 15:49:42 +0000 (10:49 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 7 Apr 2010 05:21:28 +0000 (00:21 -0500)
commit5a4696088376fff82629e7e4a2444294dc589c96
tree57d4f2f21016eafc5dc1c4818995e6a673817486
parent2feb4af001a0be5ccad6e6a6eb072207cbef6e3f
p2020ds: add alternate boot bank support using the ngPIXIS FPGA

The Freescale P2020DS board uses a new type of PIXIS FPGA, called the ngPIXIS.
The ngPIXIS has one distinct new feature: the values of the on-board switches
can be selectively overridden with shadow registers.  This feature is used to
boot from a different NOR flash bank, instead of having a register dedicated
for this purpose.  Because the ngPIXIS is so different from the previous PIXIS,
a new file is introduced: ngpixis.c.

Also update the P2020DS checkboard() function to use the new macros defined
in the header file.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/Makefile
board/freescale/common/ngpixis.c [new file with mode: 0644]
board/freescale/common/ngpixis.h [new file with mode: 0644]
board/freescale/p2020ds/p2020ds.c
include/configs/P2020DS.h