[U-Boot] libfdt: make fdt_increase_size() available to everyone

Timur Tabi
2010-05-20T12:58:23Z

Kumar Gala wrote:

> int boot_relocate_fdt (struct lmb *lmb, ulong bootmap_base,
> char **of_flat_tree, ulong *of_size)
> {
> ...
>
> if ((fdt_blob + *of_size + fdt_board_size()) >=
> ((char *)CONFIG_SYS_BOOTMAPSZ + bootmap_base))
> relocate = 1;

Kumar, what do you think about having boot_relocate_fdt() always relocate
the fdt, even if it is already in the bootmap? That would ensure that it
gets resized and put into an lmb region.

--
Timur Tabi
Linux kernel developer at Freescale