Commit e6f351b7 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Undo of adding early GPIO init to board specific files

The early GPIO should only be needed in cases where some interrupts
are routed via FPGA. In most cases doing the init with arch_initcall()
should be fine.
parent 9a5d1946
...@@ -28,12 +28,9 @@ ...@@ -28,12 +28,9 @@
#include <asm/arch/board.h> #include <asm/arch/board.h>
#include <asm/arch/common.h> #include <asm/arch/common.h>
extern int omap_gpio_init(void);
static void __init omap_generic_init_irq(void) static void __init omap_generic_init_irq(void)
{ {
omap_init_irq(); omap_init_irq();
omap_gpio_init();
} }
/* assume no Mini-AB port */ /* assume no Mini-AB port */
......
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
#include <asm/arch/usb.h> #include <asm/arch/usb.h>
#include <asm/arch/common.h> #include <asm/arch/common.h>
extern int omap_gpio_init(void);
static struct mtd_partition innovator_partitions[] = { static struct mtd_partition innovator_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */ /* bootloader (U-Boot, etc) in first sector */
{ {
......
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
#include <asm/arch/tc.h> #include <asm/arch/tc.h>
#include <asm/arch/common.h> #include <asm/arch/common.h>
extern int omap_gpio_init(void);
static struct mtd_partition osk_partitions[] = { static struct mtd_partition osk_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */ /* bootloader (U-Boot, etc) in first sector */
{ {
......
...@@ -32,12 +32,9 @@ ...@@ -32,12 +32,9 @@
#include <asm/arch/common.h> #include <asm/arch/common.h>
#include <asm/hardware/clock.h> #include <asm/hardware/clock.h>
extern int omap_gpio_init(void);
static void __init omap_generic_init_irq(void) static void __init omap_generic_init_irq(void)
{ {
omap_init_irq(); omap_init_irq();
omap_gpio_init();
} }
static struct omap_usb_config palmte_usb_config __initdata = { static struct omap_usb_config palmte_usb_config __initdata = {
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#include <asm/arch/common.h> #include <asm/arch/common.h>
#include <asm/arch/board.h> #include <asm/arch/board.h>
extern int omap_gpio_init(void);
static struct resource smc91x_resources[] = { static struct resource smc91x_resources[] = {
[0] = { [0] = {
.start = H2P2_DBG_FPGA_ETHR_START, /* Physical */ .start = H2P2_DBG_FPGA_ETHR_START, /* Physical */
......
...@@ -31,12 +31,9 @@ ...@@ -31,12 +31,9 @@
#include <asm/arch/board.h> #include <asm/arch/board.h>
#include <asm/arch/common.h> #include <asm/arch/common.h>
extern int omap_gpio_init(void);
static void __init omap_generic_init_irq(void) static void __init omap_generic_init_irq(void)
{ {
omap_init_irq(); omap_init_irq();
omap_gpio_init();
} }
static struct omap_uart_config generic_uart_config __initdata = { static struct omap_uart_config generic_uart_config __initdata = {
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/delay.h> #include <asm/delay.h>
extern int omap_gpio_init(void);
static struct mtd_partition h4_partitions[] = { static struct mtd_partition h4_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */ /* bootloader (U-Boot, etc) in first sector */
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment