This reverts commit
fd03516f7b53e135e1cb0029a899851a01d0fbde.
This patch went to mainline with positive logic that's why revert this
patch and apply mainline one instead.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
help
TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
-config DISABLE_ARCH_FIXUP_FDT
- bool "Disable arch_fixup_fdt() call"
- depends on ARM
- help
- Disable FDT memory map syncup before OS boot. This feature can be
- used for booting OS with different memory setup where the part of
- the memory location should be used for different purpose.
-
endmenu # Boot images
source "common/Kconfig"
DECLARE_GLOBAL_DATA_PTR;
-#ifndef CONFIG_DISABLE_ARCH_FIXUP_FDT
int arch_fixup_fdt(void *blob)
{
bd_t *bd = gd->bd;
return 0;
}
-#endif
__weak int arch_fixup_fdt(void *blob)
{
-#ifdef CONFIG_DISABLE_ARCH_FIXUP_FDT
- printf("## Disable arch_fixup_fdt()\n");
-#endif
return 0;
}