#define CONFIG_ZYNQ_SERIAL_UART1
-#include <configs/zynq_common.h>
-
-#if defined(CONFIG_AFX_NOR)
-#undef CONFIG_SYS_NO_FLASH
-#else
#define CONFIG_SYS_NO_FLASH
+#if defined(CONFIG_AFX_NOR)
+# undef CONFIG_SYS_NO_FLASH
#endif
+
+#include <configs/zynq_common.h>
+
+
+
#include <config_cmd_default.h>
-#define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */
#define CONFIG_REGINFO /* Again, debugging */
#undef CONFIG_CMD_SETGETDCR /* README says 4xx only */
#define CONFIG_TIMESTAMP /* print image timestamp on bootm, etc */
#define CONFIG_ZYNQ_XILINX_FLASH_HEADER
#endif
-/*
- * NOR Flash Settings
- */
-#ifndef CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_FLASH_BASE 0xE2000000
-#define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
-
-/* max number of sectors/blocks on one chip */
-#define CONFIG_SYS_MAX_FLASH_SECT 512
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
-#define CONFIG_SYS_FLASH_WRITE_TOUT 5000
-#define CONFIG_FLASH_SHOW_PROGRESS 10
-
-#define CONFIG_SYS_FLASH_CFI
-#undef CONFIG_SYS_FLASH_EMPTY_INFO
-#define CONFIG_FLASH_CFI_DRIVER
-#undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */
-#define CONFIG_ENV_OFFSET 0xC0000 /*768 KB*/
-#define CONFIG_ENV_SECT_SIZE 0x20000 /*128 KB*/
-#define CONFIG_ENV_IS_IN_FLASH
-#ifdef CONFIG_ZYNQ_XILINX_FLASH_HEADER
-#define CONFIG_ZYNQ_XIP_START CONFIG_SYS_FLASH_BASE
-#endif
-#else
-#define CONFIG_ENV_IS_NOWHERE
-#endif
/*
* Physical Memory map
#endif
#define CONFIG_SYS_HZ 1000
+
+/* no NOR flash */
+#ifdef CONFIG_SYS_NO_FLASH
+# define CONFIG_ENV_IS_NOWHERE
+#else
+# define CONFIG_SYS_FLASH_BASE 0xE2000000
+# define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
+# define CONFIG_SYS_MAX_FLASH_BANKS 1
+/* max number of sectors/blocks on one chip */
+# define CONFIG_SYS_MAX_FLASH_SECT 512
+# define CONFIG_SYS_FLASH_ERASE_TOUT 1000
+# define CONFIG_SYS_FLASH_WRITE_TOUT 5000
+# define CONFIG_FLASH_SHOW_PROGRESS 10
+
+# define CONFIG_SYS_FLASH_CFI
+# undef CONFIG_SYS_FLASH_EMPTY_INFO
+# define CONFIG_FLASH_CFI_DRIVER
+
+# undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */
+# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */
+
+# ifndef CONFIG_ENV_IS_NOWHERE
+# define CONFIG_ENV_OFFSET 0xC0000 /*768 KB*/
+# define CONFIG_ENV_SECT_SIZE 0x20000 /*128 KB*/
+# define CONFIG_ENV_IS_IN_FLASH
+# define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */
+# ifdef CONFIG_ZYNQ_XILINX_FLASH_HEADER
+# define CONFIG_ZYNQ_XIP_START CONFIG_SYS_FLASH_BASE
+# endif
+# endif
+#endif
+
#include <asm/arch/xparameters.h>
#define CONFIG_SYS_TEXT_BASE 0x04000000
#ifndef __CONFIG_H
#define __CONFIG_H
+#define CONFIG_ENV_IS_NOWHERE
+
#include <configs/zynq_common.h>
/* Disable uart console */
*/
#undef CONFIG_OF_LIBFDT
-#undef CONFIG_SYS_NO_FLASH
-#define CONFIG_ENV_IS_NOWHERE
+
+
#include <config_cmd_default.h>
#undef CONFIG_CMD_PING /* Might be useful for debugging */
/* #define CONFIG_ZYNQ_IP_ENV */
-#ifndef CONFIG_SYS_NO_FLASH
-
-/* FLASH organization */
-#define CONFIG_SYS_FLASH_BASE 0xE2000000
-#define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
-/* max number of sectors/blocks on one chip */
-#define CONFIG_SYS_MAX_FLASH_SECT 512
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
-#define CONFIG_SYS_FLASH_WRITE_TOUT 5000
-
-#define CONFIG_FLASH_SHOW_PROGRESS 10
-
-#define CONFIG_SYS_FLASH_CFI
-#undef CONFIG_SYS_FLASH_EMPTY_INFO
-#define CONFIG_FLASH_CFI_DRIVER
-
-#undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */
-#endif
/* Because (at least at first) we're going to be loaded via JTAG_Tcl */
#define CONFIG_SKIP_LOWLEVEL_INIT
"tftp 0x800000 ramdisk8M.image.gz;" \
"go 0x8000\0"
-/* Uncomment it if you don't want Flash */
-//#define CONFIG_SYS_NO_FLASH
#include <config_cmd_default.h>
#define CONFIG_CMD_PING /* Might be useful for debugging */
-#define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */
#define CONFIG_REGINFO /* Again, debugging */
#undef CONFIG_CMD_SETGETDCR /* README says 4xx only */
/* this is to set ipaddr, ethaddr and serverip env variables. */
#define CONFIG_ZYNQ_IP_ENV
-/*
- * NOR Flash Settings
- */
-#ifndef CONFIG_SYS_NO_FLASH
-
-#define CONFIG_SYS_FLASH_BASE 0xE2000000
-#define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
-/* max number of sectors/blocks on one chip */
-#define CONFIG_SYS_MAX_FLASH_SECT 512
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
-#define CONFIG_SYS_FLASH_WRITE_TOUT 5000
-#define CONFIG_FLASH_SHOW_PROGRESS 10
-
-#define CONFIG_SYS_FLASH_CFI
-#undef CONFIG_SYS_FLASH_EMPTY_INFO
-#define CONFIG_FLASH_CFI_DRIVER
-#undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */
-#define CONFIG_ENV_OFFSET 0xC0000 /*768 KB*/
-#define CONFIG_ENV_SECT_SIZE 0x20000 /*128 KB*/
-#define CONFIG_ENV_IS_IN_FLASH
-#else
-#define CONFIG_ENV_IS_NOWHERE
-#endif
/*
* Physical Memory map
#define CONFIG_ZYNQ_GEM0
#define CONFIG_PHY_ADDR 7
+#define CONFIG_SYS_NO_FLASH
+
+
#include <configs/zynq_common.h>
-/* no NOR on zc702 */
-#define CONFIG_SYS_NO_FLASH
-#define CONFIG_ENV_IS_NOWHERE
#include <config_cmd_default.h>
#define CONFIG_CMD_PING /* Might be useful for debugging */
#ifndef __CONFIG_ZYNQ_ZC770_H
#define __CONFIG_ZYNQ_ZC770_H
+#define CONFIG_SYS_NO_FLASH
#if defined(CONFIG_ZC770_XM010)
# define CONFIG_ZYNQ_SERIAL_UART1
#elif defined(CONFIG_ZC770_XM012)
# define CONFIG_ZYNQ_SERIAL_UART1
+# undef CONFIG_SYS_NO_FLASH
#elif defined(CONFIG_ZC770_XM013)
# define CONFIG_ZYNQ_SERIAL_UART0
# define CONFIG_ZYNQ_SERIAL_UART0
#endif
+
+
+
#include <configs/zynq_common.h>
-#if defined(CONFIG_ZC770_XM012)
-#undef CONFIG_SYS_NO_FLASH
-#else
-#define CONFIG_SYS_NO_FLASH
-#endif
#include <config_cmd_default.h>
-#define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */
#define CONFIG_REGINFO /* Again, debugging */
#undef CONFIG_CMD_SETGETDCR /* README says 4xx only */
#define CONFIG_ZYNQ_XILINX_FLASH_HEADER
#endif
-/*
- * NOR Flash Settings
- */
-#ifndef CONFIG_SYS_NO_FLASH
-
-#define CONFIG_SYS_FLASH_BASE 0xE2000000
-#define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
-/* max number of sectors/blocks on one chip */
-#define CONFIG_SYS_MAX_FLASH_SECT 512
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
-#define CONFIG_SYS_FLASH_WRITE_TOUT 5000
-#define CONFIG_FLASH_SHOW_PROGRESS 10
-
-#define CONFIG_SYS_FLASH_CFI
-#undef CONFIG_SYS_FLASH_EMPTY_INFO
-#define CONFIG_FLASH_CFI_DRIVER
-#undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */
-#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */
-#define CONFIG_ENV_OFFSET 0xC0000 /*768 KB*/
-#define CONFIG_ENV_SECT_SIZE 0x20000 /*128 KB*/
-#define CONFIG_ENV_IS_IN_FLASH
-#ifdef CONFIG_ZYNQ_XILINX_FLASH_HEADER
-#define CONFIG_ZYNQ_XIP_START CONFIG_SYS_FLASH_BASE
-#endif
-#else
-#define CONFIG_ENV_IS_NOWHERE
-#endif
-
/*
* Physical Memory map
*/
#define CONFIG_ZYNQ_GEM0
#define CONFIG_PHY_ADDR 0
+#define CONFIG_SYS_NO_FLASH
+
#include <configs/zynq_common.h>
-/* No NOR Flash available on ZedBoard */
-#define CONFIG_SYS_NO_FLASH
-#define CONFIG_ENV_IS_NOWHERE
+
#undef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \
#include <config_cmd_default.h>
#define CONFIG_CMD_PING /* Might be useful for debugging */
-#define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */
#define CONFIG_REGINFO /* Again, debugging */
#undef CONFIG_CMD_SETGETDCR /* README says 4xx only */