[U-Boot] [PATCH 01/11] fdt: Add device tree memory bindings

Michal Simek monstr at monstr.eu
Fri Jul 13 07:05:53 UTC 2018


Hi Simon,

On 9.7.2018 21:50, Simon Glass wrote:
> 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

Just FYI: That ram_base in global_data.h is not used in this patch and
in v2 in 2014 this wasn't the part of this patch.
Anyway Siva will use this ram_base in his patch he sent recently.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180713/04683512/attachment-0001.sig>


More information about the U-Boot mailing list