]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/arm925t/cpu.c
arm: unify interrupt init
[people/ms/u-boot.git] / cpu / arm925t / cpu.c
index 62828b174e206edf164017116043e34f12abcf93..e48f34151e440c25fc3e2a9ee631948cb7974c85 100644 (file)
 #include <arm925t.h>
 #include <asm/system.h>
 
-#ifdef CONFIG_USE_IRQ
-DECLARE_GLOBAL_DATA_PTR;
-#endif
-
 static void cache_flush(void);
 
 int cpu_init (void)
 {
-       /*
-        * setup up stacks if necessary
-        */
-#ifdef CONFIG_USE_IRQ
-       IRQ_STACK_START = _armboot_start - CONFIG_SYS_MALLOC_LEN - CONFIG_SYS_GBL_DATA_SIZE - 4;
-       FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
-#endif
        return 0;
 }