[U-Boot] [PATCH 00/11] dm: Add more core features for livetree

Simon Glass sjg at chromium.org
Mon Jun 11 19:07:08 UTC 2018


This adds various minor features for livetree, mostly related to memory
handling.


Michael Pratt (1):
  fdt: Add device tree memory bindings

Simon Glass (10):
  dm: core: Add ofnode function to read a 64-bit int
  dm: core: Fix a few ofnode function comments
  dm: core: Add comments to ofnode_read_resource() functoins
  dm: core: Add a way to find an ofnode by compatible string
  log: Add a way to log a return value with a message
  dm: core: Add a way to bind a device by ofnode
  dm: spi: Update sandbox SPI emulation driver to use ofnode
  dm: core: Update of_read_fmap_entry() for livetree
  dm: core: Add a function to decode a memory region
  dm: core: Add logging of some common errors

 doc/device-tree-bindings/memory/memory.txt |  67 +++++++++++++
 drivers/core/device.c                      |   8 ++
 drivers/core/of_access.c                   |  19 ++++
 drivers/core/of_extra.c                    |  89 ++++++++++++++++-
 drivers/core/ofnode.c                      |  44 +++++++++
 drivers/core/uclass.c                      |  14 ++-
 drivers/misc/cros_ec.c                     |   4 +-
 drivers/mtd/spi/sandbox.c                  |   9 +-
 include/asm-generic/global_data.h          |   1 +
 include/dm/device-internal.h               |   4 +
 include/dm/of_access.h                     |  16 +++
 include/dm/of_extra.h                      |  51 +++++++++-
 include/dm/ofnode.h                        |  48 ++++++++-
 include/fdt_support.h                      |  10 ++
 include/fdtdec.h                           |  38 ++++++-
 include/log.h                              |   8 ++
 include/spi_flash.h                        |   2 +-
 lib/fdtdec.c                               | 109 +++++++++++++++++++++
 test/dm/spi.c                              |   8 +-
 19 files changed, 526 insertions(+), 23 deletions(-)
 create mode 100644 doc/device-tree-bindings/memory/memory.txt

-- 
2.18.0.rc1.242.g61856ae69a-goog



More information about the U-Boot mailing list