Skip to content

Move eSDHC adapter card code to board files

Yangbo Lu u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Drop global data sdhc_adapter for powerpcarch/powerpc/include/asm/global_data.h drivers/mmc/fsl_esdhc.c+1 -41 reply
2/4Move eSDHC adapter card identification to board filesboard/freescale/common/qixis.h board/freescale/t1040qds/t1040qds.c board/freescale/t208xqds/t208xqds.c +10 more+61 -810 replies
3/4board: fsl: lx2160aqds: identify SDHC adapter during board initboard/freescale/common/qixis.h board/freescale/lx2160a/lx2160a.c+44 -30 replies
4/4configs: lx2160aqds: enable CONFIG_BOARD_EARLY_INIT_Rconfigs/lx2160aqds_tfa_SECURE_BOOT_defconfig configs/lx2160aqds_tfa_defconfig+2 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPeng Fan
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Move eSDHC adapter card code to board files

The eSDHC adapter card identification and multiplexing configuration through FPGA had been implemented in both common mmc driver and fsl_esdhc driver. However it is proper to move these code to board files and do it during board initialization. The FPGA registers are also board specific.

This patch-set is to move eSDHC adapter card identification and multiplexing configuration from mmc driver to specific board files. Add eSDHC adapter card identification for LX2 QDS.
And the option CONFIG_FSL_ESDHC_ADAPTER_IDENT is no longer needed.

CI build result
https://travis-ci.org/github/yangbolu1991/u-boot-test/builds/699180417

Yangbo Lu (4):
Drop global data sdhc_adapter for powerpc
Move eSDHC adapter card identification to board files
board: fsl: lx2160aqds: identify SDHC adapter during board init
configs: lx2160aqds: enable CONFIG_BOARD_EARLY_INIT_R

 arch/powerpc/include/asm/global_data.h       |  4 +--
 board/freescale/common/qixis.h               | 14 +++++++---
 board/freescale/lx2160a/lx2160a.c            | 36 +++++++++++++++++++++++--
 board/freescale/t1040qds/t1040qds.c          | 29 ++++++++++++++++++++-
 board/freescale/t208xqds/t208xqds.c          | 29 ++++++++++++++++++++-
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig |  1 +
 configs/lx2160aqds_tfa_defconfig             |  1 +
 doc/README.fsl-esdhc                         | 14 ----------
 drivers/mmc/fsl_esdhc.c                      | 39 ----------------------------
 drivers/mmc/mmc-uclass.c                     |  4 +--
 drivers/mmc/mmc.c                            |  7 +----
 drivers/mmc/mmc_legacy.c                     |  7 +----
 drivers/mmc/mmc_private.h                    |  4 +--
 include/configs/T1040QDS.h                   |  1 -
 include/configs/T208xQDS.h                   |  1 -
 include/fsl_esdhc.h                          |  4 ---
 scripts/config_whitelist.txt                 |  1 -
 17 files changed, 108 insertions(+), 88 deletions(-)
Signature · 1 line
2.7.4