summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris van Vossen <joris.van.vossen@sintecs.nl>2018-04-24 08:46:02 (GMT)
committerJoris van Vossen <joris.van.vossen@sintecs.nl>2018-04-24 08:46:02 (GMT)
commit6e6b99c5fb8575286490c42245062220f173b17f (patch)
tree4b70cc936ce824808ce56101d91faa7d2045f312
parent107522cc1edda84dc6565e50866ff0b7c959f764 (diff)
downloadu-boot-6e6b99c5fb8575286490c42245062220f173b17f.tar.xz
Grapeboard Eth PHY LED configuration updated
-rw-r--r--board/scalys/grapeboard/eth.c8
-rw-r--r--board/scalys/grapeboard/grapeboard.c4
2 files changed, 4 insertions, 8 deletions
diff --git a/board/scalys/grapeboard/eth.c b/board/scalys/grapeboard/eth.c
index 43b3e92..d1860dc 100644
--- a/board/scalys/grapeboard/eth.c
+++ b/board/scalys/grapeboard/eth.c
@@ -71,10 +71,10 @@ int board_eth_init(bd_t *bis)
* LED_3 = 0x0: Link established (not connected)
* LED_2 = 0x0: Link established (not connected)
* LED_1 = 0xB: Link established, blink for activity (green LED)
- * LED_0 = 0x8: 10/100BT link established (orange LED)
+ * LED_0 = 0x5: 1000BT link established (orange LED)
*/
- miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC1_PHY_ADDR,0x18,0x00B8);
- miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC2_PHY_ADDR,0x18,0x00B8);
+ miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC1_PHY_ADDR,0x18,0x00B5);
+ miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC2_PHY_ADDR,0x18,0x00B5);
/* Enable PHY Power save mode */
miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC1_PHY_ADDR,0x10,0x0200);
@@ -83,4 +83,4 @@ int board_eth_init(bd_t *bis)
cpu_eth_init(bis);
#endif
return pci_eth_init(bis);
-} \ No newline at end of file
+}
diff --git a/board/scalys/grapeboard/grapeboard.c b/board/scalys/grapeboard/grapeboard.c
index 6bb6f82..1e3d3eb 100644
--- a/board/scalys/grapeboard/grapeboard.c
+++ b/board/scalys/grapeboard/grapeboard.c
@@ -53,10 +53,6 @@ int checkboard(void)
env_set_ulong("recoverymode", recovery_mode_enabled);
- /* set QSPI chip select muxing to 0 */
- setbits_be32(&pgpio->gpdir, QSPI_MUX_N_MASK);
- clrbits_be32(&pgpio->gpdat, QSPI_MUX_N_MASK);
-
bcd_dtc_blob = get_boardinfo_rescue_flash();
if (bcd_dtc_blob != NULL) {
/* Board Configuration Data is intact, ready for parsing */