# HG changeset patch # User gthomas # Date 1034707674 0 # Node ID 3dded0c8835594d3a2999e049abf8f7d1aa247d1 # Parent 987360e269d5ff12e592e7275fce80727e5d979a Don't reset PHY on RAM startup. diff --git a/packages/hal/powerpc/ts1000/current/ChangeLog b/packages/hal/powerpc/ts1000/current/ChangeLog --- a/packages/hal/powerpc/ts1000/current/ChangeLog +++ b/packages/hal/powerpc/ts1000/current/ChangeLog @@ -1,3 +1,7 @@ +2002-10-15 Gary Thomas + + * src/ts1000.S: Don't reset PHY on RAM startup. + 2002-09-03 Gary Thomas * src/ts1000.S: diff --git a/packages/hal/powerpc/ts1000/current/src/ts1000.S b/packages/hal/powerpc/ts1000/current/src/ts1000.S --- a/packages/hal/powerpc/ts1000/current/src/ts1000.S +++ b/packages/hal/powerpc/ts1000/current/src/ts1000.S @@ -222,7 +222,12 @@ FUNC_START( hal_hardware_init ) lhz r3,PAPAR(r4) // papar &= ~0x803C andi. r3,r3,(~0x803C&0xFFFF) sth r3,PAPAR(r4) - lwi r3,0x803C +#ifdef CYG_HAL_STARTUP_RAM + lhz r3,PADAT(r4) // Turn off all LEDs, preserve PHY state + ori r3,r3,0x003C +#else + lwi r3,0x803C // Turn off all LEDS, reset PHY +#endif sth r3,PADAT(r4) LED( 0 ) # turn all LEDs off