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