Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming...
authorRobin Getz <rgetz@blackfin.uclinux.org>
Mon, 13 Oct 2008 03:37:34 +0000 (11:37 +0800)
committerBryan Wu <cooloney@kernel.org>
Mon, 13 Oct 2008 03:37:34 +0000 (11:37 +0800)
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>
arch/blackfin/mach-bf527/head.S
arch/blackfin/mach-bf533/head.S
arch/blackfin/mach-bf537/head.S
arch/blackfin/mach-bf548/head.S
arch/blackfin/mach-bf561/head.S

index 28c486191209669f1bc2cd48f82fe8930d8e3c09..6588170e3845be874e4c37b5e20b465f1c07fe39 100644 (file)
@@ -87,6 +87,9 @@ ENTRY(_start_dma_code)
        r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
        r1 = r1 << 8;                    /* Shift it over                   */
        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.l = lo(PLL_CTL);              /* Load the address                */
index 01b2b7ead5abf24aa4d0aaa45b6ad2d0f6315fd2..619685b94d90cfea03dc7c9e5092295140e0f6eb 100644 (file)
@@ -78,6 +78,9 @@ ENTRY(_start_dma_code)
        r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
        r1 = r1 << 8;                    /* Shift it over                   */
        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.l = lo(PLL_CTL);              /* Load the address                */
index 12eb5cc571d082c80181da8401dff77cb4c1a50c..559a7eef7a38e89080dac76391de783c5cb1cd28 100644 (file)
@@ -87,6 +87,9 @@ ENTRY(_start_dma_code)
        r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
        r1 = r1 << 8;                    /* Shift it over                   */
        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.l = lo(PLL_CTL);              /* Load the address                */
index b0628164e5d9cd681b9ed09bf6fcd026a99ea029..051b05c88027130e2c05f190805ac31f9da29fa9 100644 (file)
@@ -94,6 +94,9 @@ ENTRY(_start_dma_code)
        r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
        r1 = r1 << 8;                    /* Shift it over                   */
        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.l = lo(PLL_CTL);              /* Load the address                */
index 75ea6a9058296fd62c4386e9b9ebec2a1e5c3342..0b28137b3dea1958fc038a9f2b06f12d8a7a0c96 100644 (file)
@@ -77,6 +77,9 @@ ENTRY(_start_dma_code)
        r1 = PLL_BYPASS;                 /* Bypass the PLL?                 */
        r1 = r1 << 8;                    /* Shift it over                   */
        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.l = lo(PLL_CTL);              /* Load the address                */