From: Michal Simek Date: Wed, 10 Aug 2016 05:50:26 +0000 (+0200) Subject: Revert "libfdt: Add option to disable arch_fixup_fdt() calls" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88dc2b982f0a11723b8cfaf8ce15ce287e0e639b;p=thirdparty%2Fu-boot.git Revert "libfdt: Add option to disable arch_fixup_fdt() calls" 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 --- diff --git a/Kconfig b/Kconfig index f25dd7b7174..3ceff250321 100644 --- a/Kconfig +++ b/Kconfig @@ -319,14 +319,6 @@ config SYS_CLK_FREQ 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" diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c index 6e87b59ad4c..76b75d8e464 100644 --- a/arch/arm/lib/bootm-fdt.c +++ b/arch/arm/lib/bootm-fdt.c @@ -24,7 +24,6 @@ DECLARE_GLOBAL_DATA_PTR; -#ifndef CONFIG_DISABLE_ARCH_FIXUP_FDT int arch_fixup_fdt(void *blob) { bd_t *bd = gd->bd; @@ -54,4 +53,3 @@ int arch_fixup_fdt(void *blob) return 0; } -#endif diff --git a/common/image-fdt.c b/common/image-fdt.c index 9e05becd464..6cac7dbb7f8 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -460,9 +460,6 @@ __weak int ft_verify_fdt(void *fdt) __weak int arch_fixup_fdt(void *blob) { -#ifdef CONFIG_DISABLE_ARCH_FIXUP_FDT - printf("## Disable arch_fixup_fdt()\n"); -#endif return 0; }