diff options
author | Heiko Schocher <hs@denx.de> | 2009-04-24 06:50:45 +0200 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2009-04-24 14:38:45 -0500 |
commit | 14b9308d511b53042ef478936e367a67282df66a (patch) | |
tree | 533071eedd5458d31ab4f24f3dbbce676e2ed278 /cpu/mpc83xx | |
parent | 8e15088794807944b221c11609d36789efc7f767 (diff) | |
download | u-boot-imx-14b9308d511b53042ef478936e367a67282df66a.zip u-boot-imx-14b9308d511b53042ef478936e367a67282df66a.tar.gz u-boot-imx-14b9308d511b53042ef478936e367a67282df66a.tar.bz2 |
83xx: searching "muram-data" by compatible property
if using CONFIG_BOOTCOUNT_LIMIT feature on a MPC8360 CPU
in the muram-data node, the reg entry needs to be updated.
This is done in fdt_fixup_muram(), but we should use
the compatible "fsl,qe-muram-data" for searching the
node instead of searching the muram-data node with
an absolute path.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r-- | cpu/mpc83xx/fdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc83xx/fdt.c b/cpu/mpc83xx/fdt.c index 4cc9047..13443cb 100644 --- a/cpu/mpc83xx/fdt.c +++ b/cpu/mpc83xx/fdt.c @@ -41,8 +41,8 @@ void fdt_fixup_muram (void *blob) data[0] = 0; data[1] = QE_MURAM_SIZE - 2 * sizeof(unsigned long); - do_fixup_by_path(blob, "/qe/muram/data-only", "reg", - data, sizeof (data), 0); + do_fixup_by_compat(blob, "fsl,qe-muram-data", "reg", + data, sizeof (data), 0); } #endif |