diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 8b323b7b0a61..2ad5ea827820 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -847,23 +847,30 @@ config DYNAMIC_MEMSTART | |||
847 | load address. When this option is enabled, the compile time physical | 847 | load address. When this option is enabled, the compile time physical |
848 | address CONFIG_PHYSICAL_START is ignored. | 848 | address CONFIG_PHYSICAL_START is ignored. |
849 | 849 | ||
850 | # Mapping based RELOCATABLE is moved to DYNAMIC_MEMSTART | 850 | This option is overridden by CONFIG_RELOCATABLE |
851 | # config RELOCATABLE | 851 | |
852 | # bool "Build a relocatable kernel (EXPERIMENTAL)" | 852 | config RELOCATABLE |
853 | # depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || PPC_47x) | 853 | bool "Build a relocatable kernel (EXPERIMENTAL)" |
854 | # help | 854 | depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM |
855 | # This builds a kernel image that is capable of running at the | 855 | select NONSTATIC_KERNEL |
856 | # location the kernel is loaded at, without any alignment restrictions. | 856 | help |
857 | # | 857 | This builds a kernel image that is capable of running at the |
858 | # One use is for the kexec on panic case where the recovery kernel | 858 | location the kernel is loaded at, without any alignment restrictions. |
859 | # must live at a different physical address than the primary | 859 | This feature is a superset of DYNAMIC_MEMSTART and hence overrides it. |
860 | # kernel. | 860 | |
861 | # | 861 | One use is for the kexec on panic case where the recovery kernel |
862 | # Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address | 862 | must live at a different physical address than the primary |
863 | # it has been loaded at and the compile time physical addresses | 863 | kernel. |
864 | # CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START | 864 | |
865 | # setting can still be useful to bootwrappers that need to know the | 865 | Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address |
866 | # load location of the kernel (eg. u-boot/mkimage). | 866 | it has been loaded at and the compile time physical addresses |
867 | CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START | ||
868 | setting can still be useful to bootwrappers that need to know the | ||
869 | load address of the kernel (eg. u-boot/mkimage). | ||
870 | |||
871 | config RELOCATABLE_PPC32 | ||
872 | def_bool y | ||
873 | depends on PPC32 && RELOCATABLE | ||
867 | 874 | ||
868 | config PAGE_OFFSET_BOOL | 875 | config PAGE_OFFSET_BOOL |
869 | bool "Set custom page offset address" | 876 | bool "Set custom page offset address" |