]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Move ethernet config to one file
authorMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 13:01:24 +0000 (15:01 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 15:13:29 +0000 (17:13 +0200)
Also move command config to common file.

Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/zynq_afx.h
include/configs/zynq_common.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 a84659303419779edc040c4b83a9c9fde956d273..cf939c54af0b3d1c62cf775a95cbccc761ea075d 100644 (file)
@@ -30,7 +30,6 @@
 
 
 
-#include <config_cmd_default.h>
 #define CONFIG_REGINFO         /* Again, debugging */
 #undef CONFIG_CMD_SETGETDCR    /* README says 4xx only */
 #define CONFIG_TIMESTAMP       /* print image timestamp on bootm, etc */
  */
 #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
 
-/*
- * Ethernet Settings
- */
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
-#undef CONFIG_BOOTM_NETBSD
-
 /*
  * SPI Settings
  */
index 5df1860e3fb796619014f429afccf0e0ff17d4af..6cf8ea0527131cfc938a31e5ef74d3becdeb4f92 100644 (file)
@@ -65,6 +65,7 @@
 # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
 # define CONFIG_PHYLIB
 # define CONFIG_PHY_MARVELL
+# define CONFIG_SYS_ENET
 #endif
 
 /* SCU timer address is hardcoded */
 # endif
 #endif
 
+
+
+#include <config_cmd_default.h>
+
+
+#ifdef CONFIG_SYS_ENET
+# define CONFIG_CMD_PING
+# define CONFIG_CMD_MII
+#else
+# undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
+#endif
+
+
+
 #include <asm/arch/xparameters.h>
 
 #define CONFIG_SYS_TEXT_BASE 0x04000000
 
 #define CONFIG_BOARD_LATE_INIT
 
+#undef CONFIG_BOOTM_NETBSD
+
 #endif /* __CONFIG_ZYNQ_COMMON_H */
index 9c370da9ed9aeae9bef51d6707640f96934b18a5..0a854160d18b5251a17e3942aa5ff1f5dccb6c9d 100644 (file)
 
 
 
-#include <config_cmd_default.h>
-#undef CONFIG_CMD_PING         /* Might be useful for debugging */
 #undef CONFIG_REGINFO          /* Again, debugging */
 #undef CONFIG_CMD_SETGETDCR    /* README says 4xx only */
 #undef CONFIG_CMD_EDITENV
 #undef CONFIG_CMD_SAVEENV
 
-#undef CONFIG_CMD_NET          /* bootp, tftpboot, rarpboot    */
-#undef CONFIG_CMD_NFS          /* NFS support                  */
 #undef CONFIG_CMD_FPGA
 #undef CONFIG_CMD_XIMG
 
index 710c42064f892639cff5c2f352987a3d956687a7..d18467376e1f564b1434ac9c9467c1e155aafddb 100644 (file)
@@ -66,8 +66,6 @@
                "go 0x8000\0"
 
 
-#include <config_cmd_default.h>
-#define CONFIG_CMD_PING                /* Might be useful for debugging */
 #define CONFIG_REGINFO         /* Again, debugging */
 #undef CONFIG_CMD_SETGETDCR    /* README says 4xx only */
 
index 09cde5a102eb738d93840a3510e8b250804a8c93..ac4894af62554dea7e66318f2dda8cbe98bcd36b 100644 (file)
 #include <configs/zynq_common.h>
 
 
-#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 */
 
-#define CONFIG_CMD_MII
 
 #define CONFIG_TIMESTAMP       /* print image timestamp on bootm, etc */
 
index 341b85513753e14dc547baaa7c54d46d1d037d8e..054a6a5e2bcbaa78dba205dc8f76e0fd4f490dac 100644 (file)
@@ -47,7 +47,6 @@
 #include <configs/zynq_common.h>
 
 
-#include <config_cmd_default.h>
 #define CONFIG_REGINFO         /* Again, debugging */
 #undef CONFIG_CMD_SETGETDCR    /* README says 4xx only */
 
 #define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
 
 
-/*
- * Ethernet Settings
- */
-#if defined(CONFIG_ZC770_XM010) || defined(CONFIG_ZC770_XM013)
-#define CONFIG_CMD_PING
-#else
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
-#undef CONFIG_BOOTM_NETBSD
-#endif
-
 /*
  * SPI Settings
  */
index 538d65894bdd94e31e5a93835fd46d5dd8dbeb3c..99c55f1968749acf76a98aad1d71adcb472436bb 100644 (file)
@@ -50,8 +50,6 @@
                "tftp 0x800000 ramdisk8M.image.gz;" \
                "go 0x8000\0"
 
-#include <config_cmd_default.h>
-#define CONFIG_CMD_PING                /* Might be useful for debugging */
 #define CONFIG_REGINFO         /* Again, debugging */
 #undef CONFIG_CMD_SETGETDCR    /* README says 4xx only */