]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/ixp/cpu.c
arm: unify interrupt init
[karo-tx-uboot.git] / cpu / ixp / cpu.c
index 42c62f6e39774f6182e214994a1ae4fee43e1b76..5cfc39dafadb64d05d11dbe35b838050ab318533 100644 (file)
 
 ulong loops_per_jiffy;
 
-#ifdef CONFIG_USE_IRQ
-DECLARE_GLOBAL_DATA_PTR;
-#endif
-
 static void cache_flush(void);
 
 #if defined(CONFIG_DISPLAY_CPUINFO)
@@ -81,14 +77,6 @@ int print_cpuinfo (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;
 }