mbox series

[v2,0/3] Convert fdtdec_setup_memory_banksize() to use livetree

Message ID 20180820091000.3241-1-jens.wiklander@linaro.org
Headers show
Series Convert fdtdec_setup_memory_banksize() to use livetree | expand

Message

Jens Wiklander Aug. 20, 2018, 9:09 a.m. UTC
Hi,

As requested while reviewing
452bc121027d ("fdt: fix fdtdec_setup_memory_banksize()")
heres a patch set converting fdtdec_setup_memory_banksize() to use livetree.

v2:
* Added test code for the new function ofnode_by_prop_value()
* The patch "fdt: fdtdec_setup_memory_banksize() use livetree":
  Reviewed-by: Simon Glass <sjg@chromium.org>


Thanks,
Jens

Jens Wiklander (3):
  ofnode: add ofnode_by_prop_value()
  fdt: fdtdec_setup_memory_banksize() use livetree
  test: ofnode: test ofnode_by_prop_value()

 drivers/core/of_access.c | 27 +++++++++++++++++++++++
 drivers/core/ofnode.c    | 14 ++++++++++++
 include/dm/of_access.h   | 16 ++++++++++++++
 include/dm/ofnode.h      | 14 ++++++++++++
 lib/fdtdec.c             | 46 ++++++++++++++++++----------------------
 test/dm/ofnode.c         | 27 +++++++++++++++++++++++
 6 files changed, 119 insertions(+), 25 deletions(-)

-- 
2.17.1