diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-02-08 03:00:39 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-08 09:55:22 -0500 |
commit | d0760b3bc8ff9b34e3e2e166e2102548a24751b4 (patch) | |
tree | 1ff9a9acf479b75e2d8dc23f1b894e5ac12c8d1d /arch/arm/mach-at91/at91sam9260_devices.c | |
parent | 9d0412680e6c7b685ee466842047bcfb924d6dc5 (diff) |
[ARM] 4143/1: AT91: Prepare for AT91SAM9263 support
The Atmel AT91SAM9263 processor includes many more integrated
peripherals than Atmel's previous ARM9-based AT91 processors, so this
has necessitated a few changes to the core AT91 support.
These changes are:
* The system peripheral I/O region we remap has increased from
0xFFFA0000..0xFFFFFFFF to 0xFFF78000..0xFFFFFFFF.
* The increased I/O region forces changes to entry-macro.S and
debug-macro.S due to ARM's limited immediate offset addressing
modes.
* Maximum number of GPIO banks increases to 5.
* 2 MMC controllers so the board-setup code needs to specify which
controller it wishes to use when calling at91_add_device_mmc().
Original patch from Nicolas Ferre.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 4adff70b9ba0..b5d8968e29a7 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -229,7 +229,7 @@ static struct platform_device at91sam9260_mmc_device = { | |||
229 | .num_resources = ARRAY_SIZE(mmc_resources), | 229 | .num_resources = ARRAY_SIZE(mmc_resources), |
230 | }; | 230 | }; |
231 | 231 | ||
232 | void __init at91_add_device_mmc(struct at91_mmc_data *data) | 232 | void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) |
233 | { | 233 | { |
234 | if (!data) | 234 | if (!data) |
235 | return; | 235 | return; |
@@ -275,7 +275,7 @@ void __init at91_add_device_mmc(struct at91_mmc_data *data) | |||
275 | platform_device_register(&at91sam9260_mmc_device); | 275 | platform_device_register(&at91sam9260_mmc_device); |
276 | } | 276 | } |
277 | #else | 277 | #else |
278 | void __init at91_add_device_mmc(struct at91_mmc_data *data) {} | 278 | void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} |
279 | #endif | 279 | #endif |
280 | 280 | ||
281 | 281 | ||