diff options
author | Tom Rini <trini@ti.com> | 2015-02-02 12:37:34 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-02-02 12:37:34 -0500 |
commit | 37ffffb98d78c46c840fa6e3c835d915c4247827 (patch) | |
tree | 9ecc87c3bdb7b3c821798fee7ef64bf73a5e597f /arch/arm/cpu/arm926ejs/davinci/spl.c | |
parent | ade8bc14ad419f698406b162c9c5dfeee7406b4c (diff) | |
parent | f3b4bc458de3285a04c5f60df6372ad5ca79fa60 (diff) | |
download | u-boot-imx-37ffffb98d78c46c840fa6e3c835d915c4247827.zip u-boot-imx-37ffffb98d78c46c840fa6e3c835d915c4247827.tar.gz u-boot-imx-37ffffb98d78c46c840fa6e3c835d915c4247827.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-ti
Diffstat (limited to 'arch/arm/cpu/arm926ejs/davinci/spl.c')
-rw-r--r-- | arch/arm/cpu/arm926ejs/davinci/spl.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/spl.c b/arch/arm/cpu/arm926ejs/davinci/spl.c index 59b304e..49349da 100644 --- a/arch/arm/cpu/arm926ejs/davinci/spl.c +++ b/arch/arm/cpu/arm926ejs/davinci/spl.c @@ -34,29 +34,14 @@ void putc(char c) } #endif /* CONFIG_SPL_LIBCOMMON_SUPPORT */ -void board_init_f(ulong dummy) +void spl_board_init(void) { - /* First, setup our stack pointer. */ - asm volatile("mov sp, %0\n" : : "r"(CONFIG_SPL_STACK)); - - /* Second, perform our low-level init. */ #ifdef CONFIG_SOC_DM365 dm36x_lowlevel_init(0); #endif #ifdef CONFIG_SOC_DA8XX arch_cpu_init(); #endif - - /* Third, we clear the BSS. */ - memset(__bss_start, 0, __bss_end - __bss_start); - - /* Finally, setup gd and move to the next step. */ - gd = &gdata; - board_init_r(NULL, 0); -} - -void spl_board_init(void) -{ preloader_console_init(); } |