diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2013-04-11 09:35:51 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 07:55:07 +0200 |
commit | da962b71758d52b38a4ed89380d296ed25920d18 (patch) | |
tree | 414567a20230b6476d0c7c316e02abfc403c70f1 /board/karo/tx25/tx25.c | |
parent | 8b7cd098ddd130c0dc0d8a3820c3c592978aa9d3 (diff) | |
download | u-boot-imx-da962b71758d52b38a4ed89380d296ed25920d18.zip u-boot-imx-da962b71758d52b38a4ed89380d296ed25920d18.tar.gz u-boot-imx-da962b71758d52b38a4ed89380d296ed25920d18.tar.bz2 |
nand: mxc: Switch NAND SPL to generic SPL
This also fixes support for mx31pdk and tx25, which had been broken by commit
e05e5de7fae5bec79617e113916dac6631251156.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/karo/tx25/tx25.c')
-rw-r--r-- | board/karo/tx25/tx25.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c index 362f00a..69ee590 100644 --- a/board/karo/tx25/tx25.c +++ b/board/karo/tx25/tx25.c @@ -33,6 +33,14 @@ DECLARE_GLOBAL_DATA_PTR; +#ifdef CONFIG_SPL_BUILD +void board_init_f(ulong bootflag) +{ + relocate_code(0, NULL, CONFIG_SPL_TEXT_BASE); + asm volatile("ldr pc, =nand_boot"); +} +#endif + #ifdef CONFIG_FEC_MXC #define GPIO_FEC_RESET_B IMX_GPIO_NR(4, 7) #define GPIO_FEC_ENABLE_B IMX_GPIO_NR(4, 9) |