Re: [U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-25 Thread york sun
On 01/22/2016 02:20 AM, Ashish Kumar wrote: > Return value of ffs64() different to that of __ffs64(), > ffs64(0x8000) = 0x20 > __ffs64(0x8000) = 0x1f, >as result of this change -1 from start_align needs to be removed. > Incorrect DDR law was created in case of B4860qds > >

Re: [U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-25 Thread york sun
On 01/22/2016 02:20 AM, Ashish Kumar wrote: > Return value of ffs64() different to that of __ffs64(), > ffs64(0x8000) = 0x20 > __ffs64(0x8000) = 0x1f, >as result of this change -1 from start_align needs to be removed. > Incorrect DDR law was created in case of B4860qds > >

[U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-22 Thread Ashish Kumar
Return value of ffs64() different to that of __ffs64(), ffs64(0x8000) = 0x20 __ffs64(0x8000) = 0x1f, as result of this change -1 from start_align needs to be removed. Incorrect DDR law was created in case of B4860qds Signed-off-by: Ashish Kumar --- *