[U-Boot] [PATCH 0/4] Drop redundant code for eSDHC clock getting

Yangbo Lu yangbo.lu at nxp.com
Tue Nov 12 11:28:35 UTC 2019


This patch-set is to drop redundant code for eSDHC clock getting.
The fsl_esdhc driver is able to simply get clock from gd->arch.sdhc_clk.

The CI build link:
https://travis-ci.org/yangbolu1991/u-boot-test/builds/610688748

Yangbo Lu (4):
  mmc: fsl_esdhc: get clock directly from global data
  arm: ls1021a: drop redundant board_mmc_init()
  arm: drop eSDHC clock getting in mxc_get_clock() for layerscape
  mpc83xx: remove unused clock.h

 arch/arm/cpu/armv7/ls102xa/clock.c                 |  2 --
 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 15 ----------
 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 15 ----------
 arch/arm/include/asm/arch-fsl-layerscape/clock.h   |  2 --
 arch/arm/include/asm/arch-ls102xa/clock.h          |  1 -
 arch/powerpc/include/asm/arch-mpc83xx/clock.h      | 22 --------------
 board/freescale/ls1021aiot/ls1021aiot.c            | 15 ----------
 board/freescale/ls1021aqds/ls1021aqds.c            | 14 ---------
 board/freescale/ls1021atwr/ls1021atwr.c            | 14 ---------
 drivers/mmc/fsl_esdhc.c                            | 34 +++-------------------
 10 files changed, 4 insertions(+), 130 deletions(-)
 delete mode 100644 arch/powerpc/include/asm/arch-mpc83xx/clock.h

-- 
2.7.4



More information about the U-Boot mailing list