]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: fdt: handle coalesced reserve region
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 6 Mar 2019 13:23:52 +0000 (14:23 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 Mar 2019 16:31:44 +0000 (11:31 -0500)
commite1d7ed34015a78788ada8a79d23a2af22fe1f451
tree21fc24758c1daff59e671fc260a3e3ceb583c8a5
parentc8087f67f148e8e732e8d456d93cc709116ce0b5
image: fdt: handle coalesced reserve region

Handle in boot_fdt_reserve_region
any return value > 0 of lmb_reserve() function;
it occurs when coalesced region are found:
adjacent reserved region are merged.

This patch avoid the error trace:
  ERROR: reserving fdt memory region failed..
when reserved region are merged (return value = 1).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
common/image-fdt.c