]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Move ramsize to the begging of config files
authorMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 13:09:00 +0000 (15:09 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 15:13:29 +0000 (17:13 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/zynq_afx.h
include/configs/zynq_cseflash.h
include/configs/zynq_ep107.h
include/configs/zynq_zc70x.h
include/configs/zynq_zc770.h
include/configs/zynq_zed.h

index 926b2fe72c62306a6841dc87ef6f86258fa05cf5..17b43d81be54748c2cc349d80ce9544380a0426f 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __CONFIG_ZYNQ_AFX_H
 #define __CONFIG_ZYNQ_AFX_H
 
+#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
+
 #define CONFIG_ZYNQ_SERIAL_UART1
 
 #define CONFIG_SYS_NO_FLASH
 #endif
 
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
 
 /*
  * SPI Settings
index 06bd6bc21bb48ab680a162e75f93d99808f75e40..b99617c0801783ab8ed365ec0a831285638490a4 100644 (file)
@@ -4,6 +4,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define PHYS_SDRAM_1_SIZE (256 * 1024 * 1024)
+
 #define CONFIG_ENV_IS_NOWHERE
 
 #include <configs/zynq_common.h>
 /* Because (at least at first) we're going to be loaded via JTAG_Tcl */
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (256 * 1024 * 1024)
+
 
 /* Why? */
 #undef CONFIG_ENV_SIZE
index 8795762f3e51ed467be69712a59357c71fe399d4..06ff2e69c79ccdabe5b40b4045f90d29965f9806 100644 (file)
@@ -20,6 +20,8 @@
 
 #define CONFIG_EP107 /* Board */
 
+#define PHYS_SDRAM_1_SIZE (256 * 1024 * 1024)
+
 #define CONFIG_ZYNQ_SERIAL_UART0
 #define CONFIG_ZYNQ_GEM0
 #define CONFIG_PHY_ADDR        23
 #define CONFIG_ZYNQ_IP_ENV
 
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (256 * 1024 * 1024)
-
 /*
  * SPI Settings
  */
index 09b83ea1fd4a543447c52c7e11aadce99123d6c8..7dc8cb85e02d9d9e59940b32687f389546298c4c 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __CONFIG_ZYNQ_ZC70X_H
 #define __CONFIG_ZYNQ_ZC70X_H
 
+#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
+
 #define CONFIG_ZYNQ_SERIAL_UART1
 #define CONFIG_ZYNQ_GEM0
 #define CONFIG_PHY_ADDR        7
 /* this is to set ipaddr, ethaddr and serverip env variables. */
 #define CONFIG_ZYNQ_IP_ENV
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
+
 
 /*
  * SPI Settings
index e54c52acb5dcacad8db6527a5ba35f5dd845e700..2903bc5e8d4117c6b705d22b80a4da937e3d9181 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __CONFIG_ZYNQ_ZC770_H
 #define __CONFIG_ZYNQ_ZC770_H
 
+#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
+
 #define CONFIG_SYS_NO_FLASH
 
 #if defined(CONFIG_ZC770_XM010)
 #define CONFIG_ZYNQ_XILINX_FLASH_HEADER
 #endif
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
+
 
 
 /*
index 147568a15006c28e559bf604bd16029d2d27376a..0f54f78de4c260ad71bc588cf41f5d9210be7d01 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __CONFIG_ZYNQ_ZED_H
 #define __CONFIG_ZYNQ_ZED_H
 
+#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024)
+
 #define CONFIG_ZYNQ_SERIAL_UART1
 #define CONFIG_ZYNQ_GEM0
 #define CONFIG_PHY_ADDR        0
 /* this is to set ipaddr, ethaddr and serverip env variables. */
 #define CONFIG_ZYNQ_IP_ENV
 
-/*
- * Physical Memory map
- */
-#define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024)
+
 
 /*
  * SPI Settings