diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-02 11:07:03 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-02 11:07:03 -0400 |
commit | ced62c33fc434b9d44118c9f35803af8088cc3fe (patch) | |
tree | 34d1145899e0e5853c4d5b45162f86bbe46941ea /arch/arm/mach-at91 | |
parent | 3ff80abce7d0d3c1eacda53e73c94a57ade2e0a5 (diff) | |
parent | 6838e601e6dc63440fd4315c1c2f3a2ef4ccdd6e (diff) |
Merge tag 'imx-cleanup' of git://git.pengutronix.de/git/imx/linux-2.6 into next/cleanup
From: Sascha Hauer <s.hauer@pengutronix.de>
ARM: i.MX cleanups for 3.5
* tag 'imx-cleanup' of git://git.pengutronix.de/git/imx/linux-2.6: (5 commits)
ARM: mx53: fix pad definitions for MX53_PAD_EIM_D28__I2C1_SDA and MX53_PAD_GPIO_8__CAN1_RXCAN
ARM: imx/eukrea_mbimx27-baseboard: fix typo in error message
ARM: i.MX51 iomux: add missed definitions for SION-bit and mode for some pads
arm: imx: add missing select IMX_HAVE_PLATFORM for MACH_MX35_3DS in Kconfig
arm: imx: make various struct sys_timer static
Includes an update to 3.4-rc4
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_devices.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_time.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-rm9200ek.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-at91/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_pmc.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/setup.c | 2 |
7 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index d9f0d770978e..99affb5d0563 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c | |||
@@ -1162,7 +1162,6 @@ void __init at91_add_device_serial(void) | |||
1162 | } | 1162 | } |
1163 | } | 1163 | } |
1164 | #else | 1164 | #else |
1165 | void __init __deprecated at91_init_serial(struct at91_uart_config *config) {} | ||
1166 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} | 1165 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} |
1167 | void __init at91_add_device_serial(void) {} | 1166 | void __init at91_add_device_serial(void) {} |
1168 | #endif | 1167 | #endif |
diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c index dd7f782b0b91..104ca40d8d18 100644 --- a/arch/arm/mach-at91/at91rm9200_time.c +++ b/arch/arm/mach-at91/at91rm9200_time.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
24 | #include <linux/irq.h> | 24 | #include <linux/irq.h> |
25 | #include <linux/clockchips.h> | 25 | #include <linux/clockchips.h> |
26 | #include <linux/export.h> | ||
26 | 27 | ||
27 | #include <asm/mach/time.h> | 28 | #include <asm/mach/time.h> |
28 | 29 | ||
@@ -176,6 +177,7 @@ static struct clock_event_device clkevt = { | |||
176 | }; | 177 | }; |
177 | 178 | ||
178 | void __iomem *at91_st_base; | 179 | void __iomem *at91_st_base; |
180 | EXPORT_SYMBOL_GPL(at91_st_base); | ||
179 | 181 | ||
180 | void __init at91rm9200_ioremap_st(u32 addr) | 182 | void __init at91rm9200_ioremap_st(u32 addr) |
181 | { | 183 | { |
diff --git a/arch/arm/mach-at91/board-rm9200ek.c b/arch/arm/mach-at91/board-rm9200ek.c index 78ffc8315f97..2b15b8adec4c 100644 --- a/arch/arm/mach-at91/board-rm9200ek.c +++ b/arch/arm/mach-at91/board-rm9200ek.c | |||
@@ -103,7 +103,7 @@ static struct i2c_board_info __initdata ek_i2c_devices[] = { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | #define EK_FLASH_BASE AT91_CHIPSELECT_0 | 105 | #define EK_FLASH_BASE AT91_CHIPSELECT_0 |
106 | #define EK_FLASH_SIZE SZ_2M | 106 | #define EK_FLASH_SIZE SZ_8M |
107 | 107 | ||
108 | static struct physmap_flash_data ek_flash_data = { | 108 | static struct physmap_flash_data ek_flash_data = { |
109 | .width = 2, | 109 | .width = 2, |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 065b5ee35070..2736453821b0 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -76,8 +76,6 @@ static struct resource dm9000_resource[] = { | |||
76 | .flags = IORESOURCE_MEM | 76 | .flags = IORESOURCE_MEM |
77 | }, | 77 | }, |
78 | [2] = { | 78 | [2] = { |
79 | .start = AT91_PIN_PC11, | ||
80 | .end = AT91_PIN_PC11, | ||
81 | .flags = IORESOURCE_IRQ | 79 | .flags = IORESOURCE_IRQ |
82 | | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE, | 80 | | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE, |
83 | } | 81 | } |
@@ -121,6 +119,8 @@ static struct sam9_smc_config __initdata dm9000_smc_config = { | |||
121 | 119 | ||
122 | static void __init ek_add_device_dm9000(void) | 120 | static void __init ek_add_device_dm9000(void) |
123 | { | 121 | { |
122 | struct resource *r = &dm9000_resource[2]; | ||
123 | |||
124 | /* Configure chip-select 2 (DM9000) */ | 124 | /* Configure chip-select 2 (DM9000) */ |
125 | sam9_smc_configure(0, 2, &dm9000_smc_config); | 125 | sam9_smc_configure(0, 2, &dm9000_smc_config); |
126 | 126 | ||
@@ -130,6 +130,7 @@ static void __init ek_add_device_dm9000(void) | |||
130 | /* Configure Interrupt pin as input, no pull-up */ | 130 | /* Configure Interrupt pin as input, no pull-up */ |
131 | at91_set_gpio_input(AT91_PIN_PC11, 0); | 131 | at91_set_gpio_input(AT91_PIN_PC11, 0); |
132 | 132 | ||
133 | r->start = r->end = gpio_to_irq(AT91_PIN_PC11); | ||
133 | platform_device_register(&dm9000_device); | 134 | platform_device_register(&dm9000_device); |
134 | } | 135 | } |
135 | #else | 136 | #else |
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index a0f4d7424cdc..6b692824c988 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include "generic.h" | 35 | #include "generic.h" |
36 | 36 | ||
37 | void __iomem *at91_pmc_base; | 37 | void __iomem *at91_pmc_base; |
38 | EXPORT_SYMBOL_GPL(at91_pmc_base); | ||
38 | 39 | ||
39 | /* | 40 | /* |
40 | * There's a lot more which can be done with clocks, including cpufreq | 41 | * There's a lot more which can be done with clocks, including cpufreq |
diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h index 36604782a78f..ea2c57a86ca6 100644 --- a/arch/arm/mach-at91/include/mach/at91_pmc.h +++ b/arch/arm/mach-at91/include/mach/at91_pmc.h | |||
@@ -25,7 +25,7 @@ extern void __iomem *at91_pmc_base; | |||
25 | #define at91_pmc_write(field, value) \ | 25 | #define at91_pmc_write(field, value) \ |
26 | __raw_writel(value, at91_pmc_base + field) | 26 | __raw_writel(value, at91_pmc_base + field) |
27 | #else | 27 | #else |
28 | .extern at91_aic_base | 28 | .extern at91_pmc_base |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #define AT91_PMC_SCER 0x00 /* System Clock Enable Register */ | 31 | #define AT91_PMC_SCER 0x00 /* System Clock Enable Register */ |
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 97cc04dc8073..f44a2e7272e3 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -54,6 +54,7 @@ void __init at91_init_interrupts(unsigned int *priority) | |||
54 | } | 54 | } |
55 | 55 | ||
56 | void __iomem *at91_ramc_base[2]; | 56 | void __iomem *at91_ramc_base[2]; |
57 | EXPORT_SYMBOL_GPL(at91_ramc_base); | ||
57 | 58 | ||
58 | void __init at91_ioremap_ramc(int id, u32 addr, u32 size) | 59 | void __init at91_ioremap_ramc(int id, u32 addr, u32 size) |
59 | { | 60 | { |
@@ -292,6 +293,7 @@ void __init at91_ioremap_rstc(u32 base_addr) | |||
292 | } | 293 | } |
293 | 294 | ||
294 | void __iomem *at91_matrix_base; | 295 | void __iomem *at91_matrix_base; |
296 | EXPORT_SYMBOL_GPL(at91_matrix_base); | ||
295 | 297 | ||
296 | void __init at91_ioremap_matrix(u32 base_addr) | 298 | void __init at91_ioremap_matrix(u32 base_addr) |
297 | { | 299 | { |