mbox series

[U-Boot] Please pull u-boot-mmc

Message ID AM0PR04MB4481691FEF03C0D471D00B9E88CF0@AM0PR04MB4481.eurprd04.prod.outlook.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot] Please pull u-boot-mmc | expand

Pull-request

https://gitlab.denx.de/u-boot/custodians/u-boot-mmc.git tags/mmc-2019-7-15

Message

Peng Fan July 15, 2019, 7:21 a.m. UTC
Hi Tom,

Please pull u-boot-mmc,
CI build: https://travis-ci.org/MrVan/u-boot/builds/558716778
---------------------------------------------------------------------------------------------------
mmc spi driver model support
drop mmc_spi command
enhanced Strobe mmc HS400 support
minor mmc bug/fixes and optimization
omap hsmmc and mvbeu update
sdhci card detect support
---------------------------------------------------------------------------------------------------

Thanks,
Peng.

The following changes since commit 6070ef409c1018860e8dd1f077297546d9d80115:

  Merge branch '2019-07-12-master-imports' (2019-07-14 09:05:20 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-mmc.git tags/mmc-2019-7-15

for you to fetch changes up to 356f782c6ef9ec971d18662b82ddab25b0dc4fed:

  mmc: fsl_esdhc_imx: enlarge mmc timeout (2019-07-15 10:30:09 +0800)

----------------------------------------------------------------
Akio Hirayama (1):
      mmc: rpmb: fix response type of CMD25

Anup Patel (2):
      mmc: skip select_mode_and_width for MMC SPI host
      cmd: Remove mmc_spi command

Bhargav Shah (1):
      mmc: mmc_spi: Re-write driver using DM framework

Jean-Jacques Hiblot (11):
      mmc: omap_hsmmc: reset FSM for DAT and CMD lines if needed before a new command
      mmc: omap_hsmmc: don't fill the send_init_stream callback
      Revert "mmc: Add a new callback function to perform the 74 clocks cycle sequence"
      mmc: omap_hsmmc: provide wait_dat0 even if UHS modes are not supported
      mmc: add mmc_poll_for_busy() and change the purpose of mmc_send_status()
      mmc: if possible, poll the busy state using DAT0
      mmc: use the generic timeout for cmd6 (SWITCH) provided in the ext_csd
      mmc: When switching partition, use the timeout specified in the ext_csd
      mmc: During a switch, poll on dat0 if available and check the final status
      mmc: do not change mode when accessing a boot partition
      mmc: retry a few times if a partition switch failed

Peng Fan (7):
      mmc: support hs400 enhanced strobe mode
      mmc: Parse HS400 Enhanced strobe DT properties
      mmc: Parse no-1-8-v DT property
      mmc: fsl_esdhc_imx: use mmc_of_parse to set host_caps
      mmc: fsl_esdhc_imx: add HS400 Enhanced strobe support
      mmc: fsl_esdhc_imx: add i.MX8QM compatible
      mmc: fsl_esdhc_imx: enlarge mmc timeout

T Karthik Reddy (4):
      mmc: mvebu: Remove unused MMC_CAP.. macros
      mmc: Read sd card detect properties from DT
      mmc: sdhci: Read cd-gpio from devicetree
      mmc: sdhci: Implement SDHCI card detect

Ye Li (1):
      mmc: fsl_esdhc_imx: fix config check issue when building in SPL

 cmd/Kconfig                  |   9 ---
 cmd/Makefile                 |   1 -
 cmd/mmc_spi.c                |  88 ---------------------------
 drivers/mmc/Kconfig          |  30 ++++++++++
 drivers/mmc/fsl_esdhc_imx.c  |  49 +++++++++++----
 drivers/mmc/mmc-uclass.c     |  48 ++++++++++-----
 drivers/mmc/mmc.c            | 255 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------
 drivers/mmc/mmc_private.h    |   9 +--
 drivers/mmc/mmc_spi.c        | 469 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
 drivers/mmc/mmc_write.c      |   4 +-
 drivers/mmc/omap_hsmmc.c     |  26 ++------
 drivers/mmc/rpmb.c           |   4 +-
 drivers/mmc/sdhci.c          |  38 ++++++++++++
 include/configs/UCP1020.h    |   1 -
 include/mmc.h                |  37 ++++++++----
 include/mvebu_mmc.h          |   4 --
 scripts/config_whitelist.txt |   6 --
 17 files changed, 659 insertions(+), 419 deletions(-)
 delete mode 100644 cmd/mmc_spi.c

Comments

Tom Rini July 15, 2019, 10:55 p.m. UTC | #1
On Mon, Jul 15, 2019 at 07:21:24AM +0000, Peng Fan wrote:

> Hi Tom,
> 
> Please pull u-boot-mmc,
> CI build: https://travis-ci.org/MrVan/u-boot/builds/558716778

Note that I see a general small bit of SPL growth here.  Can we do
something about it?  i.e. this from libretech_all_h3_cc_h5:
               spl-u-boot-spl: add: 0/0, grow: 5/-2 bytes: 260/-104 (156)
                 function                                   old     new   delta
                 static.__mmc_switch                        108     248    +140
                 mmc_startup_v4                             516     572     +56
                 mmc_init                                  2272    2304     +32
                 mmc_switch_part                            120     148     +28
                 static.mmc_set_card_speed                  156     160      +4
                 mmc_switch                                  12       4      -8
                 mmc_send_status                            212     116     -96

Applied to u-boot/master, thanks!
Peng Fan July 16, 2019, 2:03 a.m. UTC | #2
Hi Tom,

> Subject: Re: Please pull u-boot-mmc
> 
> On Mon, Jul 15, 2019 at 07:21:24AM +0000, Peng Fan wrote:
> 
> > Hi Tom,
> >
> > Please pull u-boot-mmc,
> > CI build: https://travis-ci.org/MrVan/u-boot/builds/558716778
> 
> Note that I see a general small bit of SPL growth here.  Can we do something
> about it?  i.e. this from libretech_all_h3_cc_h5:

Could you please share how to the comparation? Do you have a script?

Thanks,
Peng.

>                spl-u-boot-spl: add: 0/0, grow: 5/-2 bytes: 260/-104 (156)
>                  function                                   old
> new   delta
>                  static.__mmc_switch                        108
> 248    +140
>                  mmc_startup_v4
> 516     572     +56
>                  mmc_init
> 2272    2304     +32
>                  mmc_switch_part
> 120     148     +28
>                  static.mmc_set_card_speed                  156
> 160      +4
>                  mmc_switch
> 12       4      -8
>                  mmc_send_status
> 212     116     -96
> 
> Applied to u-boot/master, thanks!
> 
> --
> Tom
Tom Rini July 16, 2019, 3:29 a.m. UTC | #3
On Tue, Jul 16, 2019 at 02:03:02AM +0000, Peng Fan wrote:

> Hi Tom,
> 
> > Subject: Re: Please pull u-boot-mmc
> > 
> > On Mon, Jul 15, 2019 at 07:21:24AM +0000, Peng Fan wrote:
> > 
> > > Hi Tom,
> > >
> > > Please pull u-boot-mmc,
> > > CI build: https://travis-ci.org/MrVan/u-boot/builds/558716778
> > 
> > Note that I see a general small bit of SPL growth here.  Can we do something
> > about it?  i.e. this from libretech_all_h3_cc_h5:
> 
> Could you please share how to the comparation? Do you have a script?

Just one of the many features of buildman.  My wrapper around it is:

#!/bin/bash

if [ $# -ne 1 -a $# -ne 2 ];then
	echo "Usage: $0 MACHINE [BRANCH]"
	exit 1
fi

if [ ! -z $2 ]; then
	B=$2
else
	B=`git rev-parse --abbrev-ref HEAD`
fi

export SOURCE_DATE_EPOCH=`date +%s`
./tools/buildman/buildman -o /tmp/$1 -b $B --step 0 -SBCdevlk $1
./tools/buildman/buildman -o /tmp/$1 -b $B --step 0 -SsBdevlk $1

rm -rf /tmp/$1