[ARM] pxa: introduce reset.h for reset specific header information

Signed-off-by: Eric Miao <eric.miao@marvell.com>
This commit is contained in:
Eric Miao 2008-07-29 14:08:14 +08:00
parent 2b12a4c524
commit ab27712142
5 changed files with 12 additions and 5 deletions

View File

@ -12,6 +12,7 @@
#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa2xx-regs.h>
#include <asm/arch/reset.h>
static void do_hw_reset(void);

View File

@ -39,6 +39,7 @@
#include <asm/arch/pxa2xx-regs.h>
#include <asm/arch/pxa2xx-gpio.h>
#include <asm/arch/pxa27x-udc.h>
#include <asm/arch/reset.h>
#include <asm/arch/irda.h>
#include <asm/arch/mmc.h>
#include <asm/arch/ohci.h>

View File

@ -36,6 +36,7 @@
#include <asm/mach-types.h>
#include <asm/arch/pxa2xx-regs.h>
#include <asm/arch/mfp-pxa25x.h>
#include <asm/arch/reset.h>
#include <asm/arch/irda.h>
#include <asm/arch/i2c.h>
#include <asm/arch/mmc.h>

View File

@ -224,11 +224,6 @@ extern void pxa_gpio_set_value(unsigned gpio, int value);
*/
extern unsigned int get_memclk_frequency_10khz(void);
/*
* register GPIO as reset generator
*/
extern int init_gpio_reset(int gpio);
#endif
#if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)

View File

@ -0,0 +1,9 @@
#ifndef __ASM_ARCH_RESET_H
#define __ASM_ARCH_RESET_H
/*
* register GPIO as reset generator
*/
extern int init_gpio_reset(int gpio);
#endif /* __ASM_ARCH_RESET_H */