diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 7bbb05d9689b..d0374ea2dfb0 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/arch/arm/mach-omap2/board-rx51.c | 2 | * Board support file for Nokia N900 (aka RX-51). |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2007, 2008 Nokia | 4 | * Copyright (C) 2007, 2008 Nokia |
| 5 | * | 5 | * |
| @@ -17,25 +17,23 @@ | |||
| 17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
| 18 | #include <linux/gpio.h> | 18 | #include <linux/gpio.h> |
| 19 | #include <linux/leds.h> | 19 | #include <linux/leds.h> |
| 20 | #include <linux/usb/musb.h> | ||
| 20 | #include <linux/platform_data/spi-omap2-mcspi.h> | 21 | #include <linux/platform_data/spi-omap2-mcspi.h> |
| 21 | 22 | ||
| 22 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
| 23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
| 24 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
| 25 | 26 | ||
| 26 | #include "common.h" | 27 | #include <linux/omap-dma.h> |
| 27 | #include <plat/dma.h> | ||
| 28 | #include <plat/gpmc.h> | ||
| 29 | #include <plat/usb.h> | ||
| 30 | 28 | ||
| 29 | #include "common.h" | ||
| 31 | #include "mux.h" | 30 | #include "mux.h" |
| 31 | #include "gpmc.h" | ||
| 32 | #include "pm.h" | 32 | #include "pm.h" |
| 33 | #include "sdram-nokia.h" | 33 | #include "sdram-nokia.h" |
| 34 | 34 | ||
| 35 | #define RX51_GPIO_SLEEP_IND 162 | 35 | #define RX51_GPIO_SLEEP_IND 162 |
| 36 | 36 | ||
| 37 | extern void rx51_video_mem_init(void); | ||
| 38 | |||
| 39 | static struct gpio_led gpio_leds[] = { | 37 | static struct gpio_led gpio_leds[] = { |
| 40 | { | 38 | { |
| 41 | .name = "sleep_ind", | 39 | .name = "sleep_ind", |
| @@ -112,7 +110,6 @@ static void __init rx51_init(void) | |||
| 112 | 110 | ||
| 113 | static void __init rx51_reserve(void) | 111 | static void __init rx51_reserve(void) |
| 114 | { | 112 | { |
| 115 | rx51_video_mem_init(); | ||
| 116 | omap_reserve(); | 113 | omap_reserve(); |
| 117 | } | 114 | } |
| 118 | 115 | ||
| @@ -127,5 +124,5 @@ MACHINE_START(NOKIA_RX51, "Nokia RX-51 board") | |||
| 127 | .init_machine = rx51_init, | 124 | .init_machine = rx51_init, |
| 128 | .init_late = omap3430_init_late, | 125 | .init_late = omap3430_init_late, |
| 129 | .timer = &omap3_timer, | 126 | .timer = &omap3_timer, |
| 130 | .restart = omap_prcm_restart, | 127 | .restart = omap3xxx_restart, |
| 131 | MACHINE_END | 128 | MACHINE_END |
