arm: Remove unused relocate_code() parameters

Commit e05e5de7fa made the 2 1st parameters of
ARM's relocate_code() useless since it moved the code handling them to crt0.S.
So, drop these parameters.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
Benoît Thébaudeau
2013-04-11 09:35:53 +00:00
committed by Albert ARIBAUD
parent ac415a5720
commit 5c6db120fc
18 changed files with 36 additions and 65 deletions

View File

@@ -39,7 +39,7 @@ DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_SPL_BUILD
void board_init_f(ulong bootflag)
{
relocate_code(0, NULL, CONFIG_SPL_TEXT_BASE);
relocate_code(CONFIG_SPL_TEXT_BASE);
asm volatile("ldr pc, =nand_boot");
}
#endif

View File

@@ -36,7 +36,7 @@ DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_SPL_BUILD
void board_init_f(ulong bootflag)
{
relocate_code(0, NULL, CONFIG_SPL_TEXT_BASE);
relocate_code(CONFIG_SPL_TEXT_BASE);
asm volatile("ldr pc, =nand_boot");
}
#endif

View File

@@ -32,6 +32,5 @@
void board_init_f(unsigned long bootflag)
{
relocate_code(CONFIG_SYS_TEXT_BASE - TOTAL_MALLOC_LEN, NULL,
CONFIG_SYS_TEXT_BASE);
relocate_code(CONFIG_SYS_TEXT_BASE);
}