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

Yangbo Lu yangbo.lu at nxp.com
Wed Jun 17 12:08:56 CEST 2020


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(-)

-- 
2.7.4



More information about the U-Boot mailing list