diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/include')
| -rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/platform.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/system.h | 25 | ||||
| -rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/vmalloc.h | 5 | 
3 files changed, 1 insertions, 30 deletions
diff --git a/arch/arm/mach-ixp4xx/include/mach/platform.h b/arch/arm/mach-ixp4xx/include/mach/platform.h index e824c02c825..df9250bbf13 100644 --- a/arch/arm/mach-ixp4xx/include/mach/platform.h +++ b/arch/arm/mach-ixp4xx/include/mach/platform.h @@ -125,6 +125,7 @@ extern void ixp4xx_init_irq(void);  extern void ixp4xx_sys_init(void);  extern void ixp4xx_timer_init(void);  extern struct sys_timer ixp4xx_timer; +extern void ixp4xx_restart(char, const char *);  extern void ixp4xx_pci_preinit(void);  struct pci_sys_data;  extern int ixp4xx_setup(int nr, struct pci_sys_data *sys); diff --git a/arch/arm/mach-ixp4xx/include/mach/system.h b/arch/arm/mach-ixp4xx/include/mach/system.h index 54c0af7fa2d..140a9bef446 100644 --- a/arch/arm/mach-ixp4xx/include/mach/system.h +++ b/arch/arm/mach-ixp4xx/include/mach/system.h @@ -8,9 +8,6 @@   * published by the Free Software Foundation.   *   */ - -#include <mach/hardware.h> -  static inline void arch_idle(void)  {  	/* ixp4xx does not implement the XScale PWRMODE register, @@ -20,25 +17,3 @@ static inline void arch_idle(void)  	cpu_do_idle();  #endif  } - - -static inline void arch_reset(char mode, const char *cmd) -{ -	if ( 1 && mode == 's') { -		/* Jump into ROM at address 0 */ -		cpu_reset(0); -	} else { -		/* Use on-chip reset capability */ - -		/* set the "key" register to enable access to -		 * "timer" and "enable" registers -		 */ -		*IXP4XX_OSWK = IXP4XX_WDT_KEY; - -		/* write 0 to the timer register for an immediate reset */ -		*IXP4XX_OSWT = 0; - -		*IXP4XX_OSWE = IXP4XX_WDT_RESET_ENABLE | IXP4XX_WDT_COUNT_ENABLE; -	} -} - diff --git a/arch/arm/mach-ixp4xx/include/mach/vmalloc.h b/arch/arm/mach-ixp4xx/include/mach/vmalloc.h deleted file mode 100644 index 9bcd64d5985..00000000000 --- a/arch/arm/mach-ixp4xx/include/mach/vmalloc.h +++ /dev/null @@ -1,5 +0,0 @@ -/* - * arch/arm/mach-ixp4xx/include/mach/vmalloc.h - */ -#define VMALLOC_END       (0xff000000UL) -  |