
On 11 June 2018 at 13:07, Simon Glass sjg@chromium.org wrote:
From: Michael Pratt mpratt@chromium.org
Support a default memory bank, specified in reg, as well as board-specific memory banks in subtree board-id nodes.
This allows memory information to be provided in the device tree, rather than hard-coded in, which will make it simpler to handle similar devices with different memory banks, as the board-id values or masks can be used to match devices.
Signed-off-by: Michael Pratt mpratt@chromium.org Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Vadim Bendebury vbendeb@chromium.org
doc/device-tree-bindings/memory/memory.txt | 67 +++++++++++++ include/asm-generic/global_data.h | 1 + include/fdt_support.h | 10 ++ include/fdtdec.h | 38 ++++++- lib/fdtdec.c | 109 +++++++++++++++++++++ 5 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 doc/device-tree-bindings/memory/memory.txt
Applied to u-boot-dm