]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdtdec: Implement carveout support functions
authorThierry Reding <treding@nvidia.com>
Thu, 21 Mar 2019 18:10:03 +0000 (19:10 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:50 +0000 (20:10 -0600)
commit16523ac79081b31741b7f72221a41e1197f051e7
tree6c13ea51385433429178ef7ecf02b6d18cddf2bd
parentc9222a08b3f7d1b0f7a72301db99dc54e09a3d10
fdtdec: Implement carveout support functions

The fdtdec_get_carveout() and fdtdec_set_carveout() function can be used
to read a carveout from a given node or add a carveout to a given node
using the standard device tree bindings (involving reserved-memory nodes
and the memory-region property).

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/fdtdec.h
lib/fdtdec.c