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

Y.b. Lu yangbo.lu at nxp.com
Tue Nov 19 01:56:54 UTC 2019


Any comments?
Thanks.

> -----Original Message-----
> From: Yangbo Lu <yangbo.lu at nxp.com>
> Sent: Tuesday, November 12, 2019 7:29 PM
> To: u-boot at lists.denx.de
> Cc: Peng Fan <peng.fan at nxp.com>; Feng Li <feng.li_2 at nxp.com>; Alison
> Wang <alison.wang at nxp.com>; Sumit Garg <sumit.garg at nxp.com>; Priyanka
> Jain <priyanka.jain at nxp.com>; Mario Six <mario.six at gdsys.cc>; Y.b. Lu
> <yangbo.lu at nxp.com>
> Subject: [PATCH 0/4] Drop redundant code for eSDHC clock getting
> 
> 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftravis-ci
> .org%2Fyangbolu1991%2Fu-boot-test%2Fbuilds%2F610688748&data=02
> %7C01%7Cyangbo.lu%40nxp.com%7C631a406c77594a0d737808d767637ae2
> %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637091549269378
> 396&sdata=7FT0Vn3oB0dMB5K1csOnNF5O9o61QxHheVtOeBJjDJw%3D
> &reserved=0
> 
> 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