[U-Boot] [PATCH 00/20] dm: rockchip: Move rockchip boards to to use CONFIG_BLK

Simon Glass sjg at chromium.org
Wed May 25 04:34:36 CEST 2016


Hi,

On 14 May 2016 at 14:02, Simon Glass <sjg at chromium.org> wrote:
>
> This series expands the CONFIG_BLK support to SPL, fixes up the EFI boot
> code and adds a few other tweaks so that all rockchip boards can move to
> using driver model for block devices.
>
> It also introduces snprintf() in the tiny-printf code and tidies up the mmc
> code a little.
>
> Overall the code size for firefly-rk3288 drops by 1KB. This is mostly due
> to removing GPIO support and cutting down on unnecessary strings. The move
> to CONFIG_BLK unfortunately adds 0.5KB, or the improvement would be greater.
>
>
> Simon Glass (20):
>   tiny-printf: Tidy up a few nits
>   tiny-printf: Support snprintf()
>   reset: Drop the reset failure message
>   mmc: Drop mmc_register()
>   mmc: Drop dead mmc code for non-generic MMC
>   mmc: Use byte array for multipliers
>   arm: Avoid error messages in cache_v7
>   rockchip: Check image name for the rksd image
>   rockchip: Drop unnecessary SPL properties
>   rockchip: video: Flush the cache when the display is updated
>   rockchip: Drop SPL GPIO support for rk3288
>   dm: env: mmc: Convert env_mmc to support CONFIG_BLK
>   dm: mmc: Convert sdhci to support CONFIG_BLK
>   dm: efi: Update for CONFIG_BLK
>   dm: mmc: spl: Add support for CONFIG_BLK
>   dm: mmc: dwmmc: Support CONFIG_BLK
>   dm: rockchip: mmc: Allow use of CONFIG_BLK
>   dm: mmc: Fix up mmc_bread/bwrite() prototypes for SPL
>   dm: mmc: Use cfg directly in mmc_bind()
>   dm: rockchip: Enable CONFIG_BLK
>
>  arch/arm/cpu/armv7/cache_v7.c    |  8 +++---
>  arch/arm/mach-rockchip/Kconfig   |  3 ++
>  cmd/mmc.c                        | 62 ----------------------------------------
>  common/env_mmc.c                 |  8 +++---
>  common/spl/spl_mmc.c             |  9 +++---
>  configs/firefly-rk3288_defconfig |  2 +-
>  drivers/misc/reset-uclass.c      |  2 +-
>  drivers/mmc/dw_mmc.c             | 42 ++++++++++++++++++---------
>  drivers/mmc/mmc.c                | 13 ++-------
>  drivers/mmc/mmc_private.h        | 14 +++++++++
>  drivers/mmc/rockchip_dw_mmc.c    | 31 ++++++++++++++++++++
>  drivers/mmc/sdhci.c              |  2 +-
>  drivers/video/rockchip/rk_vop.c  |  1 +
>  include/configs/rk3288_common.h  |  1 -
>  include/dwmmc.h                  |  7 ++++-
>  include/efi_loader.h             |  2 +-
>  include/mmc.h                    |  5 ----
>  lib/efi_loader/efi_disk.c        | 61 +++++++++++++++++++++++++++++----------
>  lib/tiny-printf.c                | 43 +++++++++++++++++++++-------
>  tools/rkimage.c                  |  7 +----
>  20 files changed, 181 insertions(+), 142 deletions(-)

Are there any more comments on this series please? I'd like to apply
it soon to provide for plenty of test time on the MMC side.

Regards,
Simon


More information about the U-Boot mailing list