X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cpu%2Farm925t%2Fcpu.c;h=71700bb1751deb28ab645c4d1f790456fee036dc;hb=abc76eb6a6936a99811eda256222b3927427f8e2;hp=cf6a4891019c93e2587f7b9965423667b57edacd;hpb=712ac6a1a6909a58d6549fb220cc921a7e9f9979;p=u-boot diff --git a/cpu/arm925t/cpu.c b/cpu/arm925t/cpu.c index cf6a489101..71700bb175 100644 --- a/cpu/arm925t/cpu.c +++ b/cpu/arm925t/cpu.c @@ -4,7 +4,7 @@ * Marius Groeger * * (C) Copyright 2002 - * Gary Jennejohn, DENX Software Engineering, + * Gary Jennejohn, DENX Software Engineering, * * See file CREDITS for list of people who contributed to this * project. @@ -34,24 +34,8 @@ #include #include -#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; -} - int cleanup_before_linux (void) { /* @@ -80,4 +64,3 @@ static void cache_flush (void) asm ("mcr p15, 0, %0, c7, c7, 0": :"r" (i)); } -