powerpc: Process dynamic relocations for kernel
[deliverable/linux.git] / arch / powerpc / Kconfig
index 8b323b7b0a611bcb82323bd153018f356ab9e372..2ad5ea8278200bc876e49b8852da313f2310650b 100644 (file)
@@ -847,23 +847,30 @@ config DYNAMIC_MEMSTART
          load address. When this option is enabled, the compile time physical 
          address CONFIG_PHYSICAL_START is ignored.
 
-# Mapping based RELOCATABLE is moved to DYNAMIC_MEMSTART
-# config RELOCATABLE
-#      bool "Build a relocatable kernel (EXPERIMENTAL)"
-#      depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || PPC_47x)
-#      help
-#        This builds a kernel image that is capable of running at the
-#        location the kernel is loaded at, without any alignment restrictions.
-#
-#        One use is for the kexec on panic case where the recovery kernel
-#        must live at a different physical address than the primary
-#        kernel.
-#
-#        Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
-#        it has been loaded at and the compile time physical addresses
-#        CONFIG_PHYSICAL_START is ignored.  However CONFIG_PHYSICAL_START
-#        setting can still be useful to bootwrappers that need to know the
-#        load location of the kernel (eg. u-boot/mkimage).
+         This option is overridden by CONFIG_RELOCATABLE
+
+config RELOCATABLE
+       bool "Build a relocatable kernel (EXPERIMENTAL)"
+       depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM
+       select NONSTATIC_KERNEL
+       help
+         This builds a kernel image that is capable of running at the
+         location the kernel is loaded at, without any alignment restrictions.
+         This feature is a superset of DYNAMIC_MEMSTART and hence overrides it.
+
+         One use is for the kexec on panic case where the recovery kernel
+         must live at a different physical address than the primary
+         kernel.
+
+         Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
+         it has been loaded at and the compile time physical addresses
+         CONFIG_PHYSICAL_START is ignored.  However CONFIG_PHYSICAL_START
+         setting can still be useful to bootwrappers that need to know the
+         load address of the kernel (eg. u-boot/mkimage).
+
+config RELOCATABLE_PPC32
+       def_bool y
+       depends on PPC32 && RELOCATABLE
 
 config PAGE_OFFSET_BOOL
        bool "Set custom page offset address"
This page took 0.028267 seconds and 5 git commands to generate.