summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-12-16 05:17:08 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 08:40:08 +0100
commit473c63592ea8cbcb5b57452e9857d961bb433cae (patch)
treee2fd0ab59380bb8fb79a21a187ac22a0c3899874 /include/configs
parent2ef2b9509554535dad7a8d15087c6df418f12f22 (diff)
downloadu-boot-imx-473c63592ea8cbcb5b57452e9857d961bb433cae.zip
u-boot-imx-473c63592ea8cbcb5b57452e9857d961bb433cae.tar.gz
u-boot-imx-473c63592ea8cbcb5b57452e9857d961bb433cae.tar.bz2
i.mx6q: arm2: Add the enet function support
This enable the network function on the i.mx6q armadillo2 board(arm2), thus we can use tftp to load image from network. Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Jason Liu <jason.hui@linaro.org> Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6qarm2.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index a7b363d..124a7a6 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -56,6 +56,16 @@
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_MII
+#define CONFIG_CMD_NET
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+#define IMX_FEC_BASE ENET_BASE_ADDR
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_FEC_MXC_PHYADDR 0
+
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CONS_INDEX 1
@@ -66,8 +76,6 @@
#include <config_cmd_default.h>
#undef CONFIG_CMD_IMLS
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
#define CONFIG_BOOTDELAY 3