]> git.baikalelectronics.ru Git - uboot.git/commit
libfdt: Detected out-of-space with fdt_finish()
authorSimon Glass <sjg@chromium.org>
Tue, 1 Sep 2020 11:13:56 +0000 (05:13 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
commitd8cd316529d368c64f6aee825a9f286e8d4f7f73
tree05db6af17902e2f863f340c8404c7d5342867a19
parent98324f5f8498414c75db406b615c6d73be014130
libfdt: Detected out-of-space with fdt_finish()

At present the Python sequential-write interface can produce an error when
it calls fdt_finish(), since this needs to add a terminating tag to the
end of the struct section.

Fix this by automatically expanding the buffer if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/dtc/pylibfdt/libfdt.i_shipped