[PATCH 0/6] Clean up eSDHC periperhal clock code

Yangbo Lu yangbo.lu at nxp.com
Thu Dec 19 11:59:24 CET 2019


This patch-set is to clean up eSDHC peripheral clock code.
- Drop useless code in esdhc/esdhc_imx drivers and powerpc/.
- Add global variable sdhc_per_clk for peripehral clock.
- Drop CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK option and let
  driver decides which clock to use.
- Some fixes for peripehral clock calcualtion.

Yangbo Lu (6):
  mmc: fsl_esdhc_imx: drop QorIQ eSDHC specific peripheral clock code
  mmc: fsl_esdhc: drop useless fdt fixup
  powerpc/mpc85xx: drop eSDHC periperhal clock code
  Add global variable sdhc_per_clk for arm/powerpc
  configs: ls1028a: use default SDHC clock divider value
  Drop CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK usage

 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 29 +++++--------
 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 22 +++++-----
 arch/arm/include/asm/global_data.h                 |  4 ++
 arch/powerpc/cpu/mpc85xx/speed.c                   | 49 +---------------------
 arch/powerpc/include/asm/config_mpc85xx.h          |  8 ----
 arch/powerpc/include/asm/global_data.h             |  1 +
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig       |  1 -
 configs/ls1028aqds_tfa_defconfig                   |  1 -
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig       |  1 -
 configs/ls1028ardb_tfa_defconfig                   |  1 -
 drivers/mmc/Kconfig                                |  9 ----
 drivers/mmc/fsl_esdhc.c                            | 41 +++++++++---------
 drivers/mmc/fsl_esdhc_imx.c                        | 40 ------------------
 include/configs/T1040QDS.h                         |  1 -
 include/configs/T208xQDS.h                         |  1 -
 include/e500.h                                     |  1 -
 scripts/config_whitelist.txt                       |  2 -
 17 files changed, 48 insertions(+), 164 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list