aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r--os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
index b1f9c15ac..862a7618c 100644
--- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
+++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c
@@ -52,6 +52,13 @@
#error "MCK too high, cannot configure MDC clock"
#endif
+/*
+ * BV1000GT boards use phy address 0
+ */
+#if defined(BOARD_ATSAM5D28_XULT)
+#define BOARD_PHY_ADDRESS 0
+#endif
+
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/