]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: Adding board support for FMC daughter cards
authorJohn Linn <john.linn@xilinx.com>
Tue, 20 Dec 2011 19:16:44 +0000 (11:16 -0800)
committerJohn Linn <john.linn@xilinx.com>
Tue, 20 Dec 2011 19:16:44 +0000 (11:16 -0800)
The NAND working caused u-boot to lockup when there was
no NAND so now there's CONFIGs for each board permutation
of the ZC770. The default is for DC1 (XM010) card.

include/configs/xpele.h

index d372925262afa9ef94dc22cd5d890c97a96bbc26..5f74733f410aaf8bb8a2c674eabb21a8191583da 100644 (file)
 #define CONFIG_DFE             1 /* Board sub-type ("flavor"?) */
 #define CONFIG_PELE            1 /* SoC? */
 
-//#define CONFIG_ZYNQ_MIO_INIT 1       /* for use without FSBL */
-//#define CONFIG_ZYNQ_PLL_INIT 1       /* for use without FSBL */
-//#define CONFIG_ZYNQ_DDR_533_INIT     1       /* for use without FSBL */
+/* Select board: comment out all but one. */
 
-/* Select target configuration: comment out for ZC770 instead of EP107. */
 //#define CONFIG_EP107         1
+#define CONFIG_ZC770_XM010
+//#define CONFIG_ZC770_XM011
+//#define CONFIG_ZC770_XM010_XM011
 
 #ifdef CONFIG_EP107
 # include "../board/xilinx/dfe/xparameters.h"
 /*
  * NAND Flash settings
  */
+#if defined(CONFIG_ZC770_XM011) || defined(CONFIG_ZC770_XM010_XM011)
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_NAND_LOCK_UNLOCK
 #define CONFIG_SYS_MAX_NAND_DEVICE 1
 #define CONFIG_SYS_NAND_BASE XPSS_NAND_BASEADDR
 #define CONFIG_MTD_DEVICE
+#endif
 
 /* Place a Xilinx Boot ROM header in u-boot image? */
 #define CONFIG_PELE_XILINX_FLASH_HEADER