diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-12 15:17:35 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-05-15 22:03:09 +0200 |
commit | fe6da4837308aa33d537ac3e7f36c2d66e3d9a36 (patch) | |
tree | 978ec99c720ea89ecb463a4ae45d7aad617246ff /cpu/lh7a40x/serial.c | |
parent | 12a6753155716e5c3c181a8f40e8b2d3d669aefd (diff) | |
download | u-boot-imx-fe6da4837308aa33d537ac3e7f36c2d66e3d9a36.zip u-boot-imx-fe6da4837308aa33d537ac3e7f36c2d66e3d9a36.tar.gz u-boot-imx-fe6da4837308aa33d537ac3e7f36c2d66e3d9a36.tar.bz2 |
MPC8260: fixup device tree by property instead of path
cpu/mpc8260/cpu.c used to use do_fixup_by_path_u32() to update the
clock frequencies in the device tree, using a CPU path
"/cpus/OF_CPU", with OF_CPU beind defined in the board config file.
However, this does not work when one board config file (here:
MPC8260ADS.h) is intended to be used for several diffrent CPUs and
therefor contains a generic definition like "cpu@0", as the device
trees that will then be loaded will contain specific names like
"PowerPC,8272@0".
We switch to using do_fixup_by_prop_u32() instead, so we can search
for device_type="cpu", as it is done in other architectures, too.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/lh7a40x/serial.c')
0 files changed, 0 insertions, 0 deletions