diff options
author | edolomb <none@example.com> | 2018-02-26 22:15:22 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-02-26 22:15:22 +0000 |
commit | 663643f8a0a8e401d57edcbe2a31c7bc563ef67b (patch) | |
tree | 0fa5a06ca1717e3d394af3dad5c577c7fca74435 /os/hal/ports/SAMA | |
parent | c8845294dd5c7d3214e8ffa25d61052522945b25 (diff) | |
download | ChibiOS-663643f8a0a8e401d57edcbe2a31c7bc563ef67b.tar.gz ChibiOS-663643f8a0a8e401d57edcbe2a31c7bc563ef67b.tar.bz2 ChibiOS-663643f8a0a8e401d57edcbe2a31c7bc563ef67b.zip |
Removed pin's configuration
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11554 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r-- | os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c | 16 |
1 files changed, 0 insertions, 16 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 69769bcee..ae553b62d 100644 --- a/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c +++ b/os/hal/ports/SAMA/LLD/MACv1/hal_mac_lld.c @@ -83,21 +83,6 @@ static uint32_t __eth_tb[SAMA_MAC_TRANSMIT_BUFFERS][BUFFER_SIZE]; /* Driver local macros. */
/*===========================================================================*/
/**
- * @brief Configures ETH pins.
- * TODO: move into board.c
- *
- * @notapi
- */
-void configurePinsETH(void) {
- palSetGroupMode(PIOB, PAL_PORT_BIT(PIOB_ETH_GTXCK) | PAL_PORT_BIT(PIOB_ETH_GTXEN) |
- PAL_PORT_BIT(PIOB_ETH_GRXDV) | PAL_PORT_BIT(PIOB_ETH_GRXER) |
- PAL_PORT_BIT(PIOB_ETH_GRX0) | PAL_PORT_BIT(PIOB_ETH_GRX1) |
- PAL_PORT_BIT(PIOB_ETH_GTX0) | PAL_PORT_BIT(PIOB_ETH_GTX1) |
- PAL_PORT_BIT(PIOB_ETH_GMDC) | PAL_PORT_BIT(PIOB_ETH_GMDIO),
- 0U, PAL_SAMA_FUNC_PERIPH_F | PAL_MODE_SECURE);
-}
-
-/**
* @brief Waits for phy management logic idle.
*
* @notapi
@@ -255,7 +240,6 @@ void mac_lld_init(void) { mtxConfigPeriphSecurity(MATRIX1, ID_GMAC0_Q2, SECURE_PER);
#endif /* SAMA_HAL_IS_SECURE */
- configurePinsETH();
macObjectInit(ÐD0);
ETHD0.link_up = false;
|