Please pull u-boot-dm

Simon Glass sjg at chromium.org
Wed Jan 8 19:04:50 CET 2020


Hi Tom,

This series has the potential for breakage due to badly written
drivers, so I'd like to get it in early in the merge window.

Tests here:

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1790


The following changes since commit d8a3f5259a36e76d1de127f65714c40918e8ee4c:

  Merge tag 'u-boot-imx-20200107' of
https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-01-07
08:45:43 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-dm.git tags/dm-pull-8jan20

for you to fetch changes up to aaa05deb1283b6beb7334adfa4094fb6bd4ab750:

  log: Include missing header for log.h (2020-01-07 16:03:01 -0700)

----------------------------------------------------------------
dm: Increased separation of ofdata_to_platdata() and probe methods

----------------------------------------------------------------
Masahiro Yamada (1):
      binman: fix default filename of u-boot-with-ucode-ptr in documentation

Sean Anderson (3):
      Include missing headers for fdt_support.h
      dm: Add a debug message when devices are skipped pre-reloc
      log: Include missing header for log.h

Simon Glass (19):
      common: Add a noisy assert()
      dm: core: Use assert_noisy() in devres
      usb: Drop use of BUG_ON() and WARN_ON()
      x86: apl: Avoid accessing the PCI bus before it is probed
      pci: Print a warning if the bus is accessed before probing
      aspeed: ast2500: Read clock ofdata in the correct method
      dm: core: Don't clear active flag twice when probe() fails
      dm: core: Move ofdata_to_platdata() call earlier
      dm: core: Allocate parent data separate from probing parent
      dm: core: Add a comment for DM_FLAG_OF_PLATDATA
      dm: core: Export a new function to read platdata
      dm: core: Add a new flag to track platform data
      dm: devres: Create a new devres header file
      test: Add functions to find the amount of allocated memory
      dm: devres: Convert to use logging
      dm: test: Add a test driver for devres
      dm: devres: Add tests
      dm: devres: Use an enum for the allocation phase
      dm: devres: Add a new OFDATA phase

 arch/sandbox/dts/test.dts                   |   4 +
 arch/x86/cpu/apollolake/p2sb.c              |  20 ++-
 arch/x86/cpu/apollolake/pmc.c               |  20 ++-
 drivers/clk/aspeed/clk_ast2500.c            |   4 +-
 drivers/core/device-remove.c                |   1 +
 drivers/core/device.c                       |  56 +++++--
 drivers/core/devres.c                       |  57 +++++--
 drivers/core/lists.c                        |   4 +-
 drivers/pci/pci-uclass.c                    |  13 ++
 drivers/usb/gadget/composite.c              |   4 +
 drivers/usb/gadget/f_mass_storage.c         |   4 +
 drivers/usb/musb-new/musb_core.c            |   4 +
 drivers/usb/musb-new/musb_gadget_ep0.c      |   2 +-
 include/dm/device-internal.h                |  16 ++
 include/dm/device.h                         | 259
+-----------------------------
 include/dm/devres.h                         | 289
++++++++++++++++++++++++++++++++++
 include/dm/uclass-id.h                      |   1 +
 include/fdt_support.h                       |   1 +
 include/log.h                               |  16 ++
 include/test/test.h                         |  10 ++
 include/test/ut.h                           |  16 ++
 test/dm/Makefile                            |   1 +
 test/dm/devres.c                            | 186 ++++++++++++++++++++++
 test/dm/test-fdt.c                          |  58 +++++++
 test/ut.c                                   |  14 ++
 tools/binman/README.entries                 |   2 +-
 tools/binman/etype/u_boot_with_ucode_ptr.py |   2 +-
 27 files changed, 767 insertions(+), 297 deletions(-)
 create mode 100644 include/dm/devres.h
 create mode 100644 test/dm/devres.c

Regards,
Simon


More information about the U-Boot mailing list