]> git.sur5r.net Git - u-boot/commit
cmd/fdt: add possibilty to have 'extrasize' on fdt resize
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Tue, 20 Sep 2016 16:10:43 +0000 (18:10 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Oct 2016 19:54:10 +0000 (13:54 -0600)
commitef47683646516002694729986d19713e49b903e3
treebcc15aaf0aba47b52029e4b9595dabfb5e5ed4b1
parentc69f6d04ec66433f2360490a5cd0263c83aab18f
cmd/fdt: add possibilty to have 'extrasize' on fdt resize

Sometimes devicetree nodes and or properties are added out of the u-boot
console, maybe through some script or manual interaction.

The devicetree as loaded or embedded is quite small, so the devicetree
has to be resized to take up those new nodes/properties.

In original the devicetree was only extended by effective
4 * add_mem_rsv.

With this commit we can add an argument to the "fdt resize" command,
which takes the extrasize to be added.

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Acked-by: Simon Glass <sjg@chromium.org>
board/compulab/cm_fx6/cm_fx6.c
cmd/fdt.c
common/fdt_support.c
common/image-fdt.c
include/fdt_support.h