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

Simon Glass sjg at chromium.org
Tue May 17 19:46:53 CEST 2016


Hi Tom,

This includes a refinement of the GPIO interface, soft SPI fixes,
driver model block-device support (and a legacy driver for
non-driver-model code) and a few other things. The changes are fairly
major so I'd like to get the maximum possible test window.


The following changes since commit aeaec0e682f45b9e0c62c522fafea353931f73ed:

  Prepare v2016.05 (2016-05-16 10:40:32 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-dm.git

for you to fetch changes up to 341392dd115f1385c31bb0b034ec15f542730e30:

  dm: mmc: test: Add tests for MMC (2016-05-17 09:54:43 -0600)

----------------------------------------------------------------
Eric Nelson (6):
      dm: gpio: add a default gpio xlate routine
      gpio: intel_broadwell: remove gpio_xlate routine
      gpio: omap: remove gpio_xlate routine
      gpio: pic32: remove gpio_xlate routine
      gpio: rk: remove gpio_xlate routine
      gpio: exynos(s5p): remove gpio_xlate routine

Mugunthan V N (1):
      drivers: usb: common: add common code for usb drivers to use

Peng Fan (5):
      dm: gpio: pca953x: introduce driver model support for pca953x
      dm: spi: soft_spi bug fix
      dm: spi: soft_spi: switch to use linux compatible string
      dm: spi: introduce dm api
      dm: gpio: introduce 74x164 driver

Simon Glass (67):
      Revert "dm: sandbox: Drop the pre-DM host implementation"
      dm: sandbox: Add a board for sandbox without CONFIG_BLK
      pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE
      dm: Rename disk uclass to ahci
      Allow iotrace byte access to use an address of any size
      sandbox: Add string and 16-bit I/O functions
      sandbox: Add dummy SCSI functions
      sandbox: Add dummy SATA functions
      dm: scsi: Remove the forward declarations
      dm: scsi: Fix up code style
      dm: ide: Correct various code style problems
      dm: ide: Remove the forward declarations
      dm: sata: Fix code style problems in cmd/sata.c
      dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI
      dm: blk: Add a legacy block interface
      dm: systemace: Add a legacy block interface
      dm: sandbox: Add a legacy host block interface
      dm: usb: Add a legacy block interface for USB storage
      dm: mmc: Add a legacy block interface for MMC
      dm: mmc: Add an implementation of the 'devnum' functions
      dm: scsi: Separate the non-command code into its own file
      dm: ide: Separate the non-command code into its own file
      dm: sata: Separate the non-command code into its own file
      dm: disk: Use legacy block driver info for block device access
      dm: usb: Drop the get_dev() function
      dm: ide: Drop the get_dev() function
      dm: mmc: Drop the get_dev() function
      dm: scsi: Drop the get_dev() function
      dm: sata: Drop the get_dev() function
      dm: systemace: Drop the get_dev() function
      dm: blk: Drop the systemace.h header
      dm: sandbox: Drop the host_get_dev() function
      dm: part: Drop the get_dev() method
      dm: ide: Add support for driver-model block devices
      dm: sandbox: Enable IDE
      dm: scsi: Add support for driver-model block devices
      dm: sandbox: Enable SCSI
      dm: sata: Add support for driver-model block devices
      dm: sandbox: Enable SATA
      dm: blk: Allow blk_create_device() to allocate the device number
      dm: blk: Add a easier way to create a named block device
      dm: systemace: Reorder function to avoid forward declarataions
      dm: systemace: Add driver-mode block-device support
      dm: sandbox: Enable systemace
      dm: blk: Fix allocation of block-device numbering
      dm: core: Allow device names to be freed automatically
      dm: blk: Free the block device name when unbound
      dm: mmc: Move mmc_switch_part() above its callers
      dm: mmc: Implement the select_hwpart() method
      dm: mmc: Add a function to obtain the block device
      dm: mmc: spl: Use the legacy block interface in SPL
      dm: mmc: Use the new select_hwpart() API
      dm: blk: Add functions to select a hardware partition
      dm: part: Use the legacy block driver for hardware partition support
      dm: part: Drop the block_drvr table
      dm: blk: Add a comment as to why the bdev member is needed
      dm: mmc: Set up the device pointer when using the MMC uclass
      dm: mmc: Move the device list into a separate file
      dm: blk: Use the correct error code for blk_get_device_by_str()
      dm: mmc: Adjust mmc_switch_part() to use a struct mmc
      dm: sandbox: Only enable the sandbox MMC driver when valid
      dm: mmc: Implement the MMC functions for block devices
      dm: mmc: Add a way to bind MMC devices with driver model
      dm: mmc: Add support for driver-model block devices
      dm: mmc: sandbox: Add an SD-card emulation
      dm: sandbox: mmc: Enable building MMC code for sandbox
      dm: mmc: test: Add tests for MMC

Stephen Warren (4):
      buildman: allow more incremental building
      dm: core: allow drivers to refuse to bind
      video: tegra: refuse to bind to disabled dcs
      fdt: fix dev_get_addr_name node offset

angelo at sysam.it (2):
      m68k: add malloc memory for early malloc
      m68k: add DM model serial driver

 README                                         |    4 +-
 api/api_storage.c                              |    2 +-
 arch/arm/dts/exynos4210-universal_c210.dts     |   10 +-
 arch/arm/dts/tegra20-seaboard.dts              |    4 -
 arch/arm/include/asm/arch-ls102xa/config.h     |    2 +-
 arch/m68k/cpu/mcf5227x/start.S                 |   25 +-
 arch/m68k/cpu/mcf523x/start.S                  |   27 +-
 arch/m68k/cpu/mcf52x2/start.S                  |   26 +-
 arch/m68k/cpu/mcf530x/cpu_init.c               |    2 +-
 arch/m68k/cpu/mcf530x/start.S                  |   25 +-
 arch/m68k/cpu/mcf532x/start.S                  |   27 +-
 arch/m68k/cpu/mcf5445x/start.S                 |   27 +-
 arch/m68k/cpu/mcf547x_8x/start.S               |   25 +-
 arch/m68k/include/asm/config.h                 |    2 -
 arch/sandbox/include/asm/io.h                  |   15 +
 arch/x86/Kconfig                               |    3 +
 arch/x86/cpu/broadwell/sata.c                  |    2 +-
 arch/x86/cpu/intel_common/cpu.c                |    2 +-
 arch/x86/cpu/ivybridge/bd82x6x.c               |    2 +-
 arch/x86/cpu/ivybridge/sata.c                  |    2 +-
 board/cm5200/fwupdate.c                        |    2 +-
 board/mpl/pip405/README                        |    6 +-
 board/sandbox/MAINTAINERS                      |    7 +
 cmd/Makefile                                   |    8 +-
 cmd/disk.c                                     |    2 +-
 cmd/ide.c                                      | 1352 +-----------------------
 cmd/mmc.c                                      |   18 +-
 cmd/sata.c                                     |  142 +--
 cmd/scsi.c                                     |  753 ++-----------
 cmd/usb.c                                      |   16 +-
 common/Makefile                                |    6 +
 common/board_r.c                               |    4 +-
 common/env_mmc.c                               |    6 +-
 common/ide.c                                   | 1231 +++++++++++++++++++++
 common/sata.c                                  |  115 ++
 common/scsi.c                                  |  592 +++++++++++
 common/spl/spl_mmc.c                           |    2 +-
 common/spl/spl_sata.c                          |    2 +-
 common/spl/spl_usb.c                           |    2 +-
 common/usb_storage.c                           |   37 +-
 configs/sandbox_defconfig                      |    2 +
 configs/sandbox_noblk_defconfig                |  168 +++
 disk/part.c                                    |   83 +-
 drivers/Makefile                               |    2 +
 drivers/block/Kconfig                          |    5 +-
 drivers/block/Makefile                         |    8 +-
 drivers/block/{disk-uclass.c => ahci-uclass.c} |    6 +-
 drivers/block/blk-uclass.c                     |  361 +++++++
 drivers/block/blk_legacy.c                     |  261 +++++
 drivers/block/sandbox.c                        |  103 +-
 drivers/block/sandbox_scsi.c                   |   29 +
 drivers/block/sata_sandbox.c                   |   33 +
 drivers/block/sym53c8xx.c                      |    2 +-
 drivers/block/systemace.c                      |  110 +-
 drivers/core/device-remove.c                   |    2 +
 drivers/core/device.c                          |   10 +-
 drivers/core/lists.c                           |    4 +
 drivers/dfu/dfu_mmc.c                          |   13 +-
 drivers/gpio/74x164_gpio.c                     |  193 ++++
 drivers/gpio/Kconfig                           |   30 +
 drivers/gpio/Makefile                          |    3 +
 drivers/gpio/gpio-uclass.c                     |   30 +-
 drivers/gpio/intel_broadwell_gpio.c            |   10 -
 drivers/gpio/omap_gpio.c                       |   11 -
 drivers/gpio/pca953x_gpio.c                    |  351 ++++++
 drivers/gpio/pic32_gpio.c                      |   10 -
 drivers/gpio/rk_gpio.c                         |   11 -
 drivers/gpio/s5p_gpio.c                        |   11 -
 drivers/mmc/Kconfig                            |   11 +-
 drivers/mmc/Makefile                           |   12 +-
 drivers/mmc/mmc-uclass.c                       |  106 ++
 drivers/mmc/mmc.c                              |  311 +++---
 drivers/mmc/mmc_legacy.c                       |  108 ++
 drivers/mmc/mmc_private.h                      |   33 +-
 drivers/mmc/mmc_write.c                        |   18 +-
 drivers/mmc/omap_hsmmc.c                       |    1 +
 drivers/mmc/pic32_sdhci.c                      |    7 +-
 drivers/mmc/rockchip_dw_mmc.c                  |    1 +
 drivers/mmc/sandbox_mmc.c                      |  134 ++-
 drivers/mmc/socfpga_dw_mmc.c                   |    1 +
 drivers/mmc/uniphier-sd.c                      |    1 +
 drivers/mmc/zynq_sdhci.c                       |    1 +
 drivers/pci/pci.c                              |    4 -
 drivers/serial/mcfuart.c                       |  188 +++-
 drivers/spi/soft_spi.c                         |   55 +-
 drivers/spi/spi-uclass.c                       |   28 +-
 drivers/usb/common/Makefile                    |    1 +
 drivers/usb/common/common.c                    |   40 +
 drivers/video/tegra.c                          |    7 +
 fs/fat/fat.c                                   |    2 +-
 include/asm-generic/gpio.h                     |   19 +-
 include/blk.h                                  |  263 ++++-
 include/config_cmd_all.h                       |    2 +-
 include/config_distro_bootcmd.h                |    6 +-
 include/config_fallbacks.h                     |    2 +-
 include/configs/MPC8544DS.h                    |    2 +-
 include/configs/MPC8572DS.h                    |    2 +-
 include/configs/MPC8610HPCD.h                  |    2 +-
 include/configs/MPC8641HPCN.h                  |    4 +-
 include/configs/PIP405.h                       |    2 +-
 include/configs/am57xx_evm.h                   |    2 +-
 include/configs/cm_t54.h                       |    2 +-
 include/configs/db-88f6820-gp.h                |    2 +-
 include/configs/dra7xx_evm.h                   |    2 +-
 include/configs/efi-x86.h                      |    2 +-
 include/configs/galileo.h                      |    2 +-
 include/configs/highbank.h                     |    2 +-
 include/configs/ls1043aqds.h                   |    2 +-
 include/configs/ls2080aqds.h                   |    2 +-
 include/configs/ls2080ardb.h                   |    2 +-
 include/configs/omap5_uevm.h                   |    2 +-
 include/configs/qemu-x86.h                     |    2 +-
 include/configs/sandbox.h                      |   25 +
 include/configs/sbc8641d.h                     |    2 -
 include/configs/sunxi-common.h                 |    2 +-
 include/configs/x86-common.h                   |    2 +-
 include/configs/xilinx_zynqmp.h                |    2 +-
 include/dm/device.h                            |   16 +
 include/dm/platform_data/serial_coldfire.h     |   23 +
 include/dm/uclass-id.h                         |    2 +-
 include/ide.h                                  |    8 +
 include/iotrace.h                              |    5 +-
 include/linux/usb/otg.h                        |    9 +
 include/mmc.h                                  |   38 +-
 include/part.h                                 |   33 -
 include/spi.h                                  |   52 +
 include/systemace.h                            |   17 -
 include/usb.h                                  |    1 -
 lib/efi_loader/efi_disk.c                      |   27 +-
 test/dm/blk.c                                  |    4 +-
 test/dm/mmc.c                                  |   19 +
 tools/buildman/README                          |   42 +
 tools/buildman/builder.py                      |   10 +-
 tools/buildman/builderthread.py                |   24 +-
 tools/buildman/cmdline.py                      |    4 +
 tools/buildman/control.py                      |    4 +-
 136 files changed, 5419 insertions(+), 2749 deletions(-)
 create mode 100644 common/ide.c
 create mode 100644 common/sata.c
 create mode 100644 common/scsi.c
 create mode 100644 configs/sandbox_noblk_defconfig
 rename drivers/block/{disk-uclass.c => ahci-uclass.c} (72%)
 create mode 100644 drivers/block/blk_legacy.c
 create mode 100644 drivers/block/sandbox_scsi.c
 create mode 100644 drivers/block/sata_sandbox.c
 create mode 100644 drivers/gpio/74x164_gpio.c
 create mode 100644 drivers/gpio/pca953x_gpio.c
 create mode 100644 drivers/mmc/mmc_legacy.c
 create mode 100644 drivers/usb/common/common.c
 create mode 100644 include/dm/platform_data/serial_coldfire.h
 delete mode 100644 include/systemace.h

Regards,
Simon


More information about the U-Boot mailing list