aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-01-25 19:05:40 -0500
committerTom Rini <trini@ti.com>2015-01-25 19:05:40 -0500
commit03cae7261e00e0b36511625ed88f883187c17c77 (patch)
treef51093d699a0a1423b9ced808282c16652f1d729 /drivers
parent41ba57d0c7968506ddcc71604bd39131acf6ee23 (diff)
parent361b3d8613f57e137a9048ef69e58e9bcaf51b78 (diff)
downloadu-boot-03cae7261e00e0b36511625ed88f883187c17c77.zip
u-boot-03cae7261e00e0b36511625ed88f883187c17c77.tar.gz
u-boot-03cae7261e00e0b36511625ed88f883187c17c77.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-marvell
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mvgbe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c
index 6ef6cac..6b31a82 100644
--- a/drivers/net/mvgbe.c
+++ b/drivers/net/mvgbe.c
@@ -35,6 +35,10 @@
DECLARE_GLOBAL_DATA_PTR;
+#ifndef CONFIG_MVGBE_PORTS
+# define CONFIG_MVGBE_PORTS {0, 0}
+#endif
+
#define MV_PHY_ADR_REQUEST 0xee
#define MVGBE_SMI_REG (((struct mvgbe_registers *)MVGBE0_BASE)->smi)