summaryrefslogtreecommitdiff
path: root/board/freescale/mx31pdk/mx31pdk.c
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2013-04-11 09:35:53 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-04-12 07:55:07 +0200
commit5c6db120fc184bae7a344a4e5da83b21164b59a6 (patch)
tree7dd8c5c9434937e915cf4428b1ce2beaea7554a4 /board/freescale/mx31pdk/mx31pdk.c
parentac415a5720aa3c2b2ca95498b68e2062a185c1d1 (diff)
downloadu-boot-imx-5c6db120fc184bae7a344a4e5da83b21164b59a6.zip
u-boot-imx-5c6db120fc184bae7a344a4e5da83b21164b59a6.tar.gz
u-boot-imx-5c6db120fc184bae7a344a4e5da83b21164b59a6.tar.bz2
arm: Remove unused relocate_code() parameters
Commit e05e5de7fae5bec79617e113916dac6631251156 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>
Diffstat (limited to 'board/freescale/mx31pdk/mx31pdk.c')
-rw-r--r--board/freescale/mx31pdk/mx31pdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c
index 3d0d419..49158bd 100644
--- a/board/freescale/mx31pdk/mx31pdk.c
+++ b/board/freescale/mx31pdk/mx31pdk.c
@@ -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