diff options
author | edolomb <none@example.com> | 2018-04-13 12:56:21 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-04-13 12:56:21 +0000 |
commit | 3cbbff60f22600092f2259b4b70fb446f726913e (patch) | |
tree | 77fb92ba6f710d25330b128b2104c9e1637b9348 | |
parent | 356e0f5fff2a9f1f633df8eb63c17f65fc280163 (diff) | |
download | ChibiOS-3cbbff60f22600092f2259b4b70fb446f726913e.tar.gz ChibiOS-3cbbff60f22600092f2259b4b70fb446f726913e.tar.bz2 ChibiOS-3cbbff60f22600092f2259b4b70fb446f726913e.zip |
Fixed phy address at 0 for SAMA5D28
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11921 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r-- | os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c | 7 |
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. */
/*===========================================================================*/
|