
11 Dec
2018
11 Dec
'18
2:05 a.m.
On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt simon.k.r.goldschmidt@gmail.com wrote:
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
Changes in v5: None Changes in v4:
- fixed invalid 'if' statement without braces in boot_fdt_reserve_region
Changes in v2:
- this patch is new in v2
common/image-fdt.c | 53 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org