aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-31 18:11:46 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 19:25:01 -0400
commit5725aeae5ff2e39f3815bbef788ee326c9afea2c (patch)
tree4f32f936ba18384d48ab1e537b787a8ce666263f /arch/arm/Kconfig
parent43872fa788060eef91ae437957e0a5e39f1c56fd (diff)
parent0cdc8b921d68817b687755b4f6ae20cd8ff1d026 (diff)
Merge branch 'depends/rmk/memory_h' into next/fixes
Fix up all conflicts between the memory.h cleanup and bug fixes. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig46
1 files changed, 36 insertions, 10 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index cbb18264cdce..2d95b5b5cf49 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -195,7 +195,8 @@ config VECTORS_BASE
195 The base address of exception vectors. 195 The base address of exception vectors.
196 196
197config ARM_PATCH_PHYS_VIRT 197config ARM_PATCH_PHYS_VIRT
198 bool "Patch physical to virtual translations at runtime" 198 bool "Patch physical to virtual translations at runtime" if EMBEDDED
199 default y
199 depends on !XIP_KERNEL && MMU 200 depends on !XIP_KERNEL && MMU
200 depends on !ARCH_REALVIEW || !SPARSEMEM 201 depends on !ARCH_REALVIEW || !SPARSEMEM
201 help 202 help
@@ -204,16 +205,25 @@ config ARM_PATCH_PHYS_VIRT
204 kernel in system memory. 205 kernel in system memory.
205 206
206 This can only be used with non-XIP MMU kernels where the base 207 This can only be used with non-XIP MMU kernels where the base
207 of physical memory is at a 16MB boundary, or theoretically 64K 208 of physical memory is at a 16MB boundary.
208 for the MSM machine class.
209 209
210config ARM_PATCH_PHYS_VIRT_16BIT 210 Only disable this option if you know that you do not require
211 def_bool y 211 this feature (eg, building a kernel for a single machine) and
212 depends on ARM_PATCH_PHYS_VIRT && ARCH_MSM 212 you need to shrink the kernel to the minimal size.
213
214config NEED_MACH_MEMORY_H
215 bool
216 help
217 Select this when mach/memory.h is required to provide special
218 definitions for this platform. The need for mach/memory.h should
219 be avoided when possible.
220
221config PHYS_OFFSET
222 hex "Physical address of main memory"
223 depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H
213 help 224 help
214 This option extends the physical to virtual translation patching 225 Please provide the physical address corresponding to the
215 to allow physical memory down to a theoretical minimum of 64K 226 location of main memory in your system.
216 boundaries.
217 227
218source "init/Kconfig" 228source "init/Kconfig"
219 229
@@ -246,6 +256,7 @@ config ARCH_INTEGRATOR
246 select GENERIC_CLOCKEVENTS 256 select GENERIC_CLOCKEVENTS
247 select PLAT_VERSATILE 257 select PLAT_VERSATILE
248 select PLAT_VERSATILE_FPGA_IRQ 258 select PLAT_VERSATILE_FPGA_IRQ
259 select NEED_MACH_MEMORY_H
249 help 260 help
250 Support for ARM's Integrator platform. 261 Support for ARM's Integrator platform.
251 262
@@ -261,6 +272,7 @@ config ARCH_REALVIEW
261 select PLAT_VERSATILE_CLCD 272 select PLAT_VERSATILE_CLCD
262 select ARM_TIMER_SP804 273 select ARM_TIMER_SP804
263 select GPIO_PL061 if GPIOLIB 274 select GPIO_PL061 if GPIOLIB
275 select NEED_MACH_MEMORY_H
264 help 276 help
265 This enables support for ARM Ltd RealView boards. 277 This enables support for ARM Ltd RealView boards.
266 278
@@ -301,7 +313,6 @@ config ARCH_AT91
301 select ARCH_REQUIRE_GPIOLIB 313 select ARCH_REQUIRE_GPIOLIB
302 select HAVE_CLK 314 select HAVE_CLK
303 select CLKDEV_LOOKUP 315 select CLKDEV_LOOKUP
304 select ARM_PATCH_PHYS_VIRT if MMU
305 help 316 help
306 This enables support for systems based on the Atmel AT91RM9200, 317 This enables support for systems based on the Atmel AT91RM9200,
307 AT91SAM9 and AT91CAP9 processors. 318 AT91SAM9 and AT91CAP9 processors.
@@ -322,6 +333,7 @@ config ARCH_CLPS711X
322 bool "Cirrus Logic CLPS711x/EP721x-based" 333 bool "Cirrus Logic CLPS711x/EP721x-based"
323 select CPU_ARM720T 334 select CPU_ARM720T
324 select ARCH_USES_GETTIMEOFFSET 335 select ARCH_USES_GETTIMEOFFSET
336 select NEED_MACH_MEMORY_H
325 help 337 help
326 Support for Cirrus Logic 711x/721x based boards. 338 Support for Cirrus Logic 711x/721x based boards.
327 339
@@ -362,6 +374,7 @@ config ARCH_EBSA110
362 select ISA 374 select ISA
363 select NO_IOPORT 375 select NO_IOPORT
364 select ARCH_USES_GETTIMEOFFSET 376 select ARCH_USES_GETTIMEOFFSET
377 select NEED_MACH_MEMORY_H
365 help 378 help
366 This is an evaluation board for the StrongARM processor available 379 This is an evaluation board for the StrongARM processor available
367 from Digital. It has limited hardware on-board, including an 380 from Digital. It has limited hardware on-board, including an
@@ -377,6 +390,7 @@ config ARCH_EP93XX
377 select ARCH_REQUIRE_GPIOLIB 390 select ARCH_REQUIRE_GPIOLIB
378 select ARCH_HAS_HOLES_MEMORYMODEL 391 select ARCH_HAS_HOLES_MEMORYMODEL
379 select ARCH_USES_GETTIMEOFFSET 392 select ARCH_USES_GETTIMEOFFSET
393 select NEED_MACH_MEMORY_H
380 help 394 help
381 This enables support for the Cirrus EP93xx series of CPUs. 395 This enables support for the Cirrus EP93xx series of CPUs.
382 396
@@ -385,6 +399,7 @@ config ARCH_FOOTBRIDGE
385 select CPU_SA110 399 select CPU_SA110
386 select FOOTBRIDGE 400 select FOOTBRIDGE
387 select GENERIC_CLOCKEVENTS 401 select GENERIC_CLOCKEVENTS
402 select NEED_MACH_MEMORY_H
388 help 403 help
389 Support for systems based on the DC21285 companion chip 404 Support for systems based on the DC21285 companion chip
390 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder. 405 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
@@ -434,6 +449,7 @@ config ARCH_IOP13XX
434 select PCI 449 select PCI
435 select ARCH_SUPPORTS_MSI 450 select ARCH_SUPPORTS_MSI
436 select VMSPLIT_1G 451 select VMSPLIT_1G
452 select NEED_MACH_MEMORY_H
437 help 453 help
438 Support for Intel's IOP13XX (XScale) family of processors. 454 Support for Intel's IOP13XX (XScale) family of processors.
439 455
@@ -464,6 +480,7 @@ config ARCH_IXP23XX
464 select CPU_XSC3 480 select CPU_XSC3
465 select PCI 481 select PCI
466 select ARCH_USES_GETTIMEOFFSET 482 select ARCH_USES_GETTIMEOFFSET
483 select NEED_MACH_MEMORY_H
467 help 484 help
468 Support for Intel's IXP23xx (XScale) family of processors. 485 Support for Intel's IXP23xx (XScale) family of processors.
469 486
@@ -473,6 +490,7 @@ config ARCH_IXP2000
473 select CPU_XSCALE 490 select CPU_XSCALE
474 select PCI 491 select PCI
475 select ARCH_USES_GETTIMEOFFSET 492 select ARCH_USES_GETTIMEOFFSET
493 select NEED_MACH_MEMORY_H
476 help 494 help
477 Support for Intel's IXP2400/2800 (XScale) family of processors. 495 Support for Intel's IXP2400/2800 (XScale) family of processors.
478 496
@@ -566,6 +584,7 @@ config ARCH_KS8695
566 select CPU_ARM922T 584 select CPU_ARM922T
567 select ARCH_REQUIRE_GPIOLIB 585 select ARCH_REQUIRE_GPIOLIB
568 select ARCH_USES_GETTIMEOFFSET 586 select ARCH_USES_GETTIMEOFFSET
587 select NEED_MACH_MEMORY_H
569 help 588 help
570 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based 589 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
571 System-on-Chip devices. 590 System-on-Chip devices.
@@ -657,6 +676,7 @@ config ARCH_SHMOBILE
657 select SPARSE_IRQ 676 select SPARSE_IRQ
658 select MULTI_IRQ_HANDLER 677 select MULTI_IRQ_HANDLER
659 select PM_GENERIC_DOMAINS if PM 678 select PM_GENERIC_DOMAINS if PM
679 select NEED_MACH_MEMORY_H
660 help 680 help
661 Support for Renesas's SH-Mobile and R-Mobile ARM platforms. 681 Support for Renesas's SH-Mobile and R-Mobile ARM platforms.
662 682
@@ -671,6 +691,7 @@ config ARCH_RPC
671 select NO_IOPORT 691 select NO_IOPORT
672 select ARCH_SPARSEMEM_ENABLE 692 select ARCH_SPARSEMEM_ENABLE
673 select ARCH_USES_GETTIMEOFFSET 693 select ARCH_USES_GETTIMEOFFSET
694 select NEED_MACH_MEMORY_H
674 help 695 help
675 On the Acorn Risc-PC, Linux can support the internal IDE disk and 696 On the Acorn Risc-PC, Linux can support the internal IDE disk and
676 CD-ROM interface, serial and parallel port, and the floppy drive. 697 CD-ROM interface, serial and parallel port, and the floppy drive.
@@ -689,6 +710,7 @@ config ARCH_SA1100
689 select HAVE_SCHED_CLOCK 710 select HAVE_SCHED_CLOCK
690 select TICK_ONESHOT 711 select TICK_ONESHOT
691 select ARCH_REQUIRE_GPIOLIB 712 select ARCH_REQUIRE_GPIOLIB
713 select NEED_MACH_MEMORY_H
692 help 714 help
693 Support for StrongARM 11x0 based boards. 715 Support for StrongARM 11x0 based boards.
694 716
@@ -781,6 +803,7 @@ config ARCH_S5PV210
781 select HAVE_S3C2410_I2C if I2C 803 select HAVE_S3C2410_I2C if I2C
782 select HAVE_S3C_RTC if RTC_CLASS 804 select HAVE_S3C_RTC if RTC_CLASS
783 select HAVE_S3C2410_WATCHDOG if WATCHDOG 805 select HAVE_S3C2410_WATCHDOG if WATCHDOG
806 select NEED_MACH_MEMORY_H
784 help 807 help
785 Samsung S5PV210/S5PC110 series based systems 808 Samsung S5PV210/S5PC110 series based systems
786 809
@@ -797,6 +820,7 @@ config ARCH_EXYNOS4
797 select HAVE_S3C_RTC if RTC_CLASS 820 select HAVE_S3C_RTC if RTC_CLASS
798 select HAVE_S3C2410_I2C if I2C 821 select HAVE_S3C2410_I2C if I2C
799 select HAVE_S3C2410_WATCHDOG if WATCHDOG 822 select HAVE_S3C2410_WATCHDOG if WATCHDOG
823 select NEED_MACH_MEMORY_H
800 help 824 help
801 Samsung EXYNOS4 series based systems 825 Samsung EXYNOS4 series based systems
802 826
@@ -808,6 +832,7 @@ config ARCH_SHARK
808 select ZONE_DMA 832 select ZONE_DMA
809 select PCI 833 select PCI
810 select ARCH_USES_GETTIMEOFFSET 834 select ARCH_USES_GETTIMEOFFSET
835 select NEED_MACH_MEMORY_H
811 help 836 help
812 Support for the StrongARM based Digital DNARD machine, also known 837 Support for the StrongARM based Digital DNARD machine, also known
813 as "Shark" (<http://www.shark-linux.de/shark.html>). 838 as "Shark" (<http://www.shark-linux.de/shark.html>).
@@ -836,6 +861,7 @@ config ARCH_U300
836 select HAVE_MACH_CLKDEV 861 select HAVE_MACH_CLKDEV
837 select GENERIC_GPIO 862 select GENERIC_GPIO
838 select ARCH_REQUIRE_GPIOLIB 863 select ARCH_REQUIRE_GPIOLIB
864 select NEED_MACH_MEMORY_H
839 help 865 help
840 Support for ST-Ericsson U300 series mobile platforms. 866 Support for ST-Ericsson U300 series mobile platforms.
841 867