summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDipen Dudhat <[email protected]>2009-09-02 11:25:08 +0530
committerTom Rix <[email protected]>2009-10-03 09:04:15 -0500
commit4507c0a0a0e87aec662bedd54bdffdd81d26c643 (patch)
treea6d98261a86cb306f9fd0696556b1c46756dcf48
parented4b37e867714e264526d58edd5dce96e945024c (diff)
ppc/85xx: Fix up eSDHC controller clock frequency in the device tree
Signed-off-by: Dipen Dudhat <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
-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 a692529689d..8366379ab60 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
}