Skip to content

Commit

Permalink
[ARM] pxa: introduce reset.h for reset specific header information
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Eric Miao committed Aug 5, 2008
1 parent 2b12a4c commit ab27712
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 0 additions & 5 deletions include/asm-arm/arch-pxa/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 9 additions & 0 deletions include/asm-arm/arch-pxa/reset.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit ab27712

Please sign in to comment.