]> git.sur5r.net Git - u-boot/blobdiff - cpu/pxa/cpu.c
OMAP3 Move cache routine to cache.S
[u-boot] / cpu / pxa / cpu.c
index ab58d39efcdc32a8da8e01eef060ad4aca1b9dfb..800d120e718bb11a6527223fec3b94855ec17988 100644 (file)
 #include <asm/arch/pxa-regs.h>
 #include <asm/system.h>
 
-#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)
 {
        /*
@@ -74,18 +58,6 @@ int cleanup_before_linux (void)
        return (0);
 }
 
-int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
-{
-       printf ("resetting ...\n");
-
-       udelay (50000);                         /* wait 50 ms */
-       disable_interrupts ();
-       reset_cpu (0);
-
-       /*NOTREACHED*/
-       return (0);
-}
-
 /* flush I/D-cache */
 static void cache_flush (void)
 {