Re: [U-Boot] [PATCH] powerpc/85xx: fix broken cpu "clock-frequency" property

2013-11-13 Thread york sun
On Oct 23, 2013, at 5:20 AM, Laurentiu Tudor wrote: > When indexing freqProcessor[] we use the first > value in the cpu's "reg" property, which on > new e6500 cores IDs the threads. > But freqProcessor[] should be indexed with a > core index so, when fixing "the clock-frequency" > cpu node proper

[U-Boot] [PATCH] powerpc/85xx: fix broken cpu "clock-frequency" property

2013-10-23 Thread Laurentiu Tudor
When indexing freqProcessor[] we use the first value in the cpu's "reg" property, which on new e6500 cores IDs the threads. But freqProcessor[] should be indexed with a core index so, when fixing "the clock-frequency" cpu node property, access the freqProcessor[] with the core index derived from th