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 + 0x100, | ||
| 142 | .timer = &at91rm9200_timer, | 141 | .timer = &at91rm9200_timer, |
| 143 | .map_io = at91rm9200_map_io, | 142 | .map_io = at91rm9200_map_io, |
| 144 | .init_early = csb637_init_early, | 143 | .init_early = csb637_init_early, |
diff --git a/arch/arm/mach-at91/board-eb9200.c b/arch/arm/mach-at91/board-eb9200.c index 0de1ba43c755..e9fff8030293 100644 --- a/arch/arm/mach-at91/board-eb9200.c +++ b/arch/arm/mach-at91/board-eb9200.c | |||
| @@ -120,7 +120,6 @@ static void __init eb9200_board_init(void) | |||
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | MACHINE_START(ATEB9200, "Embest ATEB9200") | 122 | MACHINE_START(ATEB9200, "Embest ATEB9200") |
| 123 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 124 | .timer = &at91rm9200_timer, | 123 | .timer = &at91rm9200_timer, |
| 125 | .map_io = at91rm9200_map_io, | 124 | .map_io = at91rm9200_map_io, |
| 126 | .init_early = eb9200_init_early, | 125 | .init_early = eb9200_init_early, |
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c index bd46395aca85..eea65eaf062a 100644 --- a/arch/arm/mach-at91/board-ecbat91.c +++ b/arch/arm/mach-at91/board-ecbat91.c | |||
| @@ -168,7 +168,6 @@ static void __init ecb_at91board_init(void) | |||
| 168 | 168 | ||
| 169 | MACHINE_START(ECBAT91, "emQbit's ECB_AT91") | 169 | MACHINE_START(ECBAT91, "emQbit's ECB_AT91") |
| 170 | /* Maintainer: emQbit.com */ | 170 | /* Maintainer: emQbit.com */ |
| 171 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 172 | .timer = &at91rm9200_timer, | 171 | .timer = &at91rm9200_timer, |
| 173 | .map_io = at91rm9200_map_io, | 172 | .map_io = at91rm9200_map_io, |
| 174 | .init_early = ecb_at91init_early, | 173 | .init_early = ecb_at91init_early, |
diff --git a/arch/arm/mach-at91/board-eco920.c b/arch/arm/mach-at91/board-eco920.c index 6fff26df723e..90a44e5c6391 100644 --- a/arch/arm/mach-at91/board-eco920.c +++ b/arch/arm/mach-at91/board-eco920.c | |||
| @@ -129,7 +129,6 @@ static void __init eco920_board_init(void) | |||
| 129 | 129 | ||
| 130 | MACHINE_START(ECO920, "eco920") | 130 | MACHINE_START(ECO920, "eco920") |
| 131 | /* Maintainer: Sascha Hauer */ | 131 | /* Maintainer: Sascha Hauer */ |
| 132 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 133 | .timer = &at91rm9200_timer, | 132 | .timer = &at91rm9200_timer, |
| 134 | .map_io = at91rm9200_map_io, | 133 | .map_io = at91rm9200_map_io, |
| 135 | .init_early = eco920_init_early, | 134 | .init_early = eco920_init_early, |
diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c index 934542f624b6..466c063b8d21 100644 --- a/arch/arm/mach-at91/board-flexibity.c +++ b/arch/arm/mach-at91/board-flexibity.c | |||
| @@ -154,7 +154,6 @@ static void __init flexibity_board_init(void) | |||
| 154 | 154 | ||
| 155 | MACHINE_START(FLEXIBITY, "Flexibity Connect") | 155 | MACHINE_START(FLEXIBITY, "Flexibity Connect") |
| 156 | /* Maintainer: Maxim Osipov */ | 156 | /* Maintainer: Maxim Osipov */ |
| 157 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 158 | .timer = &at91sam926x_timer, | 157 | .timer = &at91sam926x_timer, |
| 159 | .map_io = at91sam9260_map_io, | 158 | .map_io = at91sam9260_map_io, |
| 160 | .init_early = flexibity_init_early, | 159 | .init_early = flexibity_init_early, |
diff --git a/arch/arm/mach-at91/board-foxg20.c b/arch/arm/mach-at91/board-foxg20.c index 470a66b275ba..e2d1dc9eff45 100644 --- a/arch/arm/mach-at91/board-foxg20.c +++ b/arch/arm/mach-at91/board-foxg20.c | |||
| @@ -266,7 +266,6 @@ static void __init foxg20_board_init(void) | |||
| 266 | 266 | ||
| 267 | MACHINE_START(ACMENETUSFOXG20, "Acme Systems srl FOX Board G20") | 267 | MACHINE_START(ACMENETUSFOXG20, "Acme Systems srl FOX Board G20") |
| 268 | /* Maintainer: Sergio Tanzilli */ | 268 | /* Maintainer: Sergio Tanzilli */ |
| 269 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 270 | .timer = &at91sam926x_timer, | 269 | .timer = &at91sam926x_timer, |
| 271 | .map_io = at91sam9260_map_io, | 270 | .map_io = at91sam9260_map_io, |
| 272 | .init_early = foxg20_init_early, | 271 | .init_early = foxg20_init_early, |
diff --git a/arch/arm/mach-at91/board-gsia18s.c b/arch/arm/mach-at91/board-gsia18s.c index 2b409decaae8..1d4f36b3cb27 100644 --- a/arch/arm/mach-at91/board-gsia18s.c +++ b/arch/arm/mach-at91/board-gsia18s.c | |||
| @@ -576,7 +576,6 @@ static void __init gsia18s_board_init(void) | |||
| 576 | } | 576 | } |
| 577 | 577 | ||
| 578 | MACHINE_START(GSIA18S, "GS_IA18_S") | 578 | MACHINE_START(GSIA18S, "GS_IA18_S") |
| 579 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 580 | .timer = &at91sam926x_timer, | 579 | .timer = &at91sam926x_timer, |
| 581 | .map_io = at91sam9260_map_io, | 580 | .map_io = at91sam9260_map_io, |
| 582 | .init_early = gsia18s_init_early, | 581 | .init_early = gsia18s_init_early, |
diff --git a/arch/arm/mach-at91/board-kafa.c b/arch/arm/mach-at91/board-kafa.c index 49557d3be95b..4f17a1c98f2e 100644 --- a/arch/arm/mach-at91/board-kafa.c +++ b/arch/arm/mach-at91/board-kafa.c | |||
| @@ -94,7 +94,6 @@ static void __init kafa_board_init(void) | |||
| 94 | 94 | ||
| 95 | MACHINE_START(KAFA, "Sperry-Sun KAFA") | 95 | MACHINE_START(KAFA, "Sperry-Sun KAFA") |
| 96 | /* Maintainer: Sergei Sharonov */ | 96 | /* Maintainer: Sergei Sharonov */ |
| 97 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 98 | .timer = &at91rm9200_timer, | 97 | .timer = &at91rm9200_timer, |
| 99 | .map_io = at91rm9200_map_io, | 98 | .map_io = at91rm9200_map_io, |
| 100 | .init_early = kafa_init_early, | 99 | .init_early = kafa_init_early, |
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index fca061a7370f..39247fae5171 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
| @@ -136,7 +136,6 @@ static void __init kb9202_board_init(void) | |||
| 136 | 136 | ||
| 137 | MACHINE_START(KB9200, "KB920x") | 137 | MACHINE_START(KB9200, "KB920x") |
| 138 | /* Maintainer: KwikByte, Inc. */ | 138 | /* Maintainer: KwikByte, Inc. */ |
| 139 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 140 | .timer = &at91rm9200_timer, | 139 | .timer = &at91rm9200_timer, |
| 141 | .map_io = at91rm9200_map_io, | 140 | .map_io = at91rm9200_map_io, |
| 142 | .init_early = kb9202_init_early, | 141 | .init_early = kb9202_init_early, |
diff --git a/arch/arm/mach-at91/board-neocore926.c b/arch/arm/mach-at91/board-neocore926.c index 004b76da64f5..961e805db68c 100644 --- a/arch/arm/mach-at91/board-neocore926.c +++ b/arch/arm/mach-at91/board-neocore926.c | |||
| @@ -387,7 +387,6 @@ static void __init neocore926_board_init(void) | |||
| 387 | 387 | ||
| 388 | MACHINE_START(NEOCORE926, "ADENEO NEOCORE 926") | 388 | MACHINE_START(NEOCORE926, "ADENEO NEOCORE 926") |
| 389 | /* Maintainer: ADENEO */ | 389 | /* Maintainer: ADENEO */ |
| 390 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 391 | .timer = &at91sam926x_timer, | 390 | .timer = &at91sam926x_timer, |
| 392 | .map_io = at91sam9263_map_io, | 391 | .map_io = at91sam9263_map_io, |
| 393 | .init_early = neocore926_init_early, | 392 | .init_early = neocore926_init_early, |
diff --git a/arch/arm/mach-at91/board-pcontrol-g20.c b/arch/arm/mach-at91/board-pcontrol-g20.c index df1ed7e2806b..21a21af25878 100644 --- a/arch/arm/mach-at91/board-pcontrol-g20.c +++ b/arch/arm/mach-at91/board-pcontrol-g20.c | |||
| @@ -222,7 +222,6 @@ static void __init pcontrol_g20_board_init(void) | |||
| 222 | 222 | ||
| 223 | MACHINE_START(PCONTROL_G20, "PControl G20") | 223 | MACHINE_START(PCONTROL_G20, "PControl G20") |
| 224 | /* Maintainer: pgsellmann@portner-elektronik.at */ | 224 | /* Maintainer: pgsellmann@portner-elektronik.at */ |
| 225 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 226 | .timer = &at91sam926x_timer, | 225 | .timer = &at91sam926x_timer, |
| 227 | .map_io = at91sam9260_map_io, | 226 | .map_io = at91sam9260_map_io, |
| 228 | .init_early = pcontrol_g20_init_early, | 227 | .init_early = pcontrol_g20_init_early, |
diff --git a/arch/arm/mach-at91/board-picotux200.c b/arch/arm/mach-at91/board-picotux200.c index 97372f692593..8294eae1e664 100644 --- a/arch/arm/mach-at91/board-picotux200.c +++ b/arch/arm/mach-at91/board-picotux200.c | |||
| @@ -123,7 +123,6 @@ static void __init picotux200_board_init(void) | |||
| 123 | 123 | ||
| 124 | MACHINE_START(PICOTUX2XX, "picotux 200") | 124 | MACHINE_START(PICOTUX2XX, "picotux 200") |
| 125 | /* Maintainer: Kleinhenz Elektronik GmbH */ | 125 | /* Maintainer: Kleinhenz Elektronik GmbH */ |
| 126 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 127 | .timer = &at91rm9200_timer, | 126 | .timer = &at91rm9200_timer, |
| 128 | .map_io = at91rm9200_map_io, | 127 | .map_io = at91rm9200_map_io, |
| 129 | .init_early = picotux200_init_early, | 128 | .init_early = picotux200_init_early, |
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index 5822d8ea4719..d1a6001b0bd8 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
| @@ -268,7 +268,6 @@ static void __init ek_board_init(void) | |||
| 268 | 268 | ||
| 269 | MACHINE_START(QIL_A9260, "CALAO QIL_A9260") | 269 | MACHINE_START(QIL_A9260, "CALAO QIL_A9260") |
| 270 | /* Maintainer: calao-systems */ | 270 | /* Maintainer: calao-systems */ |
| 271 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 272 | .timer = &at91sam926x_timer, | 271 | .timer = &at91sam926x_timer, |
| 273 | .map_io = at91sam9260_map_io, | 272 | .map_io = at91sam9260_map_io, |
| 274 | .init_early = ek_init_early, | 273 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-rm9200dk.c b/arch/arm/mach-at91/board-rm9200dk.c index 4f04f284dcb1..b90d0f9ade32 100644 --- a/arch/arm/mach-at91/board-rm9200dk.c +++ b/arch/arm/mach-at91/board-rm9200dk.c | |||
| @@ -227,7 +227,6 @@ static void __init dk_board_init(void) | |||
| 227 | 227 | ||
| 228 | MACHINE_START(AT91RM9200DK, "Atmel AT91RM9200-DK") | 228 | MACHINE_START(AT91RM9200DK, "Atmel AT91RM9200-DK") |
| 229 | /* Maintainer: SAN People/Atmel */ | 229 | /* Maintainer: SAN People/Atmel */ |
| 230 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 231 | .timer = &at91rm9200_timer, | 230 | .timer = &at91rm9200_timer, |
| 232 | .map_io = at91rm9200_map_io, | 231 | .map_io = at91rm9200_map_io, |
| 233 | .init_early = dk_init_early, | 232 | .init_early = dk_init_early, |
diff --git a/arch/arm/mach-at91/board-rm9200ek.c b/arch/arm/mach-at91/board-rm9200ek.c index cf161c54ee07..51c266807b1e 100644 --- a/arch/arm/mach-at91/board-rm9200ek.c +++ b/arch/arm/mach-at91/board-rm9200ek.c | |||
| @@ -193,7 +193,6 @@ static void __init ek_board_init(void) | |||
| 193 | 193 | ||
| 194 | MACHINE_START(AT91RM9200EK, "Atmel AT91RM9200-EK") | 194 | MACHINE_START(AT91RM9200EK, "Atmel AT91RM9200-EK") |
| 195 | /* Maintainer: SAN People/Atmel */ | 195 | /* Maintainer: SAN People/Atmel */ |
| 196 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 197 | .timer = &at91rm9200_timer, | 196 | .timer = &at91rm9200_timer, |
| 198 | .map_io = at91rm9200_map_io, | 197 | .map_io = at91rm9200_map_io, |
| 199 | .init_early = ek_init_early, | 198 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c index b925ba99abc2..aaf1bf0989b3 100644 --- a/arch/arm/mach-at91/board-sam9-l9260.c +++ b/arch/arm/mach-at91/board-sam9-l9260.c | |||
| @@ -212,7 +212,6 @@ static void __init ek_board_init(void) | |||
| 212 | 212 | ||
| 213 | MACHINE_START(SAM9_L9260, "Olimex SAM9-L9260") | 213 | MACHINE_START(SAM9_L9260, "Olimex SAM9-L9260") |
| 214 | /* Maintainer: Olimex */ | 214 | /* Maintainer: Olimex */ |
| 215 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 216 | .timer = &at91sam926x_timer, | 215 | .timer = &at91sam926x_timer, |
| 217 | .map_io = at91sam9260_map_io, | 216 | .map_io = at91sam9260_map_io, |
| 218 | .init_early = ek_init_early, | 217 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index b1a358492d88..d600dc123227 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
| @@ -353,7 +353,6 @@ static void __init ek_board_init(void) | |||
| 353 | 353 | ||
| 354 | MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK") | 354 | MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK") |
| 355 | /* Maintainer: Atmel */ | 355 | /* Maintainer: Atmel */ |
| 356 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 357 | .timer = &at91sam926x_timer, | 356 | .timer = &at91sam926x_timer, |
| 358 | .map_io = at91sam9260_map_io, | 357 | .map_io = at91sam9260_map_io, |
| 359 | .init_early = ek_init_early, | 358 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 57d243445b53..f897f84d43dc 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
| @@ -620,7 +620,6 @@ MACHINE_START(AT91SAM9261EK, "Atmel AT91SAM9261-EK") | |||
| 620 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") | 620 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") |
| 621 | #endif | 621 | #endif |
| 622 | /* Maintainer: Atmel */ | 622 | /* Maintainer: Atmel */ |
| 623 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 624 | .timer = &at91sam926x_timer, | 623 | .timer = &at91sam926x_timer, |
| 625 | .map_io = at91sam9261_map_io, | 624 | .map_io = at91sam9261_map_io, |
| 626 | .init_early = ek_init_early, | 625 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index 232634dc17cf..605b26f40a4c 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
| @@ -451,7 +451,6 @@ static void __init ek_board_init(void) | |||
| 451 | 451 | ||
| 452 | MACHINE_START(AT91SAM9263EK, "Atmel AT91SAM9263-EK") | 452 | MACHINE_START(AT91SAM9263EK, "Atmel AT91SAM9263-EK") |
| 453 | /* Maintainer: Atmel */ | 453 | /* Maintainer: Atmel */ |
| 454 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 455 | .timer = &at91sam926x_timer, | 454 | .timer = &at91sam926x_timer, |
| 456 | .map_io = at91sam9263_map_io, | 455 | .map_io = at91sam9263_map_io, |
| 457 | .init_early = ek_init_early, | 456 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 0a24f3f687c8..7624cf0d006b 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
| @@ -403,7 +403,6 @@ static void __init ek_board_init(void) | |||
| 403 | 403 | ||
| 404 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 404 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |
| 405 | /* Maintainer: Atmel */ | 405 | /* Maintainer: Atmel */ |
| 406 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 407 | .timer = &at91sam926x_timer, | 406 | .timer = &at91sam926x_timer, |
| 408 | .map_io = at91sam9260_map_io, | 407 | .map_io = at91sam9260_map_io, |
| 409 | .init_early = ek_init_early, | 408 | .init_early = ek_init_early, |
| @@ -413,7 +412,6 @@ MACHINE_END | |||
| 413 | 412 | ||
| 414 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") | 413 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") |
| 415 | /* Maintainer: Atmel */ | 414 | /* Maintainer: Atmel */ |
| 416 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 417 | .timer = &at91sam926x_timer, | 415 | .timer = &at91sam926x_timer, |
| 418 | .map_io = at91sam9260_map_io, | 416 | .map_io = at91sam9260_map_io, |
| 419 | .init_early = ek_init_early, | 417 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c index 645c97063c7a..063c95d0e8f0 100644 --- a/arch/arm/mach-at91/board-sam9m10g45ek.c +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c | |||
| @@ -421,7 +421,6 @@ static void __init ek_board_init(void) | |||
| 421 | 421 | ||
| 422 | MACHINE_START(AT91SAM9M10G45EK, "Atmel AT91SAM9M10G45-EK") | 422 | MACHINE_START(AT91SAM9M10G45EK, "Atmel AT91SAM9M10G45-EK") |
| 423 | /* Maintainer: Atmel */ | 423 | /* Maintainer: Atmel */ |
| 424 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 425 | .timer = &at91sam926x_timer, | 424 | .timer = &at91sam926x_timer, |
| 426 | .map_io = at91sam9g45_map_io, | 425 | .map_io = at91sam9g45_map_io, |
| 427 | .init_early = ek_init_early, | 426 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index 102f86210607..effb399a80a6 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
| @@ -329,7 +329,6 @@ static void __init ek_board_init(void) | |||
| 329 | 329 | ||
| 330 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") | 330 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") |
| 331 | /* Maintainer: Atmel */ | 331 | /* Maintainer: Atmel */ |
| 332 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 333 | .timer = &at91sam926x_timer, | 332 | .timer = &at91sam926x_timer, |
| 334 | .map_io = at91sam9rl_map_io, | 333 | .map_io = at91sam9rl_map_io, |
| 335 | .init_early = ek_init_early, | 334 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index ad956286aeab..3eb0a1153cc8 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c | |||
| @@ -178,7 +178,6 @@ static void __init snapper9260_board_init(void) | |||
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | MACHINE_START(SNAPPER_9260, "Bluewater Systems Snapper 9260/9G20 module") | 180 | MACHINE_START(SNAPPER_9260, "Bluewater Systems Snapper 9260/9G20 module") |
| 181 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 182 | .timer = &at91sam926x_timer, | 181 | .timer = &at91sam926x_timer, |
| 183 | .map_io = at91sam9260_map_io, | 182 | .map_io = at91sam9260_map_io, |
| 184 | .init_early = snapper9260_init_early, | 183 | .init_early = snapper9260_init_early, |
diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c index 38515e4d1fb5..5e5c85688f5f 100644 --- a/arch/arm/mach-at91/board-stamp9g20.c +++ b/arch/arm/mach-at91/board-stamp9g20.c | |||
| @@ -298,7 +298,6 @@ static void __init stamp9g20evb_board_init(void) | |||
| 298 | 298 | ||
| 299 | MACHINE_START(PORTUXG20, "taskit PortuxG20") | 299 | MACHINE_START(PORTUXG20, "taskit PortuxG20") |
| 300 | /* Maintainer: taskit GmbH */ | 300 | /* Maintainer: taskit GmbH */ |
| 301 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 302 | .timer = &at91sam926x_timer, | 301 | .timer = &at91sam926x_timer, |
| 303 | .map_io = at91sam9260_map_io, | 302 | .map_io = at91sam9260_map_io, |
| 304 | .init_early = portuxg20_init_early, | 303 | .init_early = portuxg20_init_early, |
| @@ -308,7 +307,6 @@ MACHINE_END | |||
| 308 | 307 | ||
| 309 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") | 308 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") |
| 310 | /* Maintainer: taskit GmbH */ | 309 | /* Maintainer: taskit GmbH */ |
| 311 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 312 | .timer = &at91sam926x_timer, | 310 | .timer = &at91sam926x_timer, |
| 313 | .map_io = at91sam9260_map_io, | 311 | .map_io = at91sam9260_map_io, |
| 314 | .init_early = stamp9g20evb_init_early, | 312 | .init_early = stamp9g20evb_init_early, |
diff --git a/arch/arm/mach-at91/board-usb-a9260.c b/arch/arm/mach-at91/board-usb-a9260.c index a0c17d5a6477..0e784e6fedec 100644 --- a/arch/arm/mach-at91/board-usb-a9260.c +++ b/arch/arm/mach-at91/board-usb-a9260.c | |||
| @@ -228,7 +228,6 @@ static void __init ek_board_init(void) | |||
| 228 | 228 | ||
| 229 | MACHINE_START(USB_A9260, "CALAO USB_A9260") | 229 | MACHINE_START(USB_A9260, "CALAO USB_A9260") |
| 230 | /* Maintainer: calao-systems */ | 230 | /* Maintainer: calao-systems */ |
| 231 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 232 | .timer = &at91sam926x_timer, | 231 | .timer = &at91sam926x_timer, |
| 233 | .map_io = at91sam9260_map_io, | 232 | .map_io = at91sam9260_map_io, |
| 234 | .init_early = ek_init_early, | 233 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-usb-a9263.c b/arch/arm/mach-at91/board-usb-a9263.c index 5356af7e87e2..cf626dd14b2c 100644 --- a/arch/arm/mach-at91/board-usb-a9263.c +++ b/arch/arm/mach-at91/board-usb-a9263.c | |||
| @@ -244,7 +244,6 @@ static void __init ek_board_init(void) | |||
| 244 | 244 | ||
| 245 | MACHINE_START(USB_A9263, "CALAO USB_A9263") | 245 | MACHINE_START(USB_A9263, "CALAO USB_A9263") |
| 246 | /* Maintainer: calao-systems */ | 246 | /* Maintainer: calao-systems */ |
| 247 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 248 | .timer = &at91sam926x_timer, | 247 | .timer = &at91sam926x_timer, |
| 249 | .map_io = at91sam9263_map_io, | 248 | .map_io = at91sam9263_map_io, |
| 250 | .init_early = ek_init_early, | 249 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-yl-9200.c b/arch/arm/mach-at91/board-yl-9200.c index 8f9ea5aa6719..167337ff79c8 100644 --- a/arch/arm/mach-at91/board-yl-9200.c +++ b/arch/arm/mach-at91/board-yl-9200.c | |||
| @@ -594,7 +594,6 @@ static void __init yl9200_board_init(void) | |||
| 594 | 594 | ||
| 595 | MACHINE_START(YL9200, "uCdragon YL-9200") | 595 | MACHINE_START(YL9200, "uCdragon YL-9200") |
| 596 | /* Maintainer: S.Birtles */ | 596 | /* Maintainer: S.Birtles */ |
| 597 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
| 598 | .timer = &at91rm9200_timer, | 597 | .timer = &at91rm9200_timer, |
| 599 | .map_io = at91rm9200_map_io, | 598 | .map_io = at91rm9200_map_io, |
| 600 | .init_early = yl9200_init_early, | 599 | .init_early = yl9200_init_early, |
diff --git a/arch/arm/mach-at91/include/mach/at91cap9.h b/arch/arm/mach-at91/include/mach/at91cap9.h index a043bce8da97..665993849a7b 100644 --- a/arch/arm/mach-at91/include/mach/at91cap9.h +++ b/arch/arm/mach-at91/include/mach/at91cap9.h | |||
| @@ -121,6 +121,4 @@ | |||
| 121 | #define AT91CAP9_UDPHS_FIFO 0x00600000 /* USB High Speed Device Port */ | 121 | #define AT91CAP9_UDPHS_FIFO 0x00600000 /* USB High Speed Device Port */ |
| 122 | #define AT91CAP9_UHP_BASE 0x00700000 /* USB Host controller */ | 122 | #define AT91CAP9_UHP_BASE 0x00700000 /* USB Host controller */ |
| 123 | 123 | ||
| 124 | #define CONFIG_DRAM_BASE AT91_CHIPSELECT_6 | ||
| 125 | |||
| 126 | #endif | 124 | #endif |
diff --git a/arch/arm/mach-at91/include/mach/at91sam9g45.h b/arch/arm/mach-at91/include/mach/at91sam9g45.h index 520b14b9cfe9..659304aa73d9 100644 --- a/arch/arm/mach-at91/include/mach/at91sam9g45.h +++ b/arch/arm/mach-at91/include/mach/at91sam9g45.h | |||
| @@ -129,8 +129,6 @@ | |||
| 129 | #define AT91SAM9G45_EHCI_BASE 0x00800000 /* USB Host controller (EHCI) */ | 129 | #define AT91SAM9G45_EHCI_BASE 0x00800000 /* USB Host controller (EHCI) */ |
| 130 | #define AT91SAM9G45_VDEC_BASE 0x00900000 /* Video Decoder Controller */ | 130 | #define AT91SAM9G45_VDEC_BASE 0x00900000 /* Video Decoder Controller */ |
| 131 | 131 | ||
| 132 | #define CONFIG_DRAM_BASE AT91_CHIPSELECT_6 | ||
| 133 | |||
| 134 | #define CONSISTENT_DMA_SIZE SZ_4M | 132 | #define CONSISTENT_DMA_SIZE SZ_4M |
| 135 | 133 | ||
| 136 | /* | 134 | /* |
diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h index 352246407f72..469d3af5a551 100644 --- a/arch/arm/mach-at91/include/mach/hardware.h +++ b/arch/arm/mach-at91/include/mach/hardware.h | |||
| @@ -88,13 +88,6 @@ | |||
| 88 | #define AT91_CHIPSELECT_6 0x70000000 | 88 | #define AT91_CHIPSELECT_6 0x70000000 |
| 89 | #define AT91_CHIPSELECT_7 0x80000000 | 89 | #define AT91_CHIPSELECT_7 0x80000000 |
| 90 | 90 | ||
| 91 | /* SDRAM */ | ||
| 92 | #ifdef CONFIG_DRAM_BASE | ||
| 93 | #define AT91_SDRAM_BASE CONFIG_DRAM_BASE | ||
| 94 | #else | ||
| 95 | #define AT91_SDRAM_BASE AT91_CHIPSELECT_1 | ||
| 96 | #endif | ||
| 97 | |||
| 98 | /* Clocks */ | 91 | /* Clocks */ |
| 99 | #define AT91_SLOW_CLOCK 32768 /* slow clock */ | 92 | #define AT91_SLOW_CLOCK 32768 /* slow clock */ |
| 100 | 93 | ||
diff --git a/arch/arm/mach-at91/include/mach/memory.h b/arch/arm/mach-at91/include/mach/memory.h index c2cfe5040642..401c207f2f39 100644 --- a/arch/arm/mach-at91/include/mach/memory.h +++ b/arch/arm/mach-at91/include/mach/memory.h | |||
| @@ -23,6 +23,4 @@ | |||
| 23 | 23 | ||
| 24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
| 25 | 25 | ||
| 26 | #define PLAT_PHYS_OFFSET (AT91_SDRAM_BASE) | ||
| 27 | |||
| 28 | #endif | 26 | #endif |
