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

Simon Glass sjg at chromium.org
Tue Mar 15 00:04:34 CET 2016


Hi Tom,

This includes driver-model support for block devices, refactoring of the
partition code as well as some some fixes for serial, the debug UART,
buildman and fdtgrep.

The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa:

  Prepare v2016.03 (2016-03-14 10:20:21 -0400)

are available in the git repository at:

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

for you to fetch changes up to 608e399fdef82e983db44c5cb8f5e772bba870e2:

  buildman: Allow the toolchain architecture to be specified (2016-03-14
15:34:50 -0600)

----------------------------------------------------------------
Alison Wang (3):
      dm: serial-uclass: Move a carriage return before a line feed
      serial: Move carriage return before line feed for some serial drivers
      dm: serial: Remove duplicated carriage return character

Masahiro Yamada (2):
      dm: core: make simple-bus compatible to simple-mfd
      debug_uart: output CR along with LF

Simon Glass (36):
      dm: core: Add uclass_first_device_err() to return a valid device
      dm: Use uclass_first_device_err() where it is useful
      dm: Drop the block_dev_desc_t typedef
      dm: pci: Break out the common region display code
      dm: part: Correct a sandbox build warning
      dm: fdtdec: Correct a sandbox build warning
      dm: part: Drop the common.h header
      dm: Add a new header for block devices
      dm: blk: Convert interface type to an enum
      dm: blk: Add comments to a few functions
      dm: blk: Rename get_dev() to blk_get_dev()
      dm: blk: Rename get_device() to blk_get_device_by_str()
      dm: blk: Rename get_device_and_partition()
      dm: part: Add a cast to avoid a compiler warning
      dm: sandbox: Enable all partition types
      dm: part: Convert partition API use to linker lists
      dm: part: Rename some partition functions
      dm: cbfs: Fix handling of invalid type
      dm: sandbox: Enable cbfs and cramfs
      dm: block: Rename device number member dev to devnum
      dm: block: Adjust device calls to go through helpers function
      dm: usb: Avoid exceeding available array size for storage devices
      dm: usb: Tidy up storage code ready for driver model conversion
      dm: blk: Add a block-device uclass
      dm: sandbox: Prepare block driver for driver-model conversion
      dm: sandbox: Add driver-model block-device support for sandbox
      dm: usb: Convert USB storage to use driver-model for block devs
      dm: usb: Clean up USB after each test
      part: Rename test_part_xx() and print_part_xx()
      Drop CONFIG_CRAMFS_CMDLINE
      fdtgrep: Improve error handling with invalid device tree
      patman: Add a missing space in GetMetaDataForList()
      buildman: patman: Fix -H when installed as a symlink
      buildman: Fix up a few code inconsistencies in toolchain.py
      buildman: Allow the toolchain priority to be specified
      buildman: Allow the toolchain architecture to be specified

 api/api.c                                    |   2 +-
 api/api_storage.c                            |  26 +++---
 arch/arm/mach-rockchip/rk3288/sdram_rk3288.c |   2 +-
 arch/nios2/cpu/cpu.c                         |   4 +-
 arch/x86/cpu/interrupts.c                    |   2 +-
 arch/x86/cpu/ivybridge/cpu.c                 |  14 ++--
 arch/x86/cpu/ivybridge/gma.c                 |   6 +-
 arch/x86/cpu/ivybridge/sata.c                |   4 +-
 arch/x86/cpu/ivybridge/sdram.c               |   4 +-
 arch/x86/lib/mpspec.c                        |   2 +-
 board/cm5200/fwupdate.c                      |   4 +-
 board/mpl/pip405/README                      |   4 +-
 board/sunxi/board.c                          |   4 +-
 cmd/bmp.c                                    |  12 +--
 cmd/cbfs.c                                   |   5 +-
 cmd/cramfs.c                                 |   5 --
 cmd/disk.c                                   |  12 +--
 cmd/fat.c                                    |  12 +--
 cmd/gpt.c                                    |  10 +--
 cmd/host.c                                   |  13 ++-
 cmd/ide.c                                    |  44 +++++-----
 cmd/mmc.c                                    |   4 +-
 cmd/mmc_spi.c                                |   4 +-
 cmd/part.c                                   |  24 +++---
 cmd/read.c                                   |  10 +--
 cmd/reiser.c                                 |  12 +--
 cmd/sata.c                                   |  22 ++---
 cmd/scsi.c                                   |  24 +++---
 cmd/tpm.c                                    |   4 +-
 cmd/unzip.c                                  |   4 +-
 cmd/usb.c                                    |  12 ++-
 cmd/usb_mass_storage.c                       |  10 +--
 cmd/zfs.c                                    |  10 +--
 common/env_fat.c                             |  12 +--
 common/fb_mmc.c                              |  33 ++++----
 common/spl/spl_ext.c                         |  12 ++-
 common/spl/spl_fat.c                         |   8 +-
 common/spl/spl_mmc.c                         |   2 +-
 common/spl/spl_sata.c                        |   2 +-
 common/spl/spl_usb.c                         |   2 +-
 common/usb_storage.c                         | 276
+++++++++++++++++++++++++++++++++++++++++++++----------------
 disk/part.c                                  | 230
++++++++++++++++++---------------------------------
 disk/part_amiga.c                            |  47 ++++++-----
 disk/part_dos.c                              |  66 ++++++++-------
 disk/part_efi.c                              | 101 ++++++++++++----------
 disk/part_iso.c                              |  72 +++++++++-------
 disk/part_mac.c                              |  58 +++++++------
 drivers/block/Kconfig                        |  11 +++
 drivers/block/Makefile                       |   2 +
 drivers/block/blk-uclass.c                   | 175
+++++++++++++++++++++++++++++++++++++++
 drivers/block/dwc_ahsata.c                   |   4 +-
 drivers/block/pata_bfin.c                    |   2 +-
 drivers/block/sandbox.c                      | 166
+++++++++++++++++++++++++++++++------
 drivers/block/systemace.c                    |  12 +--
 drivers/core/simple-bus.c                    |   1 +
 drivers/core/uclass.c                        |  13 +++
 drivers/dfu/dfu_mmc.c                        |   4 +-
 drivers/gpio/rk_gpio.c                       |   4 +-
 drivers/misc/altera_sysid.c                  |   4 +-
 drivers/mmc/arm_pl180_mmci.c                 |   2 +-
 drivers/mmc/mmc.c                            |  14 ++--
 drivers/mmc/mmc_private.h                    |   8 +-
 drivers/mmc/mmc_write.c                      |   8 +-
 drivers/mmc/mxsmmc.c                         |  24 +++---
 drivers/mmc/omap_hsmmc.c                     |   4 +-
 drivers/mmc/sdhci.c                          |   2 +-
 drivers/pci/pci-uclass.c                     |   4 +-
 drivers/pci/pci_auto_common.c                |  51 ++++--------
 drivers/power/regulator/regulator-uclass.c   |   2 +-
 drivers/serial/serial-uclass.c               |   5 +-
 drivers/serial/serial_arc.c                  |   3 -
 drivers/serial/serial_lpuart.c               |   6 --
 drivers/serial/serial_mxc.c                  |   8 +-
 drivers/serial/serial_pxa.c                  |   8 +-
 drivers/serial/serial_s3c24x0.c              |   8 +-
 drivers/serial/usbtty.c                      |   7 +-
 drivers/timer/timer-uclass.c                 |   4 +-
 drivers/video/vidconsole-uclass.c            |   6 +-
 fs/ext4/dev.c                                |  54 ++++++------
 fs/ext4/ext4_common.c                        |  27 ++----
 fs/ext4/ext4fs.c                             |   2 +-
 fs/fat/fat.c                                 |  18 ++--
 fs/fat/fat_write.c                           |   5 +-
 fs/fs.c                                      |   8 +-
 fs/reiserfs/dev.c                            |  33 ++++----
 fs/sandbox/sandboxfs.c                       |   4 +-
 fs/ubifs/ubifs.c                             |   4 +-
 fs/zfs/dev.c                                 |  35 ++++----
 fs/zfs/zfs.c                                 |   2 +-
 include/blk.h                                | 248
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/common.h                             |   2 +-
 include/configs/UCP1020.h                    |   1 -
 include/configs/km/keymile-common.h          |   1 -
 include/configs/sandbox.h                    |   7 +-
 include/debug_uart.h                         |   4 +-
 include/dm/uclass-id.h                       |   1 +
 include/dm/uclass.h                          |  15 +++-
 include/ext4fs.h                             |   6 +-
 include/fat.h                                |   4 +-
 include/ide.h                                |  18 ++--
 include/mmc.h                                |   2 +-
 include/part.h                               | 308
+++++++++++++++++++++++++++++++++++++++++---------------------------
 include/reiserfs.h                           |   2 +-
 include/sandboxblockdev.h                    |   4 +-
 include/sandboxfs.h                          |   2 +-
 include/sata.h                               |   2 +-
 include/spl.h                                |  10 ++-
 include/systemace.h                          |   2 +-
 include/ubifs_uboot.h                        |   2 +-
 include/usb.h                                |   2 +-
 include/usb_mass_storage.h                   |   2 +-
 include/zfs_common.h                         |   4 +-
 lib/fdtdec.c                                 |   5 +-
 lib/gunzip.c                                 |   2 +-
 lib/tpm.c                                    |   6 +-
 test/dm/usb.c                                |   8 +-
 tools/buildman/control.py                    |   3 +-
 tools/buildman/toolchain.py                  |  50 +++++++----
 tools/fdtgrep.c                              |  14 +++-
 tools/patman/patchstream.py                  |   2 +-
 tools/patman/patman.py                       |   3 +-
 121 files changed, 1737 insertions(+), 1021 deletions(-)
 create mode 100644 drivers/block/blk-uclass.c
 create mode 100644 include/blk.h

Regards,
Simon


More information about the U-Boot mailing list