[U-Boot] [PATCH v5 4/9] fdt: parse "reserved-memory" for memory reservation

Simon Glass sjg at chromium.org
Tue Dec 11 01:05:43 UTC 2018


On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt
<simon.k.r.goldschmidt at 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 at 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 at chromium.org>


More information about the U-Boot mailing list