diff options
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
| -rw-r--r-- | arch/arm/mach-pxa/spitz.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 6d447c9ce8ab..8c61ddac119e 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
| @@ -44,9 +44,7 @@ | |||
| 44 | #include <asm/mach/map.h> | 44 | #include <asm/mach/map.h> |
| 45 | #include <asm/mach/irq.h> | 45 | #include <asm/mach/irq.h> |
| 46 | 46 | ||
| 47 | #include <mach/pxa-regs.h> | 47 | #include <mach/pxa27x.h> |
| 48 | #include <mach/pxa2xx-regs.h> | ||
| 49 | #include <mach/mfp-pxa27x.h> | ||
| 50 | #include <mach/pxa27x-udc.h> | 48 | #include <mach/pxa27x-udc.h> |
| 51 | #include <mach/reset.h> | 49 | #include <mach/reset.h> |
| 52 | #include <mach/i2c.h> | 50 | #include <mach/i2c.h> |
| @@ -105,6 +103,12 @@ static unsigned long spitz_pin_config[] __initdata = { | |||
| 105 | GPIO57_nIOIS16, | 103 | GPIO57_nIOIS16, |
| 106 | GPIO104_PSKTSEL, | 104 | GPIO104_PSKTSEL, |
| 107 | 105 | ||
| 106 | /* I2S */ | ||
| 107 | GPIO28_I2S_BITCLK_OUT, | ||
| 108 | GPIO29_I2S_SDATA_IN, | ||
| 109 | GPIO30_I2S_SDATA_OUT, | ||
| 110 | GPIO31_I2S_SYNC, | ||
| 111 | |||
| 108 | /* MMC */ | 112 | /* MMC */ |
| 109 | GPIO32_MMC_CLK, | 113 | GPIO32_MMC_CLK, |
| 110 | GPIO112_MMC_CMD, | 114 | GPIO112_MMC_CMD, |
| @@ -703,10 +707,10 @@ static struct platform_device *devices[] __initdata = { | |||
| 703 | 707 | ||
| 704 | static void spitz_poweroff(void) | 708 | static void spitz_poweroff(void) |
| 705 | { | 709 | { |
| 706 | arm_machine_restart('g'); | 710 | arm_machine_restart('g', NULL); |
| 707 | } | 711 | } |
| 708 | 712 | ||
| 709 | static void spitz_restart(char mode) | 713 | static void spitz_restart(char mode, const char *cmd) |
| 710 | { | 714 | { |
| 711 | /* Bootloader magic for a reboot */ | 715 | /* Bootloader magic for a reboot */ |
| 712 | if((MSC0 & 0xffff0000) == 0x7ff00000) | 716 | if((MSC0 & 0xffff0000) == 0x7ff00000) |
