commit | 89d66907b37b2578b0e998faf3ba8ef66c6a7606 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 20 12:23:59 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Mon Jul 29 09:38:06 2019 -0600 |
tree | 0e0267724e1bdc7b3751b24fcd9f429bd048eefd | |
parent | 61ec04f9eda413664e5c11a6099c89a44b73b5b9 [diff] |
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: Simon Glass <sjg@chromium.org>