X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Farm920t%2Fcpu.c;h=be82c87c7dd70706851d606cee084c9a07e0ad15;hb=8f0fec74ac6d0f3a7134ccebafa1ed9bd8c712ba;hp=08c9339a35b92961a0f9dd3ec216243141c2c029;hpb=b3acb6cd4059dfb29a5e99095d802717f53ff784;p=oweals%2Fu-boot.git diff --git a/cpu/arm920t/cpu.c b/cpu/arm920t/cpu.c index 08c9339a35..be82c87c7d 100644 --- a/cpu/arm920t/cpu.c +++ b/cpu/arm920t/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. @@ -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) { /* @@ -72,14 +59,6 @@ int cleanup_before_linux (void) return 0; } -int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) -{ - disable_interrupts (); - reset_cpu (0); - /*NOTREACHED*/ - return 0; -} - /* flush I/D-cache */ static void cache_flush (void) {