From 6e6b99c5fb8575286490c42245062220f173b17f Mon Sep 17 00:00:00 2001 From: Joris van Vossen Date: Tue, 24 Apr 2018 10:46:02 +0200 Subject: Grapeboard Eth PHY LED configuration updated 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 */ -- cgit v0.10.2