X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Farm920t%2Fcpu.c;h=be82c87c7dd70706851d606cee084c9a07e0ad15;hb=8f0fec74ac6d0f3a7134ccebafa1ed9bd8c712ba;hp=0c080fe3e4dc30a6b73b09903b1fdd49479ca767;hpb=792a09eb9d5d8c4f74b7e9f2e887316d511a4e80;p=oweals%2Fu-boot.git diff --git a/cpu/arm920t/cpu.c b/cpu/arm920t/cpu.c index 0c080fe3e4..be82c87c7d 100644 --- a/cpu/arm920t/cpu.c +++ b/cpu/arm920t/cpu.c @@ -31,27 +31,14 @@ #include #include -#include #include -#ifdef CONFIG_USE_IRQ -DECLARE_GLOBAL_DATA_PTR; +#ifdef CONFIG_AT91_LEGACY +#warning Your board is using legacy AT91RM9200 SoC access. Please update! #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) { /*