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:
committed by
Albert ARIBAUD
parent
ac415a5720
commit
5c6db120fc
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user