summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/cpu.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-04 11:43:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-04 11:54:03 +0200
commit596c8450727ff2c9e2a8053e83280682d813c82f (patch)
treeb1623de1d69f75765cffd8db50083a6faa64c8b4 /arch/arm/cpu/cpu.c
parent9e6ee5e79516f5af5366bd95fab801a692728373 (diff)
downloadbarebox-596c8450727ff2c9e2a8053e83280682d813c82f.tar.gz
barebox-596c8450727ff2c9e2a8053e83280682d813c82f.tar.xz
[memory layout]: streamline memory layout
Memory layout can now be specified via kconfig options. Two possibilities exist: default layout means the layout is stack / malloc heap / U-Boot. The user can also specify fixed addresses for each TEXT_BASE / stack / malloc heap.
Diffstat (limited to 'arch/arm/cpu/cpu.c')
-rw-r--r--arch/arm/cpu/cpu.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c
index c6a13f43c6..babcd10a10 100644
--- a/arch/arm/cpu/cpu.c
+++ b/arch/arm/cpu/cpu.c
@@ -155,20 +155,6 @@ int cleanup_before_linux (void)
* required.
*/
-#ifdef CONFIG_USE_IRQ
-static int cpu_init (void)
-{
- /*
- * setup up stacks if necessary
- */
- IRQ_STACK_START = _u_boot_start - CFG_MALLOC_LEN - CFG_GBL_DATA_SIZE - 4;
- FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
- return 0;
-}
-
-core_initcall(cpu_init);
-#endif
-
/**
* @page arm_for_linux Preparing for Linux to run
*