diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e91cec43f2c0..5ca86e7ab66d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -29,6 +29,7 @@ config ARM | |||
29 | select HAVE_GENERIC_HARDIRQS | 29 | select HAVE_GENERIC_HARDIRQS |
30 | select HAVE_SPARSE_IRQ | 30 | select HAVE_SPARSE_IRQ |
31 | select GENERIC_IRQ_SHOW | 31 | select GENERIC_IRQ_SHOW |
32 | select CPU_PM if (SUSPEND || CPU_IDLE) | ||
32 | help | 33 | help |
33 | The ARM series is a line of low-power-consumption RISC chip designs | 34 | The ARM series is a line of low-power-consumption RISC chip designs |
34 | licensed by ARM Ltd and targeted at embedded applications and | 35 | licensed by ARM Ltd and targeted at embedded applications and |
@@ -211,6 +212,19 @@ config ARM_PATCH_PHYS_VIRT | |||
211 | this feature (eg, building a kernel for a single machine) and | 212 | this feature (eg, building a kernel for a single machine) and |
212 | you need to shrink the kernel to the minimal size. | 213 | you need to shrink the kernel to the minimal size. |
213 | 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 | ||
225 | help | ||
226 | Please provide the physical address corresponding to the | ||
227 | location of main memory in your system. | ||
214 | 228 | ||
215 | config GENERIC_BUG | 229 | config GENERIC_BUG |
216 | def_bool y | 230 | def_bool y |
@@ -247,6 +261,7 @@ config ARCH_INTEGRATOR | |||
247 | select GENERIC_CLOCKEVENTS | 261 | select GENERIC_CLOCKEVENTS |
248 | select PLAT_VERSATILE | 262 | select PLAT_VERSATILE |
249 | select PLAT_VERSATILE_FPGA_IRQ | 263 | select PLAT_VERSATILE_FPGA_IRQ |
264 | select NEED_MACH_MEMORY_H | ||
250 | help | 265 | help |
251 | Support for ARM's Integrator platform. | 266 | Support for ARM's Integrator platform. |
252 | 267 | ||
@@ -262,6 +277,7 @@ config ARCH_REALVIEW | |||
262 | select PLAT_VERSATILE_CLCD | 277 | select PLAT_VERSATILE_CLCD |
263 | select ARM_TIMER_SP804 | 278 | select ARM_TIMER_SP804 |
264 | select GPIO_PL061 if GPIOLIB | 279 | select GPIO_PL061 if GPIOLIB |
280 | select NEED_MACH_MEMORY_H | ||
265 | help | 281 | help |
266 | This enables support for ARM Ltd RealView boards. | 282 | This enables support for ARM Ltd RealView boards. |
267 | 283 | ||
@@ -322,6 +338,7 @@ config ARCH_CLPS711X | |||
322 | bool "Cirrus Logic CLPS711x/EP721x-based" | 338 | bool "Cirrus Logic CLPS711x/EP721x-based" |
323 | select CPU_ARM720T | 339 | select CPU_ARM720T |
324 | select ARCH_USES_GETTIMEOFFSET | 340 | select ARCH_USES_GETTIMEOFFSET |
341 | select NEED_MACH_MEMORY_H | ||
325 | help | 342 | help |
326 | Support for Cirrus Logic 711x/721x based boards. | 343 | Support for Cirrus Logic 711x/721x based boards. |
327 | 344 | ||
@@ -361,6 +378,7 @@ config ARCH_EBSA110 | |||
361 | select ISA | 378 | select ISA |
362 | select NO_IOPORT | 379 | select NO_IOPORT |
363 | select ARCH_USES_GETTIMEOFFSET | 380 | select ARCH_USES_GETTIMEOFFSET |
381 | select NEED_MACH_MEMORY_H | ||
364 | help | 382 | help |
365 | This is an evaluation board for the StrongARM processor available | 383 | This is an evaluation board for the StrongARM processor available |
366 | from Digital. It has limited hardware on-board, including an | 384 | from Digital. It has limited hardware on-board, including an |
@@ -376,6 +394,7 @@ config ARCH_EP93XX | |||
376 | select ARCH_REQUIRE_GPIOLIB | 394 | select ARCH_REQUIRE_GPIOLIB |
377 | select ARCH_HAS_HOLES_MEMORYMODEL | 395 | select ARCH_HAS_HOLES_MEMORYMODEL |
378 | select ARCH_USES_GETTIMEOFFSET | 396 | select ARCH_USES_GETTIMEOFFSET |
397 | select NEED_MEMORY_H | ||
379 | help | 398 | help |
380 | This enables support for the Cirrus EP93xx series of CPUs. | 399 | This enables support for the Cirrus EP93xx series of CPUs. |
381 | 400 | ||
@@ -385,6 +404,7 @@ config ARCH_FOOTBRIDGE | |||
385 | select FOOTBRIDGE | 404 | select FOOTBRIDGE |
386 | select GENERIC_CLOCKEVENTS | 405 | select GENERIC_CLOCKEVENTS |
387 | select HAVE_IDE | 406 | select HAVE_IDE |
407 | select NEED_MACH_MEMORY_H | ||
388 | help | 408 | help |
389 | Support for systems based on the DC21285 companion chip | 409 | Support for systems based on the DC21285 companion chip |
390 | ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder. | 410 | ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder. |
@@ -434,6 +454,7 @@ config ARCH_IOP13XX | |||
434 | select PCI | 454 | select PCI |
435 | select ARCH_SUPPORTS_MSI | 455 | select ARCH_SUPPORTS_MSI |
436 | select VMSPLIT_1G | 456 | select VMSPLIT_1G |
457 | select NEED_MACH_MEMORY_H | ||
437 | help | 458 | help |
438 | Support for Intel's IOP13XX (XScale) family of processors. | 459 | Support for Intel's IOP13XX (XScale) family of processors. |
439 | 460 | ||
@@ -464,6 +485,7 @@ config ARCH_IXP23XX | |||
464 | select CPU_XSC3 | 485 | select CPU_XSC3 |
465 | select PCI | 486 | select PCI |
466 | select ARCH_USES_GETTIMEOFFSET | 487 | select ARCH_USES_GETTIMEOFFSET |
488 | select NEED_MACH_MEMORY_H | ||
467 | help | 489 | help |
468 | Support for Intel's IXP23xx (XScale) family of processors. | 490 | Support for Intel's IXP23xx (XScale) family of processors. |
469 | 491 | ||
@@ -473,6 +495,7 @@ config ARCH_IXP2000 | |||
473 | select CPU_XSCALE | 495 | select CPU_XSCALE |
474 | select PCI | 496 | select PCI |
475 | select ARCH_USES_GETTIMEOFFSET | 497 | select ARCH_USES_GETTIMEOFFSET |
498 | select NEED_MACH_MEMORY_H | ||
476 | help | 499 | help |
477 | Support for Intel's IXP2400/2800 (XScale) family of processors. | 500 | Support for Intel's IXP2400/2800 (XScale) family of processors. |
478 | 501 | ||
@@ -565,6 +588,7 @@ config ARCH_KS8695 | |||
565 | select CPU_ARM922T | 588 | select CPU_ARM922T |
566 | select ARCH_REQUIRE_GPIOLIB | 589 | select ARCH_REQUIRE_GPIOLIB |
567 | select ARCH_USES_GETTIMEOFFSET | 590 | select ARCH_USES_GETTIMEOFFSET |
591 | select NEED_MACH_MEMORY_H | ||
568 | help | 592 | help |
569 | Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based | 593 | Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based |
570 | System-on-Chip devices. | 594 | System-on-Chip devices. |
@@ -657,6 +681,7 @@ config ARCH_SHMOBILE | |||
657 | select SPARSE_IRQ | 681 | select SPARSE_IRQ |
658 | select MULTI_IRQ_HANDLER | 682 | select MULTI_IRQ_HANDLER |
659 | select PM_GENERIC_DOMAINS if PM | 683 | select PM_GENERIC_DOMAINS if PM |
684 | select NEED_MACH_MEMORY_H | ||
660 | help | 685 | help |
661 | Support for Renesas's SH-Mobile and R-Mobile ARM platforms. | 686 | Support for Renesas's SH-Mobile and R-Mobile ARM platforms. |
662 | 687 | ||
@@ -672,6 +697,7 @@ config ARCH_RPC | |||
672 | select ARCH_SPARSEMEM_ENABLE | 697 | select ARCH_SPARSEMEM_ENABLE |
673 | select ARCH_USES_GETTIMEOFFSET | 698 | select ARCH_USES_GETTIMEOFFSET |
674 | select HAVE_IDE | 699 | select HAVE_IDE |
700 | select NEED_MACH_MEMORY_H | ||
675 | help | 701 | help |
676 | On the Acorn Risc-PC, Linux can support the internal IDE disk and | 702 | 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. | 703 | CD-ROM interface, serial and parallel port, and the floppy drive. |
@@ -691,6 +717,7 @@ config ARCH_SA1100 | |||
691 | select TICK_ONESHOT | 717 | select TICK_ONESHOT |
692 | select ARCH_REQUIRE_GPIOLIB | 718 | select ARCH_REQUIRE_GPIOLIB |
693 | select HAVE_IDE | 719 | select HAVE_IDE |
720 | select NEED_MACH_MEMORY_H | ||
694 | help | 721 | help |
695 | Support for StrongARM 11x0 based boards. | 722 | Support for StrongARM 11x0 based boards. |
696 | 723 | ||
@@ -782,6 +809,7 @@ config ARCH_S5PV210 | |||
782 | select HAVE_S3C2410_I2C if I2C | 809 | select HAVE_S3C2410_I2C if I2C |
783 | select HAVE_S3C_RTC if RTC_CLASS | 810 | select HAVE_S3C_RTC if RTC_CLASS |
784 | select HAVE_S3C2410_WATCHDOG if WATCHDOG | 811 | select HAVE_S3C2410_WATCHDOG if WATCHDOG |
812 | select NEED_MACH_MEMORY_H | ||
785 | help | 813 | help |
786 | Samsung S5PV210/S5PC110 series based systems | 814 | Samsung S5PV210/S5PC110 series based systems |
787 | 815 | ||
@@ -798,6 +826,7 @@ config ARCH_EXYNOS4 | |||
798 | select HAVE_S3C_RTC if RTC_CLASS | 826 | select HAVE_S3C_RTC if RTC_CLASS |
799 | select HAVE_S3C2410_I2C if I2C | 827 | select HAVE_S3C2410_I2C if I2C |
800 | select HAVE_S3C2410_WATCHDOG if WATCHDOG | 828 | select HAVE_S3C2410_WATCHDOG if WATCHDOG |
829 | select NEED_MACH_MEMORY_H | ||
801 | help | 830 | help |
802 | Samsung EXYNOS4 series based systems | 831 | Samsung EXYNOS4 series based systems |
803 | 832 | ||
@@ -809,6 +838,7 @@ config ARCH_SHARK | |||
809 | select ZONE_DMA | 838 | select ZONE_DMA |
810 | select PCI | 839 | select PCI |
811 | select ARCH_USES_GETTIMEOFFSET | 840 | select ARCH_USES_GETTIMEOFFSET |
841 | select NEED_MACH_MEMORY_H | ||
812 | help | 842 | help |
813 | Support for the StrongARM based Digital DNARD machine, also known | 843 | Support for the StrongARM based Digital DNARD machine, also known |
814 | as "Shark" (<http://www.shark-linux.de/shark.html>). | 844 | as "Shark" (<http://www.shark-linux.de/shark.html>). |
@@ -837,6 +867,7 @@ config ARCH_U300 | |||
837 | select HAVE_MACH_CLKDEV | 867 | select HAVE_MACH_CLKDEV |
838 | select GENERIC_GPIO | 868 | select GENERIC_GPIO |
839 | select ARCH_REQUIRE_GPIOLIB | 869 | select ARCH_REQUIRE_GPIOLIB |
870 | select NEED_MACH_MEMORY_H | ||
840 | help | 871 | help |
841 | Support for ST-Ericsson U300 series mobile platforms. | 872 | Support for ST-Ericsson U300 series mobile platforms. |
842 | 873 | ||
@@ -1835,6 +1866,38 @@ config ZBOOT_ROM_SH_MOBILE_SDHI | |||
1835 | 1866 | ||
1836 | endchoice | 1867 | endchoice |
1837 | 1868 | ||
1869 | config ARM_APPENDED_DTB | ||
1870 | bool "Use appended device tree blob to zImage (EXPERIMENTAL)" | ||
1871 | depends on OF && !ZBOOT_ROM && EXPERIMENTAL | ||
1872 | help | ||
1873 | With this option, the boot code will look for a device tree binary | ||
1874 | (DTB) appended to zImage | ||
1875 | (e.g. cat zImage <filename>.dtb > zImage_w_dtb). | ||
1876 | |||
1877 | This is meant as a backward compatibility convenience for those | ||
1878 | systems with a bootloader that can't be upgraded to accommodate | ||
1879 | the documented boot protocol using a device tree. | ||
1880 | |||
1881 | Beware that there is very little in terms of protection against | ||
1882 | this option being confused by leftover garbage in memory that might | ||
1883 | look like a DTB header after a reboot if no actual DTB is appended | ||
1884 | to zImage. Do not leave this option active in a production kernel | ||
1885 | if you don't intend to always append a DTB. Proper passing of the | ||
1886 | location into r2 of a bootloader provided DTB is always preferable | ||
1887 | to this option. | ||
1888 | |||
1889 | config ARM_ATAG_DTB_COMPAT | ||
1890 | bool "Supplement the appended DTB with traditional ATAG information" | ||
1891 | depends on ARM_APPENDED_DTB | ||
1892 | help | ||
1893 | Some old bootloaders can't be updated to a DTB capable one, yet | ||
1894 | they provide ATAGs with memory configuration, the ramdisk address, | ||
1895 | the kernel cmdline string, etc. Such information is dynamically | ||
1896 | provided by the bootloader and can't always be stored in a static | ||
1897 | DTB. To allow a device tree enabled kernel to be used with such | ||
1898 | bootloaders, this option allows zImage to extract the information | ||
1899 | from the ATAG list and store it at run time into the appended DTB. | ||
1900 | |||
1838 | config CMDLINE | 1901 | config CMDLINE |
1839 | string "Default kernel command string" | 1902 | string "Default kernel command string" |
1840 | default "" | 1903 | default "" |