]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc/85xx: Fix up eSDHC controller clock frequency in the device tree
authorDipen Dudhat <dipen.dudhat@freescale.com>
Wed, 2 Sep 2009 05:55:08 +0000 (11:25 +0530)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:15 +0000 (09:04 -0500)
Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/fdt.c

index a692529689d34bf66ccf0c28abb0eae2b26bcdc4..8366379ab60f8a4518f1d9a08d3aa98401322487 100644 (file)
@@ -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
 }