Commit 257dab81 authored by Russell King's avatar Russell King
parents ea056df7 ccb8d8d0
...@@ -685,8 +685,8 @@ proc_types: ...@@ -685,8 +685,8 @@ proc_types:
W(b) __armv4_mmu_cache_off W(b) __armv4_mmu_cache_off
W(b) __armv4_mmu_cache_flush W(b) __armv4_mmu_cache_flush
.word 0x56056930 .word 0x56056900
.word 0xff0ffff0 @ PXA935 .word 0xffffff00 @ PXA9xx
W(b) __armv4_mmu_cache_on W(b) __armv4_mmu_cache_on
W(b) __armv4_mmu_cache_off W(b) __armv4_mmu_cache_off
W(b) __armv4_mmu_cache_flush W(b) __armv4_mmu_cache_flush
...@@ -697,12 +697,6 @@ proc_types: ...@@ -697,12 +697,6 @@ proc_types:
W(b) __armv4_mmu_cache_off W(b) __armv4_mmu_cache_off
W(b) __armv5tej_mmu_cache_flush W(b) __armv5tej_mmu_cache_flush
.word 0x56056930
.word 0xff0ffff0 @ PXA935
W(b) __armv4_mmu_cache_on
W(b) __armv4_mmu_cache_off
W(b) __armv4_mmu_cache_flush
.word 0x56050000 @ Feroceon .word 0x56050000 @ Feroceon
.word 0xff0f0000 .word 0xff0f0000
W(b) __armv4_mmu_cache_on W(b) __armv4_mmu_cache_on
......
This diff is collapsed.
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _COLIBRI_H_ #define _COLIBRI_H_
#include <net/ax88796.h> #include <net/ax88796.h>
#include <mach/mfp.h>
/* /*
* common settings for all modules * common settings for all modules
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
#define __cpu_is_pxa950(id) \ #define __cpu_is_pxa950(id) \
({ \ ({ \
unsigned int _id = (id) >> 4 & 0xfff; \ unsigned int _id = (id) >> 4 & 0xfff; \
id == 0x697; \ _id == 0x697; \
}) })
#else #else
#define __cpu_is_pxa950(id) (0) #define __cpu_is_pxa950(id) (0)
......
...@@ -166,7 +166,8 @@ ...@@ -166,7 +166,8 @@
#define U2DMACSR_BUSERRTYPE (7 << 10) /* PX Bus Error Type */ #define U2DMACSR_BUSERRTYPE (7 << 10) /* PX Bus Error Type */
#define U2DMACSR_EORINTR (1 << 9) /* End Of Receive */ #define U2DMACSR_EORINTR (1 << 9) /* End Of Receive */
#define U2DMACSR_REQPEND (1 << 8) /* Request Pending */ #define U2DMACSR_REQPEND (1 << 8) /* Request Pending */
#define U2DMACSR_RASINTR (1 << 4) /* Request After Channel Stopped (read / write 1 clear) */#define U2DMACSR_STOPINTR (1 << 3) /* Stop Interrupt (read only) */ #define U2DMACSR_RASINTR (1 << 4) /* Request After Channel Stopped (read / write 1 clear) */
#define U2DMACSR_STOPINTR (1 << 3) /* Stop Interrupt (read only) */
#define U2DMACSR_ENDINTR (1 << 2) /* End Interrupt (read / write 1 clear) */ #define U2DMACSR_ENDINTR (1 << 2) /* End Interrupt (read / write 1 clear) */
#define U2DMACSR_STARTINTR (1 << 1) /* Start Interrupt (read / write 1 clear) */ #define U2DMACSR_STARTINTR (1 << 1) /* Start Interrupt (read / write 1 clear) */
#define U2DMACSR_BUSERRINTR (1 << 0) /* Bus Error Interrupt (read / write 1 clear) */ #define U2DMACSR_BUSERRINTR (1 << 0) /* Bus Error Interrupt (read / write 1 clear) */
......
...@@ -983,7 +983,7 @@ static void __init raumfeld_common_init(void) ...@@ -983,7 +983,7 @@ static void __init raumfeld_common_init(void)
int i; int i;
for (i = 0; i < ARRAY_SIZE(gpio_keys_button); i++) for (i = 0; i < ARRAY_SIZE(gpio_keys_button); i++)
if (!strcmp(gpio_keys_button[i].desc, "on/off button")) if (!strcmp(gpio_keys_button[i].desc, "on_off button"))
gpio_keys_button[i].active_low = 1; gpio_keys_button[i].active_low = 1;
} }
...@@ -1009,8 +1009,7 @@ static void __init raumfeld_common_init(void) ...@@ -1009,8 +1009,7 @@ static void __init raumfeld_common_init(void)
gpio_direction_output(GPIO_W2W_PDN, 0); gpio_direction_output(GPIO_W2W_PDN, 0);
/* this can be used to switch off the device */ /* this can be used to switch off the device */
ret = gpio_request(GPIO_SHUTDOWN_SUPPLY, ret = gpio_request(GPIO_SHUTDOWN_SUPPLY, "supply shutdown");
"supply shutdown");
if (ret < 0) if (ret < 0)
pr_warning("Unable to request GPIO_SHUTDOWN_SUPPLY\n"); pr_warning("Unable to request GPIO_SHUTDOWN_SUPPLY\n");
else else
......
...@@ -363,7 +363,7 @@ static struct gpio_keys_button spitz_gpio_keys[] = { ...@@ -363,7 +363,7 @@ static struct gpio_keys_button spitz_gpio_keys[] = {
.type = EV_PWR, .type = EV_PWR,
.code = KEY_SUSPEND, .code = KEY_SUSPEND,
.gpio = SPITZ_GPIO_ON_KEY, .gpio = SPITZ_GPIO_ON_KEY,
.desc = "On/Off", .desc = "On Off",
.wakeup = 1, .wakeup = 1,
}, },
/* Two buttons detecting the lid state */ /* Two buttons detecting the lid state */
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <linux/pm.h> #include <linux/pm.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/jiffies.h>
#include <linux/i2c-gpio.h> #include <linux/i2c-gpio.h>
#include <linux/serial_8250.h> #include <linux/serial_8250.h>
#include <linux/smc91x.h> #include <linux/smc91x.h>
...@@ -454,7 +455,7 @@ static struct i2c_gpio_platform_data i2c_bus_data = { ...@@ -454,7 +455,7 @@ static struct i2c_gpio_platform_data i2c_bus_data = {
.sda_pin = VIPER_RTC_I2C_SDA_GPIO, .sda_pin = VIPER_RTC_I2C_SDA_GPIO,
.scl_pin = VIPER_RTC_I2C_SCL_GPIO, .scl_pin = VIPER_RTC_I2C_SCL_GPIO,
.udelay = 10, .udelay = 10,
.timeout = 100, .timeout = HZ,
}; };
static struct platform_device i2c_bus_device = { static struct platform_device i2c_bus_device = {
...@@ -779,7 +780,7 @@ static void __init viper_tpm_init(void) ...@@ -779,7 +780,7 @@ static void __init viper_tpm_init(void)
.sda_pin = VIPER_TPM_I2C_SDA_GPIO, .sda_pin = VIPER_TPM_I2C_SDA_GPIO,
.scl_pin = VIPER_TPM_I2C_SCL_GPIO, .scl_pin = VIPER_TPM_I2C_SCL_GPIO,
.udelay = 10, .udelay = 10,
.timeout = 100, .timeout = HZ,
}; };
char *errstr; char *errstr;
......
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