diff options
author | Laurentiu TUDOR <Laurentiu.Tudor@freescale.com> | 2013-10-23 15:20:45 +0300 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-11-13 12:41:28 -0800 |
commit | 51abee64eee0186634858d1e6f91a65969c90125 (patch) | |
tree | a394f39e7a8c69e9205780850060db4f3b2661d8 /include/kgdb.h | |
parent | 8f9fe660fcf99af47dc0a28b80cd4e34d403f7c5 (diff) | |
download | u-boot-imx-51abee64eee0186634858d1e6f91a65969c90125.zip u-boot-imx-51abee64eee0186634858d1e6f91a65969c90125.tar.gz u-boot-imx-51abee64eee0186634858d1e6f91a65969c90125.tar.bz2 |
powerpc/85xx: fix broken cpu "clock-frequency" property
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 the "reg' property.
If we don't do this, last half of the "cpu" nodes
will have broken "clock-frequency" values.
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/kgdb.h')
0 files changed, 0 insertions, 0 deletions