p2020ds: add alternate boot bank support using the ngPIXIS FPGA
PATCH v2 1/1 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.
--- board/freescale/common/Makefile | 1 + board/freescale/common/ngpixis.c | 136 +++++++++++++++++++++++++++++++++++++ board/freescale/common/ngpixis.h | 57 +++++++++++++++ board/freescale/p2020ds/p2020ds.c | 55 ++++++---------- include/configs/P2020DS.h | 62 ++--------------- 5 files changed, 222 insertions(+), 89 deletions(-) create mode 100644 board/freescale/common/ngpixis.c create mode 100644 board/freescale/common/ngpixis.h
board/freescale/common/Makefile +1 -0
@@ -33,6 +33,7 @@ COBJS-${CONFIG_FSL_CADMUS} += cadmus.o COBJS-${CONFIG_FSL_VIA} += cds_via.o COBJS-${CONFIG_FSL_DIU_FB} += fsl_diu_fb.o fsl_logo_bmp.o COBJS-${CONFIG_FSL_PIXIS} += pixis.o +COBJS-${CONFIG_FSL_NGPIXIS} += ngpixis.o COBJS-${CONFIG_PQ_MDS_PIB} += pq-mds-pib.o COBJS-${CONFIG_ID_EEPROM} += sys_eeprom.o COBJS-${CONFIG_FSL_SGMII_RISER} += sgmii_riser.o
board/freescale/common/ngpixis.c new file +136 -0
136 lines not on this page · raw message
board/freescale/common/ngpixis.h new file +57 -0
57 lines not on this page · raw message
board/freescale/p2020ds/p2020ds.c +20 -35
104 lines not on this page · raw message
include/configs/P2020DS.h +8 -54
74 lines not on this page · raw message
Signature · 1 line
1.6.5
Kumar Gala
AppliedPATCH v2 1/1 p2020ds: add alternate boot bank support using the ngPIXIS FPGA
Quoted 12 lines · Timur Tabi
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 <[email protected]>---
Quoted 8 lines
board/freescale/common/Makefile | 1 + board/freescale/common/ngpixis.c | 136 +++++++++++++++++++++++++++++++++++++ board/freescale/common/ngpixis.h | 57 +++++++++++++++ board/freescale/p2020ds/p2020ds.c | 55 ++++++---------- include/configs/P2020DS.h | 62 ++--------------- 5 files changed, 222 insertions(+), 89 deletions(-)create mode 100644
board/freescale/common/ngpixis.ccreate mode 100644board/freescale/common/ngpixis.h
applied to 85xx
- k