]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: parse "reserved-memory" for memory reservation
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 14 Jan 2019 21:38:17 +0000 (22:38 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 16 Jan 2019 21:37:03 +0000 (16:37 -0500)
commit1cadc59d3e54b1f554958c0c1963a286e1f587ac
treeddd6e89a683ac6b2d2249f18086449eb8356e640
parentfc1a2da7f2d4875147f07de5251de02d86867e7d
fdt: parse "reserved-memory" for memory reservation

boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb
struct. Currently, it only parses regions described by /memreserve/
entries.

Extend this to the more commonly used scheme of the "reserved-memory"
node.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fdt.c
lib/Makefile