]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: fdt_support: add support for setting usable memory
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Tue, 3 Dec 2019 12:04:46 +0000 (14:04 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 6 Dec 2019 11:09:25 +0000 (12:09 +0100)
commit949b5a969d107613b61a1e5eaf9e43c75a97f42c
tree80d8bf824579de0f032c64b4e908c146e68299db
parent1fae23899c7d6a7f44dec6a963d6c74ce5fe5c19
common: fdt_support: add support for setting usable memory

Add support for setting linux,usable-memory property in the memory
node of device tree for the kernel [1].

This property holds a base address and size, describing a
limited region in which memory may be considered available for use by
the kernel. Memory outside of this range is not available for use.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/chosen.txt

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
common/fdt_support.c
include/fdt_support.h