Browse Source

Fix NetConsole support on 4xx (only print eth link on 1st transfer)
Patch by Stefan Roese, 18 Oct 2005

Stefan Roese 19 years ago
parent
commit
a93316c5e9
2 changed files with 5 additions and 0 deletions
  1. 3 0
      CHANGELOG
  2. 2 0
      cpu/ppc4xx/4xx_enet.c

+ 3 - 0
CHANGELOG

@@ -2,6 +2,9 @@
 Changes for U-Boot 1.1.4:
 Changes for U-Boot 1.1.4:
 ======================================================================
 ======================================================================
 
 
+* Fix NetConsole support on 4xx (only print eth link on 1st transfer)
+  Patch by Stefan Roese, 18 Oct 2005
+
 * Add fat & ext2 support to AMCC 440EP boards Yosemite & Bamboo.
 * Add fat & ext2 support to AMCC 440EP boards Yosemite & Bamboo.
   Fix identation on ext2ls help entry.
   Fix identation on ext2ls help entry.
   Patch by Stefan Roese, 14 Oct 2005
   Patch by Stefan Roese, 14 Oct 2005

+ 2 - 0
cpu/ppc4xx/4xx_enet.c

@@ -186,7 +186,9 @@ static void ppc_4xx_eth_halt (struct eth_device *dev)
 	/* EMAC RESET */
 	/* EMAC RESET */
 	out32 (EMAC_M0 + hw_p->hw_addr, EMAC_M0_SRST);
 	out32 (EMAC_M0 + hw_p->hw_addr, EMAC_M0_SRST);
 
 
+#ifndef CONFIG_NETCONSOLE
 	hw_p->print_speed = 1;	/* print speed message again next time */
 	hw_p->print_speed = 1;	/* print speed message again next time */
+#endif
 
 
 	return;
 	return;
 }
 }