Commit e9a43850 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

AVR32: Get rid of board_early_init

board_early_init() is left over from some early prototyping work
where we had to initialize the SDRAM controller ourselves. This
depends on the kernel being loaded into static RAM, which just
isn't possible on any commercially available products today.

In order to run without a boot loader, we need to create a zImage
stub or have the debugger initialize the SDRAM for us (for really
low-level debugging)
Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent d1ed6a3e
...@@ -21,15 +21,6 @@ struct tag *bootloader_tags __initdata; ...@@ -21,15 +21,6 @@ struct tag *bootloader_tags __initdata;
struct lcdc_platform_data __initdata atstk1000_fb0_data; struct lcdc_platform_data __initdata atstk1000_fb0_data;
asmlinkage void __init board_early_init(void)
{
extern void sdram_init(void);
#ifdef CONFIG_LOADER_STANDALONE
sdram_init();
#endif
}
void __init board_setup_fbmem(unsigned long fbmem_start, void __init board_setup_fbmem(unsigned long fbmem_start,
unsigned long fbmem_size) unsigned long fbmem_size)
{ {
......
...@@ -30,9 +30,6 @@ kernel_entry: ...@@ -30,9 +30,6 @@ kernel_entry:
mov r7, 0 mov r7, 0
#endif #endif
/* Set up the PIO, SDRAM controller, early printk, etc. */
rcall board_early_init
/* Start the show */ /* Start the show */
lddpc pc, kernel_start_addr lddpc pc, kernel_start_addr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment