]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/arm_intcm/cpu.c
arm: unify interrupt init
[karo-tx-uboot.git] / cpu / arm_intcm / cpu.c
index b137f7664922e30c353c4b32bbde601f0a7de84b..488bd0c5a2d05a49fb7346d7e7daf1e8db504adb 100644 (file)
 #include <common.h>
 #include <command.h>
 
-#ifdef CONFIG_USE_IRQ
-DECLARE_GLOBAL_DATA_PTR;
-#endif
-
 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;
 }