diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-05-02 12:44:58 -0400 |
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-05-25 11:04:35 -0400 |
| commit | 3d51f259e819b49b3f88b594afcb044d1ffcda8a (patch) | |
| tree | 587d282cd4b550df904642fd1ea71488b30530a4 | |
| parent | ee2e35015d4f09ce748a96a79582e959e6053f1a (diff) | |
at91: drop boot_params and PLAT_PHYS_OFFSET
select ARM_PATCH_PHYS_VIRT
as with ARM_PATCH_PHYS_VIRT you can patch boot_params at runtime or any recent
bootloader will provide a valid atags pointer in r2
as point out by Russell on AT91 we never use XIP
so se do not need PLAT_PHYS_OFFSET
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
41 files changed, 1 insertions, 51 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5fd0be92f70b..f4b7dfacf2d0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -295,6 +295,7 @@ config ARCH_AT91 | |||
| 295 | select ARCH_REQUIRE_GPIOLIB | 295 | select ARCH_REQUIRE_GPIOLIB |
| 296 | select HAVE_CLK | 296 | select HAVE_CLK |
| 297 | select CLKDEV_LOOKUP | 297 | select CLKDEV_LOOKUP |
| 298 | select ARM_PATCH_PHYS_VIRT if MMU | ||
| 298 | help | 299 | help |
| 299 | This enables support for systems based on the Atmel AT91RM9200, | 300 | This enables support for systems based on the Atmel AT91RM9200, |
| 300 | AT91SAM9 and AT91CAP9 processors. | 301 | AT91SAM9 and AT91CAP9 processors. |
diff --git a/arch/arm/mach-at91/board-1arm.c b/arch/arm/mach-at91/board-1arm.c index 672bbd85f952..73372ca868de 100644 --- a/arch/arm/mach-at91/board-1arm.c +++ b/arch/arm/mach-at91/board-1arm.c | |||
| @@ -92,7 +92,6 @@ static void __init onearm_board_init(void) | |||
| 92 | 92 | ||
| 93 | MACHINE_START(ONEARM, "Ajeco 1ARM single board computer") | 93 | MACHINE_START(ONEARM, "Ajeco 1ARM single board computer") |
| 94 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 94 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
| 95 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 96 | .timer = &at91rm9200_timer, | 95 | .timer = &at91rm9200_timer, |
| 97 | .map_io = at91rm9200_map_io, | 96 | .map_io = at91rm9200_map_io, |
| 98 | .init_early = onearm_init_early, | 97 | .init_early = onearm_init_early, |
diff --git a/arch/arm/mach-at91/board-afeb-9260v1.c b/arch/arm/mach-at91/board-afeb-9260v1.c index 00a92a55e940..a4924de48c36 100644 --- a/arch/arm/mach-at91/board-afeb-9260v1.c +++ b/arch/arm/mach-at91/board-afeb-9260v1.c | |||
| @@ -218,7 +218,6 @@ static void __init afeb9260_board_init(void) | |||
| 218 | 218 | ||
| 219 | MACHINE_START(AFEB9260, "Custom afeb9260 board") | 219 | MACHINE_START(AFEB9260, "Custom afeb9260 board") |
| 220 | /* Maintainer: Sergey Lapin <slapin@ossfans.org> */ | 220 | /* Maintainer: Sergey Lapin <slapin@ossfans.org> */ |
| 221 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 222 | .timer = &at91sam926x_timer, | 221 | .timer = &at91sam926x_timer, |
| 223 | .map_io = at91sam9260_map_io, | 222 | .map_io = at91sam9260_map_io, |
| 224 | .init_early = afeb9260_init_early, | 223 | .init_early = afeb9260_init_early, |
diff --git a/arch/arm/mach-at91/board-at572d940hf_ek.c b/arch/arm/mach-at91/board-at572d940hf_ek.c index a11d7093a1f9..dfa896d7d5a9 100644 --- a/arch/arm/mach-at91/board-at572d940hf_ek.c +++ b/arch/arm/mach-at91/board-at572d940hf_ek.c | |||
| @@ -315,7 +315,6 @@ static void __init eb_board_init(void) | |||
| 315 | 315 | ||
| 316 | MACHINE_START(AT572D940HFEB, "Atmel AT91D940HF-EB") | 316 | MACHINE_START(AT572D940HFEB, "Atmel AT91D940HF-EB") |
| 317 | /* Maintainer: Atmel <costa.antonior@gmail.com> */ | 317 | /* Maintainer: Atmel <costa.antonior@gmail.com> */ |
| 318 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 319 | .timer = &at91sam926x_timer, | 318 | .timer = &at91sam926x_timer, |
| 320 | .map_io = at572d940hf_map_io, | 319 | .map_io = at572d940hf_map_io, |
| 321 | .init_early = eb_init_early, | 320 | .init_early = eb_init_early, |
diff --git a/arch/arm/mach-at91/board-cam60.c b/arch/arm/mach-at91/board-cam60.c index 3025b905bc30..148fccb9a25a 100644 --- a/arch/arm/mach-at91/board-cam60.c +++ b/arch/arm/mach-at91/board-cam60.c | |||
| @@ -198,7 +198,6 @@ static void __init cam60_board_init(void) | |||
| 198 | 198 | ||
| 199 | MACHINE_START(CAM60, "KwikByte CAM60") | 199 | MACHINE_START(CAM60, "KwikByte CAM60") |
| 200 | /* Maintainer: KwikByte */ | 200 | /* Maintainer: KwikByte */ |
| 201 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 202 | .timer = &at91sam926x_timer, | 201 | .timer = &at91sam926x_timer, |
| 203 | .map_io = at91sam9260_map_io, | 202 | .map_io = at91sam9260_map_io, |
| 204 | .init_early = cam60_init_early, | 203 | .init_early = cam60_init_early, |
diff --git a/arch/arm/mach-at91/board-cap9adk.c b/arch/arm/mach-at91/board-cap9adk.c index af90569204a3..1904fdf87613 100644 --- a/arch/arm/mach-at91/board-cap9adk.c +++ b/arch/arm/mach-at91/board-cap9adk.c | |||
| @@ -396,7 +396,6 @@ static void __init cap9adk_board_init(void) | |||
| 396 | 396 | ||
| 397 | MACHINE_START(AT91CAP9ADK, "Atmel AT91CAP9A-DK") | 397 | MACHINE_START(AT91CAP9ADK, "Atmel AT91CAP9A-DK") |
| 398 | /* Maintainer: Stelian Pop <stelian.pop@leadtechdesign.com> */ | 398 | /* Maintainer: Stelian Pop <stelian.pop@leadtechdesign.com> */ |
| 399 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 400 | .timer = &at91sam926x_timer, | 399 | .timer = &at91sam926x_timer, |
| 401 | .map_io = at91cap9_map_io, | 400 | .map_io = at91cap9_map_io, |
| 402 | .init_early = cap9adk_init_early, | 401 | .init_early = cap9adk_init_early, |
diff --git a/arch/arm/mach-at91/board-carmeva.c b/arch/arm/mach-at91/board-carmeva.c index dfa98f34281d..3929b1172067 100644 --- a/arch/arm/mach-at91/board-carmeva.c +++ b/arch/arm/mach-at91/board-carmeva.c | |||
| @@ -162,7 +162,6 @@ static void __init carmeva_board_init(void) | |||
| 162 | 162 | ||
| 163 | MACHINE_START(CARMEVA, "Carmeva") | 163 | MACHINE_START(CARMEVA, "Carmeva") |
| 164 | /* Maintainer: Conitec Datasystems */ | 164 | /* Maintainer: Conitec Datasystems */ |
| 165 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 166 | .timer = &at91rm9200_timer, | 165 | .timer = &at91rm9200_timer, |
| 167 | .map_io = at91rm9200_map_io, | 166 | .map_io = at91rm9200_map_io, |
| 168 | .init_early = carmeva_init_early, | 167 | .init_early = carmeva_init_early, |
diff --git a/arch/arm/mach-at91/board-cpu9krea.c b/arch/arm/mach-at91/board-cpu9krea.c index 34fd892edff4..980511084fe4 100644 --- a/arch/arm/mach-at91/board-cpu9krea.c +++ b/arch/arm/mach-at91/board-cpu9krea.c | |||
| @@ -375,7 +375,6 @@ MACHINE_START(CPUAT9260, "Eukrea CPU9260") | |||
| 375 | MACHINE_START(CPUAT9G20, "Eukrea CPU9G20") | 375 | MACHINE_START(CPUAT9G20, "Eukrea CPU9G20") |
| 376 | #endif | 376 | #endif |
| 377 | /* Maintainer: Eric Benard - EUKREA Electromatique */ | 377 | /* Maintainer: Eric Benard - EUKREA Electromatique */ |
| 378 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 379 | .timer = &at91sam926x_timer, | 378 | .timer = &at91sam926x_timer, |
| 380 | .map_io = at91sam9260_map_io, | 379 | .map_io = at91sam9260_map_io, |
| 381 | .init_early = cpu9krea_init_early, | 380 | .init_early = cpu9krea_init_early, |
diff --git a/arch/arm/mach-at91/board-cpuat91.c b/arch/arm/mach-at91/board-cpuat91.c index 34c9d0c75e42..620a36ae79c4 100644 --- a/arch/arm/mach-at91/board-cpuat91.c +++ b/arch/arm/mach-at91/board-cpuat91.c | |||
| @@ -175,7 +175,6 @@ static void __init cpuat91_board_init(void) | |||
| 175 | 175 | ||
| 176 | MACHINE_START(CPUAT91, "Eukrea") | 176 | MACHINE_START(CPUAT91, "Eukrea") |
| 177 | /* Maintainer: Eric Benard - EUKREA Electromatique */ | 177 | /* Maintainer: Eric Benard - EUKREA Electromatique */ |
| 178 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 179 | .timer = &at91rm9200_timer, | 178 | .timer = &at91rm9200_timer, |
| 180 | .map_io = at91rm9200_map_io, | 179 | .map_io = at91rm9200_map_io, |
| 181 | .init_early = cpuat91_init_early, | 180 | .init_early = cpuat91_init_early, |
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c index a48a32ddb049..a7be81e8b910 100644 --- a/arch/arm/mach-at91/board-csb337.c +++ b/arch/arm/mach-at91/board-csb337.c | |||
| @@ -257,7 +257,6 @@ static void __init csb337_board_init(void) | |||
| 257 | 257 | ||
| 258 | MACHINE_START(CSB337, "Cogent CSB337") | 258 | MACHINE_START(CSB337, "Cogent CSB337") |
| 259 | /* Maintainer: Bill Gatliff */ | 259 | /* Maintainer: Bill Gatliff */ |
| 260 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 261 | .timer = &at91rm9200_timer, | 260 | .timer = &at91rm9200_timer, |
| 262 | .map_io = at91rm9200_map_io, | 261 | .map_io = at91rm9200_map_io, |
| 263 | .init_early = csb337_init_early, | 262 | .init_early = csb337_init_early, |
diff --git a/arch/arm/mach-at91/board-csb637.c b/arch/arm/mach-at91/board-csb637.c index 7f0ee1cd9e8b..58a80c368652 100644 --- a/arch/arm/mach-at91/board-csb637.c +++ b/arch/arm/mach-at91/board-csb637.c | |||
| @@ -138,7 +138,6 @@ static void __init csb637_board_init(void) | |||
| 138 | 138 | ||
| 139 | MACHINE_START(CSB637, "Cogent CSB637") | 139 | MACHINE_START(CSB637, "Cogent CSB637") |
| 140 | /* Maintainer: Bill Gatliff */ | 140 | /* Maintainer: Bill Gatliff */ |
| 141 | .boot_params = AT91_SDRAM_BASE + 0x | ||
