
20 May
2010
20 May
'10
2:58 p.m.
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