aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig97
1 files changed, 80 insertions, 17 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 4bb2e9310a56..3934e2659407 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -608,6 +608,19 @@ source "drivers/pcmcia/Kconfig"
608 608
609source "drivers/pci/hotplug/Kconfig" 609source "drivers/pci/hotplug/Kconfig"
610 610
611config HAS_RAPIDIO
612 bool
613 default n
614
615config RAPIDIO
616 bool "RapidIO support"
617 depends on HAS_RAPIDIO
618 help
619 If you say Y here, the kernel will include drivers and
620 infrastructure code to support RapidIO interconnect devices.
621
622source "drivers/rapidio/Kconfig"
623
611endmenu 624endmenu
612 625
613menu "Advanced setup" 626menu "Advanced setup"
@@ -626,20 +639,6 @@ config ADVANCED_OPTIONS
626comment "Default settings for advanced configuration options are used" 639comment "Default settings for advanced configuration options are used"
627 depends on !ADVANCED_OPTIONS 640 depends on !ADVANCED_OPTIONS
628 641
629config 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
639config HIGHMEM_START
640 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
641 default "0xfe000000"
642
643config LOWMEM_SIZE_BOOL 642config LOWMEM_SIZE_BOOL
644 bool "Set maximum low memory" 643 bool "Set maximum low memory"
645 depends on ADVANCED_OPTIONS 644 depends on ADVANCED_OPTIONS
@@ -656,21 +655,76 @@ config LOWMEM_SIZE
656 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL 655 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
657 default "0x30000000" 656 default "0x30000000"
658 657
658config RELOCATABLE
659 bool "Build a relocatable kernel (EXPERIMENTAL)"
660 depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
661 help
662 This builds a kernel image that is capable of running at the
663 location the kernel is loaded at (some alignment restrictions may
664 exist).
665
666 One use is for the kexec on panic case where the recovery kernel
667 must live at a different physical address than the primary
668 kernel.
669
670 Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
671 it has been loaded at and the compile time physical addresses
672 CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START
673 setting can still be useful to bootwrappers that need to know the
674 load location of the kernel (eg. u-boot/mkimage).
675
676config PAGE_OFFSET_BOOL
677 bool "Set custom page offset address"
678 depends on ADVANCED_OPTIONS
679 help
680 This option allows you to set the kernel virtual address at which
681 the kernel will map low memory. This can be useful in optimizing
682 the virtual memory layout of the system.
683
684 Say N here unless you know what you are doing.
685
686config PAGE_OFFSET
687 hex "Virtual address of memory base" if PAGE_OFFSET_BOOL
688 default "0xc0000000"
689
659config KERNEL_START_BOOL 690config KERNEL_START_BOOL
660 bool "Set custom kernel base address" 691 bool "Set custom kernel base address"
661 depends on ADVANCED_OPTIONS 692 depends on ADVANCED_OPTIONS
662 help 693 help
663 This option allows you to set the kernel virtual address at which 694 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 695 the kernel will be loaded. Normally this should match PAGE_OFFSET
665 this address). This can be useful in optimizing the virtual memory 696 however there are times (like kdump) that one might not want them
666 layout of the system. 697 to be the same.
667 698
668 Say N here unless you know what you are doing. 699 Say N here unless you know what you are doing.
669 700
670config KERNEL_START 701config KERNEL_START
671 hex "Virtual address of kernel base" if KERNEL_START_BOOL 702 hex "Virtual address of kernel base" if KERNEL_START_BOOL
703 default PAGE_OFFSET if PAGE_OFFSET_BOOL
704 default "0xc2000000" if CRASH_DUMP
672 default "0xc0000000" 705 default "0xc0000000"
673 706
707config PHYSICAL_START_BOOL
708 bool "Set physical address where the kernel is loaded"
709 depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
710 help
711 This gives the physical address where the kernel is loaded.
712
713 Say N here unless you know what you are doing.
714
715config PHYSICAL_START
716 hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
717 default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
718 default "0x00000000"
719
720config PHYSICAL_ALIGN
721 hex
722 default "0x10000000" if FSL_BOOKE
723 help
724 This value puts the alignment restrictions on physical address
725 where kernel is loaded and run from. Kernel is compiled for an
726 address which meets above alignment restriction.
727
674config TASK_SIZE_BOOL 728config TASK_SIZE_BOOL
675 bool "Set custom user task size" 729 bool "Set custom user task size"
676 depends on ADVANCED_OPTIONS 730 depends on ADVANCED_OPTIONS
@@ -717,9 +771,17 @@ config PIN_TLB
717endmenu 771endmenu
718 772
719if PPC64 773if PPC64
774config PAGE_OFFSET
775 hex
776 default "0xc000000000000000"
720config KERNEL_START 777config KERNEL_START
721 hex 778 hex
779 default "0xc000000002000000" if CRASH_DUMP
722 default "0xc000000000000000" 780 default "0xc000000000000000"
781config PHYSICAL_START
782 hex
783 default "0x02000000" if CRASH_DUMP
784 default "0x00000000"
723endif 785endif
724 786
725source "net/Kconfig" 787source "net/Kconfig"
@@ -754,3 +816,4 @@ config PPC_CLOCK
754config PPC_LIB_RHEAP 816config PPC_LIB_RHEAP
755 bool 817 bool
756 818
819source "arch/powerpc/kvm/Kconfig"