[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpu on post feb. 2005 Powerbook: patch does not work



On Mon, 2005-03-28 at 13:32 +0100, Jochen Voss wrote:

>     diff -ur linux-2.6.11.4.orig/arch/ppc/kernel/misc.S linux-2.6.11/arch/ppc/kernel/misc.S
>     --- linux-2.6.11.4.orig/arch/ppc/kernel/misc.S  2005-03-02 07:38:26.000000000 +0000
>     +++ linux-2.6.11/arch/ppc/kernel/misc.S 2005-03-19 11:06:29.000000000 +0000
>     @@ -263,7 +263,7 @@
> 	    mfspr   r4,SPRN_HID1
> 	    insrwi  r4,r3,1,9       /* insert parameter into bit 9 */
> 	    sync
>     -       mtspr   SPRN_HID1,r4
>     +       /* mtspr        SPRN_HID1,r4 */
> 	    sync
> 	    isync
> 
> This proves, I think, that the problem is that the voltage is not
> properly ramped up to the full value.

Have you actually tried the patch ? The previous was just using "reg"
property for the gpio offset, which is wrong, it should add 0x50 to it,
which is what read_gpio() does...




Reply to: