From 4507c0a0a0e87aec662bedd54bdffdd81d26c643 Mon Sep 17 00:00:00 2001 From: Dipen Dudhat Date: Wed, 2 Sep 2009 11:25:08 +0530 Subject: [PATCH] ppc/85xx: Fix up eSDHC controller clock frequency in the device tree Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala --- cpu/mpc85xx/fdt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c index a692529689..8366379ab6 100644 --- a/cpu/mpc85xx/fdt.c +++ b/cpu/mpc85xx/fdt.c @@ -27,6 +27,9 @@ #include #include #include +#ifdef CONFIG_FSL_ESDHC +#include +#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 } -- 2.39.5