forked from luck/tmp_suning_uos_patched
3e78e4e5ea
This was intended to allow manual override of CPU settings copied automatically to Kconfig.auto, however it's problematic for several reasons, but mostly: * If the defconfig doesn't have ALLOW_EDIT_AUTO=y, then it's impossible for that defconfig to iverride the values in the kernel source tree. This leads to very strange errors where the kernel is compiled with the wrong CPUFLAGS. Next patch in the series will back out the default in Kconfig.auto to baseline settings, so a kernel built with no default values will at least boot on any hardware, just not make use of additional CPU features. Signed-off-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
# For a description of the syntax of this configuration file,
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
#
|
|
# Platform selection Kconfig menu for MicroBlaze targets
|
|
#
|
|
|
|
menu "Platform options"
|
|
choice
|
|
prompt "Platform"
|
|
default PLATFORM_MICROBLAZE_AUTO
|
|
help
|
|
Choose which hardware board/platform you are targeting.
|
|
|
|
config PLATFORM_GENERIC
|
|
bool "Generic"
|
|
help
|
|
Choose this option for the Generic platform.
|
|
|
|
endchoice
|
|
|
|
config SELFMOD
|
|
bool "Use self modified code for intc/timer"
|
|
depends on EXPERIMENTAL && NO_MMU
|
|
default n
|
|
help
|
|
This choice enables self-modified code for interrupt controller
|
|
and timer.
|
|
|
|
config SELFMOD_INTC
|
|
bool "Use self modified code for intc"
|
|
depends on SELFMOD
|
|
default y
|
|
help
|
|
This choice enables self-modified code for interrupt controller.
|
|
|
|
config SELFMOD_TIMER
|
|
bool "Use self modified code for timer"
|
|
depends on SELFMOD
|
|
default y
|
|
help
|
|
This choice enables self-modified code for timer.
|
|
|
|
config OPT_LIB_FUNCTION
|
|
bool "Optimalized lib function"
|
|
default y
|
|
help
|
|
Allows turn on optimalized library function (memcpy and memmove).
|
|
They are optimized by using word alignment. This will work
|
|
fine if both source and destination are aligned on the same
|
|
boundary. However, if they are aligned on different boundaries
|
|
shifts will be necessary. This might result in bad performance
|
|
on MicroBlaze systems without a barrel shifter.
|
|
|
|
config OPT_LIB_ASM
|
|
bool "Optimalized lib function ASM"
|
|
depends on OPT_LIB_FUNCTION
|
|
default n
|
|
help
|
|
Allows turn on optimalized library function (memcpy and memmove).
|
|
Function are written in asm code.
|
|
|
|
if PLATFORM_GENERIC=y
|
|
source "arch/microblaze/platform/generic/Kconfig.auto"
|
|
endif
|
|
|
|
endmenu
|