diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-12-19 18:59:26 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-01-16 13:16:24 +0800 |
commit | 7fdcbac5d6879a14c62b5bb52a4d164274eb8cd8 (patch) | |
tree | d3060bec0e7ffce370f119395ac31eecc0c9d00b /drivers/mmc/fsl_esdhc.c | |
parent | 6982315adffa80f66091dd417086e97bfb6a013d (diff) | |
download | u-boot-7fdcbac5d6879a14c62b5bb52a4d164274eb8cd8.tar.gz u-boot-7fdcbac5d6879a14c62b5bb52a4d164274eb8cd8.tar.bz2 u-boot-7fdcbac5d6879a14c62b5bb52a4d164274eb8cd8.zip |
mmc: fsl_esdhc: drop useless fdt fixup
The fdt fixup for properties "peripheral-frequency" and "adapter-type"
was once for a Freescale SDK release. The properties haven't been existed
in linux mainline. Drop these useless code.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r-- | drivers/mmc/fsl_esdhc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 1e7d606cd8..8655503319 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -716,17 +716,8 @@ void fdt_fixup_esdhc(void *blob, bd_t *bd) if (esdhc_status_fixup(blob, compat)) return; -#ifdef CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK - do_fixup_by_compat_u32(blob, compat, "peripheral-frequency", - gd->arch.sdhc_clk, 1); -#else do_fixup_by_compat_u32(blob, compat, "clock-frequency", gd->arch.sdhc_clk, 1); -#endif -#ifdef CONFIG_FSL_ESDHC_ADAPTER_IDENT - do_fixup_by_compat_u32(blob, compat, "adapter-type", - (u32)(gd->arch.sdhc_adapter), 1); -#endif } #endif |