[U-Boot] [PATCH] [ELF_RELOC] arm: remove CONFIG_RELOC_FIXUP_WORKS in board config files

As this define is valid for all arm boards, this define is no longer needed in board config files, as it is defined in arch/arm/include/asm/config.h
Signed-off-by: Heiko Schocher hs@denx.de --- include/configs/imx27lite-common.h | 1 - include/configs/omap3_beagle.h | 1 - include/configs/tx25.h | 2 -- 3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h index 1ebe83b..4f7d61d 100644 --- a/include/configs/imx27lite-common.h +++ b/include/configs/imx27lite-common.h @@ -236,7 +236,6 @@ "mtdparts=" MTDPARTS_DEFAULT "\0" \
/* additions for new relocation code, must added to all boards */ -#define CONFIG_RELOC_FIXUP_WORKS #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ CONFIG_SYS_GBL_DATA_SIZE) diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index cf73f27..ce658d1 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -341,7 +341,6 @@ extern unsigned int boot_flash_type; #endif
/* additions for new relocation code, must added to all boards */ -#define CONFIG_RELOC_FIXUP_WORKS #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
diff --git a/include/configs/tx25.h b/include/configs/tx25.h index 2be3699..aaabe31 100644 --- a/include/configs/tx25.h +++ b/include/configs/tx25.h @@ -177,8 +177,6 @@ "upd=run load update\0" \
/* additions for new relocation code, must added to all boards */ -#undef CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation support */ -#define CONFIG_RELOC_FIXUP_WORKS #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ CONFIG_SYS_GBL_DATA_SIZE)

Dear Heiko Schocher,
In message 1286949365-31989-1-git-send-email-hs@denx.de you wrote:
As this define is valid for all arm boards, this define is no longer needed in board config files, as it is defined in arch/arm/include/asm/config.h
Signed-off-by: Heiko Schocher hs@denx.de
include/configs/imx27lite-common.h | 1 - include/configs/omap3_beagle.h | 1 - include/configs/tx25.h | 2 -- 3 files changed, 0 insertions(+), 4 deletions(-)
This has already been fixed in elf_reloc.
Best regards,
Wolfgang Denk
participants (2)
-
Heiko Schocher
-
Wolfgang Denk