diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-fsample.c')
-rw-r--r-- | arch/arm/mach-omap1/board-fsample.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-fsample.c b/arch/arm/mach-omap1/board-fsample.c index 4b6de70c47a6..8b5800acf726 100644 --- a/arch/arm/mach-omap1/board-fsample.c +++ b/arch/arm/mach-omap1/board-fsample.c | |||
@@ -27,10 +27,10 @@ | |||
27 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
28 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
29 | 29 | ||
30 | #include <plat/tc.h> | 30 | #include <mach/tc.h> |
31 | #include <mach/mux.h> | 31 | #include <mach/mux.h> |
32 | #include <mach/flash.h> | 32 | #include <mach/flash.h> |
33 | #include <plat/fpga.h> | 33 | #include <../plat-omap/fpga.h> |
34 | #include <linux/platform_data/keypad-omap.h> | 34 | #include <linux/platform_data/keypad-omap.h> |
35 | 35 | ||
36 | #include <mach/hardware.h> | 36 | #include <mach/hardware.h> |
@@ -123,9 +123,9 @@ static struct resource smc91x_resources[] = { | |||
123 | 123 | ||
124 | static void __init fsample_init_smc91x(void) | 124 | static void __init fsample_init_smc91x(void) |
125 | { | 125 | { |
126 | fpga_write(1, H2P2_DBG_FPGA_LAN_RESET); | 126 | __raw_writeb(1, H2P2_DBG_FPGA_LAN_RESET); |
127 | mdelay(50); | 127 | mdelay(50); |
128 | fpga_write(fpga_read(H2P2_DBG_FPGA_LAN_RESET) & ~1, | 128 | __raw_writeb(__raw_readb(H2P2_DBG_FPGA_LAN_RESET) & ~1, |
129 | H2P2_DBG_FPGA_LAN_RESET); | 129 | H2P2_DBG_FPGA_LAN_RESET); |
130 | mdelay(50); | 130 | mdelay(50); |
131 | } | 131 | } |
@@ -362,7 +362,6 @@ MACHINE_START(OMAP_FSAMPLE, "OMAP730 F-Sample") | |||
362 | .atag_offset = 0x100, | 362 | .atag_offset = 0x100, |
363 | .map_io = omap_fsample_map_io, | 363 | .map_io = omap_fsample_map_io, |
364 | .init_early = omap1_init_early, | 364 | .init_early = omap1_init_early, |
365 | .reserve = omap_reserve, | ||
366 | .init_irq = omap1_init_irq, | 365 | .init_irq = omap1_init_irq, |
367 | .init_machine = omap_fsample_init, | 366 | .init_machine = omap_fsample_init, |
368 | .init_late = omap1_init_late, | 367 | .init_late = omap1_init_late, |