diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:52:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:52:16 -0400 |
commit | b9fa38f75ea7e1f64bc29653ca9758303ce698e4 (patch) | |
tree | 6f6c0232ccbd9c27c923cf5cdcb0a3948e061aa9 /arch/powerpc/Kconfig | |
parent | 6e18933f2b6156d0a0ec9d5522ab6a6033cf7241 (diff) | |
parent | f360bf0015e5b3e82be61c68e0863b3f98852ee2 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (49 commits)
[POWERPC] Add zImage.iseries to arch/powerpc/boot/.gitignore
[POWERPC] bootwrapper: fix build error on virtex405-head.S
[POWERPC] 4xx: Fix 460GT support to not enable FPU
[POWERPC] 4xx: Add NOR FLASH entries to Canyonlands and Glacier dts
[POWERPC] Xilinx: of_serial support for Xilinx uart 16550.
[POWERPC] Xilinx: boot support for Xilinx uart 16550.
[POWERPC] celleb: Add support for PCI Express
[POWERPC] celleb: Move miscellaneous files for Beat
[POWERPC] celleb: Move a file for SPU on Beat
[POWERPC] celleb: Move files for Beat mmu and iommu
[POWERPC] celleb: Move files for Beat hvcall interfaces
[POWERPC] celleb: Move the SCC related code for celleb
[POWERPC] celleb: Move the files for celleb base support
[POWERPC] celleb: Consolidate io-workarounds code
[POWERPC] cell: Generalize io-workarounds code
[POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries
[POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/
[POWERPC] Register udbg console early on pseries LPAR
[POWERPC] Mark udbg console as CON_ANYTIME, ie. callable early in boot
[POWERPC] Set udbg_console index to 0
...
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 83 |
1 files changed, 66 insertions, 17 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4bb2e9310a56..20f45a8b87e3 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -626,20 +626,6 @@ config ADVANCED_OPTIONS | |||
626 | comment "Default settings for advanced configuration options are used" | 626 | comment "Default settings for advanced configuration options are used" |
627 | depends on !ADVANCED_OPTIONS | 627 | depends on !ADVANCED_OPTIONS |
628 | 628 | ||
629 | config HIGHMEM_START_BOOL | ||
630 | bool "Set high memory pool address" | ||
631 | depends on ADVANCED_OPTIONS && HIGHMEM | ||
632 | help | ||
633 | This option allows you to set the base address of the kernel virtual | ||
634 | area used to map high memory pages. This can be useful in | ||
635 | optimizing the layout of kernel virtual memory. | ||
636 | |||
637 | Say N here unless you know what you are doing. | ||
638 | |||
639 | config HIGHMEM_START | ||
640 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL | ||
641 | default "0xfe000000" | ||
642 | |||
643 | config LOWMEM_SIZE_BOOL | 629 | config LOWMEM_SIZE_BOOL |
644 | bool "Set maximum low memory" | 630 | bool "Set maximum low memory" |
645 | depends on ADVANCED_OPTIONS | 631 | depends on ADVANCED_OPTIONS |
@@ -656,21 +642,76 @@ config LOWMEM_SIZE | |||
656 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL | 642 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL |
657 | default "0x30000000" | 643 | default "0x30000000" |
658 | 644 | ||
645 | config RELOCATABLE | ||
646 | bool "Build a relocatable kernel (EXPERIMENTAL)" | ||
647 | depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE | ||
648 | help | ||
649 | This builds a kernel image that is capable of running at the | ||
650 | location the kernel is loaded at (some alignment restrictions may | ||
651 | exist). | ||
652 | |||
653 | One use is for the kexec on panic case where the recovery kernel | ||
654 | must live at a different physical address than the primary | ||
655 | kernel. | ||
656 | |||
657 | Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address | ||
658 | it has been loaded at and the compile time physical addresses | ||
659 | CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START | ||
660 | setting can still be useful to bootwrappers that need to know the | ||
661 | load location of the kernel (eg. u-boot/mkimage). | ||
662 | |||
663 | config PAGE_OFFSET_BOOL | ||
664 | bool "Set custom page offset address" | ||
665 | depends on ADVANCED_OPTIONS | ||
666 | help | ||
667 | This option allows you to set the kernel virtual address at which | ||
668 | the kernel will map low memory. This can be useful in optimizing | ||
669 | the virtual memory layout of the system. | ||
670 | |||
671 | Say N here unless you know what you are doing. | ||
672 | |||
673 | config PAGE_OFFSET | ||
674 | hex "Virtual address of memory base" if PAGE_OFFSET_BOOL | ||
675 | default "0xc0000000" | ||
676 | |||
659 | config KERNEL_START_BOOL | 677 | config KERNEL_START_BOOL |
660 | bool "Set custom kernel base address" | 678 | bool "Set custom kernel base address" |
661 | depends on ADVANCED_OPTIONS | 679 | depends on ADVANCED_OPTIONS |
662 | help | 680 | help |
663 | This option allows you to set the kernel virtual address at which | 681 | This option allows you to set the kernel virtual address at which |
664 | the kernel will map low memory (the kernel image will be linked at | 682 | the kernel will be loaded. Normally this should match PAGE_OFFSET |
665 | this address). This can be useful in optimizing the virtual memory | 683 | however there are times (like kdump) that one might not want them |
666 | layout of the system. | 684 | to be the same. |
667 | 685 | ||
668 | Say N here unless you know what you are doing. | 686 | Say N here unless you know what you are doing. |
669 | 687 | ||
670 | config KERNEL_START | 688 | config KERNEL_START |
671 | hex "Virtual address of kernel base" if KERNEL_START_BOOL | 689 | hex "Virtual address of kernel base" if KERNEL_START_BOOL |
690 | default PAGE_OFFSET if PAGE_OFFSET_BOOL | ||
691 | default "0xc2000000" if CRASH_DUMP | ||
672 | default "0xc0000000" | 692 | default "0xc0000000" |
673 | 693 | ||
694 | config PHYSICAL_START_BOOL | ||
695 | bool "Set physical address where the kernel is loaded" | ||
696 | depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE | ||
697 | help | ||
698 | This gives the physical address where the kernel is loaded. | ||
699 | |||
700 | Say N here unless you know what you are doing. | ||
701 | |||
702 | config PHYSICAL_START | ||
703 | hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL | ||
704 | default "0x02000000" if PPC_STD_MMU && CRASH_DUMP | ||
705 | default "0x00000000" | ||
706 | |||
707 | config PHYSICAL_ALIGN | ||
708 | hex | ||
709 | default "0x10000000" if FSL_BOOKE | ||
710 | help | ||
711 | This value puts the alignment restrictions on physical address | ||
712 | where kernel is loaded and run from. Kernel is compiled for an | ||
713 | address which meets above alignment restriction. | ||
714 | |||
674 | config TASK_SIZE_BOOL | 715 | config TASK_SIZE_BOOL |
675 | bool "Set custom user task size" | 716 | bool "Set custom user task size" |
676 | depends on ADVANCED_OPTIONS | 717 | depends on ADVANCED_OPTIONS |
@@ -717,9 +758,17 @@ config PIN_TLB | |||
717 | endmenu | 758 | endmenu |
718 | 759 | ||
719 | if PPC64 | 760 | if PPC64 |
761 | config PAGE_OFFSET | ||
762 | hex | ||
763 | default "0xc000000000000000" | ||
720 | config KERNEL_START | 764 | config KERNEL_START |
721 | hex | 765 | hex |
766 | default "0xc000000002000000" if CRASH_DUMP | ||
722 | default "0xc000000000000000" | 767 | default "0xc000000000000000" |
768 | config PHYSICAL_START | ||
769 | hex | ||
770 | default "0x02000000" if CRASH_DUMP | ||
771 | default "0x00000000" | ||
723 | endif | 772 | endif |
724 | 773 | ||
725 | source "net/Kconfig" | 774 | source "net/Kconfig" |