[U-Boot] [PATCH 01/11] fdt: Add device tree memory bindings
Simon Glass
sjg at chromium.org
Mon Jul 9 19:50:29 UTC 2018
On 11 June 2018 at 13:07, Simon Glass <sjg at chromium.org> wrote:
>
> From: Michael Pratt <mpratt at 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 at chromium.org>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Vadim Bendebury <vbendeb at 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
More information about the U-Boot
mailing list