Skip to content
Commit 89d66907 authored by Simon Glass's avatar Simon Glass
Browse files

libfdt: Copy the struct region in fdt_resize()



At present this function appears to copy only the data before the struct
region and the data in the string region. It does not seem to copy the
struct region itself.

>From the arguments of this function it seems that it should support fdt
and buf being different. This patch attempts to fix this problem.

Upstream commit: c72fa77 libfdt: Copy the struct region in fdt_resize()

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 61ec04f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment