Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks

As pointed out by Appalayagari Sreedhar, make sure we include the fix
for SPORT hysteresis when reprogramming clocks.

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Robin Getz 2008-10-13 11:37:34 +08:00 committed by Bryan Wu
parent e9fae189ca
commit 71de1f8a63
5 changed files with 15 additions and 0 deletions

View File

@ -87,6 +87,9 @@ ENTRY(_start_dma_code)
r1 = PLL_BYPASS; /* Bypass the PLL? */ r1 = PLL_BYPASS; /* Bypass the PLL? */
r1 = r1 << 8; /* Shift it over */ r1 = r1 << 8; /* Shift it over */
r0 = r1 | r0; /* add them all together */ r0 = r1 | r0; /* add them all together */
#ifdef ANOMALY_05000265
r0 = BITSET(r0, 15); /* Add 250 mV of hysteresis to SPORT input pins */
#endif
p0.h = hi(PLL_CTL); p0.h = hi(PLL_CTL);
p0.l = lo(PLL_CTL); /* Load the address */ p0.l = lo(PLL_CTL); /* Load the address */

View File

@ -78,6 +78,9 @@ ENTRY(_start_dma_code)
r1 = PLL_BYPASS; /* Bypass the PLL? */ r1 = PLL_BYPASS; /* Bypass the PLL? */
r1 = r1 << 8; /* Shift it over */ r1 = r1 << 8; /* Shift it over */
r0 = r1 | r0; /* add them all together */ r0 = r1 | r0; /* add them all together */
#ifdef ANOMALY_05000265
r0 = BITSET(r0, 15); /* Add 250 mV of hysteresis to SPORT input pins */
#endif
p0.h = hi(PLL_CTL); p0.h = hi(PLL_CTL);
p0.l = lo(PLL_CTL); /* Load the address */ p0.l = lo(PLL_CTL); /* Load the address */

View File

@ -87,6 +87,9 @@ ENTRY(_start_dma_code)
r1 = PLL_BYPASS; /* Bypass the PLL? */ r1 = PLL_BYPASS; /* Bypass the PLL? */
r1 = r1 << 8; /* Shift it over */ r1 = r1 << 8; /* Shift it over */
r0 = r1 | r0; /* add them all together */ r0 = r1 | r0; /* add them all together */
#ifdef ANOMALY_05000265
r0 = BITSET(r0, 15); /* Add 250 mV of hysteresis to SPORT input pins */
#endif
p0.h = hi(PLL_CTL); p0.h = hi(PLL_CTL);
p0.l = lo(PLL_CTL); /* Load the address */ p0.l = lo(PLL_CTL); /* Load the address */

View File

@ -94,6 +94,9 @@ ENTRY(_start_dma_code)
r1 = PLL_BYPASS; /* Bypass the PLL? */ r1 = PLL_BYPASS; /* Bypass the PLL? */
r1 = r1 << 8; /* Shift it over */ r1 = r1 << 8; /* Shift it over */
r0 = r1 | r0; /* add them all together */ r0 = r1 | r0; /* add them all together */
#ifdef ANOMALY_05000265
r0 = BITSET(r0, 15); /* Add 250 mV of hysteresis to SPORT input pins */
#endif
p0.h = hi(PLL_CTL); p0.h = hi(PLL_CTL);
p0.l = lo(PLL_CTL); /* Load the address */ p0.l = lo(PLL_CTL); /* Load the address */

View File

@ -77,6 +77,9 @@ ENTRY(_start_dma_code)
r1 = PLL_BYPASS; /* Bypass the PLL? */ r1 = PLL_BYPASS; /* Bypass the PLL? */
r1 = r1 << 8; /* Shift it over */ r1 = r1 << 8; /* Shift it over */
r0 = r1 | r0; /* add them all together */ r0 = r1 | r0; /* add them all together */
#ifdef ANOMALY_05000265
r0 = BITSET(r0, 15); /* Add 250 mV of hysteresis to SPORT input pins */
#endif
p0.h = hi(PLL_CTL); p0.h = hi(PLL_CTL);
p0.l = lo(PLL_CTL); /* Load the address */ p0.l = lo(PLL_CTL); /* Load the address */