aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 587da5e0990f..380baa1780e9 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -22,6 +22,9 @@ config WORD_SIZE
22config PPC_MERGE 22config PPC_MERGE
23 def_bool y 23 def_bool y
24 24
25config ARCH_PHYS_ADDR_T_64BIT
26 def_bool PPC64 || PHYS_64BIT
27
25config MMU 28config MMU
26 bool 29 bool
27 default y 30 default y
@@ -415,8 +418,11 @@ config PPC_64K_PAGES
415 418
416config FORCE_MAX_ZONEORDER 419config FORCE_MAX_ZONEORDER
417 int "Maximum zone order" 420 int "Maximum zone order"
421 range 9 64 if PPC_64K_PAGES
418 default "9" if PPC_64K_PAGES 422 default "9" if PPC_64K_PAGES
423 range 13 64 if PPC64 && !PPC_64K_PAGES
419 default "13" if PPC64 && !PPC_64K_PAGES 424 default "13" if PPC64 && !PPC_64K_PAGES
425 range 11 64
420 default "11" 426 default "11"
421 help 427 help
422 The kernel memory allocator divides physically contiguous memory 428 The kernel memory allocator divides physically contiguous memory
@@ -806,6 +812,19 @@ config PIN_TLB
806endmenu 812endmenu
807 813
808if PPC64 814if PPC64
815config RELOCATABLE
816 bool "Build a relocatable kernel"
817 help
818 This builds a kernel image that is capable of running anywhere
819 in the RMA (real memory area) at any 16k-aligned base address.
820 The kernel is linked as a position-independent executable (PIE)
821 and contains dynamic relocations which are processed early
822 in the bootup process.
823
824 One use is for the kexec on panic case where the recovery kernel
825 must live at a different physical address than the primary
826 kernel.
827
809config PAGE_OFFSET 828config PAGE_OFFSET
810 hex 829 hex
811 default "0xc000000000000000" 830 default "0xc000000000000000"