
On 20 September 2016 at 10:10, Hannes Schmelzer oe5hpm@oevsv.at wrote:
From: Hannes Schmelzer hannes.schmelzer@br-automation.com
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
Changes in v2:
- add function comment in fdt_support.h
board/compulab/cm_fx6/cm_fx6.c | 2 +- cmd/fdt.c | 9 +++++++-- common/fdt_support.c | 3 ++- common/image-fdt.c | 2 +- include/fdt_support.h | 10 +++++++++- 5 files changed, 20 insertions(+), 6 deletions(-)
Acked-by: Simon Glass sjg@chromium.org