summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorDipen Dudhat <dipen.dudhat@freescale.com>2009-09-02 11:25:08 +0530
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:04 -0500
commitda1cd955dfec35b0e15381ad1ee248fa194eed82 (patch)
treeeae83450f49b1f4e60507903429dbb54c4a890c9 /cpu/mpc85xx
parent2abbd31da6d900473ed678ca50789ee58bc9bb00 (diff)
downloadu-boot-imx-da1cd955dfec35b0e15381ad1ee248fa194eed82.zip
u-boot-imx-da1cd955dfec35b0e15381ad1ee248fa194eed82.tar.gz
u-boot-imx-da1cd955dfec35b0e15381ad1ee248fa194eed82.tar.bz2
ppc/85xx: Fix up eSDHC controller clock frequency in the device tree
Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/fdt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c
index a692529..8366379 100644
--- a/cpu/mpc85xx/fdt.c
+++ b/cpu/mpc85xx/fdt.c
@@ -27,6 +27,9 @@
#include <libfdt.h>
#include <fdt_support.h>
#include <asm/processor.h>
+#ifdef CONFIG_FSL_ESDHC
+#include <fsl_esdhc.h>
+#endif
DECLARE_GLOBAL_DATA_PTR;
@@ -326,4 +329,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#endif
ft_fixup_cache(blob);
+
+#if defined(CONFIG_FSL_ESDHC)
+ fdt_fixup_esdhc(blob, bd);
+#endif
}