Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 1 | # For a description of the syntax of this configuration file, |
| 2 | # see Documentation/kbuild/kconfig-language.txt. |
| 3 | # |
| 4 | # Platform selection Kconfig menu for MicroBlaze targets |
| 5 | # |
| 6 | |
| 7 | menu "Platform options" |
| 8 | choice |
| 9 | prompt "Platform" |
| 10 | default PLATFORM_MICROBLAZE_AUTO |
| 11 | help |
| 12 | Choose which hardware board/platform you are targeting. |
| 13 | |
| 14 | config PLATFORM_GENERIC |
| 15 | bool "Generic" |
| 16 | help |
| 17 | Choose this option for the Generic platform. |
| 18 | |
| 19 | endchoice |
| 20 | |
| 21 | config SELFMOD |
| 22 | bool "Use self modified code for intc/timer" |
| 23 | depends on EXPERIMENTAL && NO_MMU |
| 24 | default n |
| 25 | help |
| 26 | This choice enables self-modified code for interrupt controller |
| 27 | and timer. |
| 28 | |
| 29 | config SELFMOD_INTC |
| 30 | bool "Use self modified code for intc" |
| 31 | depends on SELFMOD |
| 32 | default y |
| 33 | help |
| 34 | This choice enables self-modified code for interrupt controller. |
| 35 | |
| 36 | config SELFMOD_TIMER |
| 37 | bool "Use self modified code for timer" |
| 38 | depends on SELFMOD |
| 39 | default y |
| 40 | help |
| 41 | This choice enables self-modified code for timer. |
| 42 | |
| 43 | config OPT_LIB_FUNCTION |
| 44 | bool "Optimalized lib function" |
| 45 | default y |
| 46 | help |
| 47 | Allows turn on optimalized library function (memcpy and memmove). |
| 48 | They are optimized by using word alignment. This will work |
| 49 | fine if both source and destination are aligned on the same |
| 50 | boundary. However, if they are aligned on different boundaries |
| 51 | shifts will be necessary. This might result in bad performance |
| 52 | on MicroBlaze systems without a barrel shifter. |
| 53 | |
| 54 | config OPT_LIB_ASM |
| 55 | bool "Optimalized lib function ASM" |
Michal Simek | 27d2a3e | 2009-10-26 09:56:48 +0100 | [diff] [blame^] | 56 | depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1) |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 57 | default n |
| 58 | help |
| 59 | Allows turn on optimalized library function (memcpy and memmove). |
| 60 | Function are written in asm code. |
| 61 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 62 | if PLATFORM_GENERIC=y |
| 63 | source "arch/microblaze/platform/generic/Kconfig.auto" |
| 64 | endif |
| 65 | |
| 66 | endmenu |