]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt relocate: have more attention to use a bootmap or not
authorStephan Linz <linz@li-pro.net>
Fri, 25 Jun 2010 16:04:59 +0000 (18:04 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Aug 2010 20:16:05 +0000 (22:16 +0200)
commit958e120643e8b6765b3ff84dfcf57624076afd21
treeed6dfa4c17cfd83b3ba796a237ad415432b800be
parentcd1535564c3d52d2bc063e54e7d11ace7aeb9f52
fdt relocate: have more attention to use a bootmap or not

Platforms with flat device tree support can use a bootmap to relocate
the fdt_blob. This is not a must. That's why the relocation function
boot_relocate_fdt() should be use only if CONFIG_OF_LIBFDT was defined
together with CONFIG_SYS_BOOTMAPSZ (see common/cmd_bootm.c).

On MicroBlaze platforms there is no need to use a bootmap to relocate
a fdt blob. So we need a more precise focus on the compilation and usage
of boot_relocate_fdt().

In general it is valid to exclude the function boot_relocate_fdt() if
the bootmap size CONFIG_SYS_BOOTMAPSZ is not defined.

Signed-off-by: Stephan Linz <linz@li-pro.net>
arch/powerpc/lib/bootm.c
common/image.c