Commit c72fa777 authored by Simon Glass's avatar Simon Glass Committed by David Gibson
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.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 32b9c613
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment