diff options
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/platform/Kconfig.platform | 19 | ||||
-rw-r--r-- | arch/microblaze/platform/generic/Kconfig.auto | 17 |
2 files changed, 8 insertions, 28 deletions
diff --git a/arch/microblaze/platform/Kconfig.platform b/arch/microblaze/platform/Kconfig.platform index 8e9b4752d3ff..28e418a3c0b4 100644 --- a/arch/microblaze/platform/Kconfig.platform +++ b/arch/microblaze/platform/Kconfig.platform | |||
@@ -59,25 +59,6 @@ config OPT_LIB_ASM | |||
59 | Allows turn on optimalized library function (memcpy and memmove). | 59 | Allows turn on optimalized library function (memcpy and memmove). |
60 | Function are written in asm code. | 60 | Function are written in asm code. |
61 | 61 | ||
62 | # This is still a bit broken - disabling for now JW 20070504 | ||
63 | config ALLOW_EDIT_AUTO | ||
64 | bool "Permit Display/edit of Kconfig.auto platform settings" | ||
65 | default n | ||
66 | help | ||
67 | Allows the editing of auto-generated platform settings from | ||
68 | the Kconfig.auto file. Obviously this does not change the | ||
69 | underlying hardware, so be very careful if you go editing | ||
70 | these settings. | ||
71 | |||
72 | Also, if you enable this, and edit various Kconfig.auto | ||
73 | settings, YOUR CHANGES WILL BE LOST if you then disable it | ||
74 | again. You have been warned! | ||
75 | |||
76 | If unsure, say no. | ||
77 | |||
78 | comment "Automatic platform settings from Kconfig.auto" | ||
79 | depends on ALLOW_EDIT_AUTO | ||
80 | |||
81 | if PLATFORM_GENERIC=y | 62 | if PLATFORM_GENERIC=y |
82 | source "arch/microblaze/platform/generic/Kconfig.auto" | 63 | source "arch/microblaze/platform/generic/Kconfig.auto" |
83 | endif | 64 | endif |
diff --git a/arch/microblaze/platform/generic/Kconfig.auto b/arch/microblaze/platform/generic/Kconfig.auto index fbca22d9c8b9..1eaa49ea8f2d 100644 --- a/arch/microblaze/platform/generic/Kconfig.auto +++ b/arch/microblaze/platform/generic/Kconfig.auto | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | # Definitions for MICROBLAZE0 | 22 | # Definitions for MICROBLAZE0 |
23 | comment "Definitions for MICROBLAZE0" | 23 | comment "Definitions for MICROBLAZE0" |
24 | depends on ALLOW_EDIT_AUTO | ||
25 | 24 | ||
26 | config KERNEL_BASE_ADDR | 25 | config KERNEL_BASE_ADDR |
27 | hex "Physical address where Linux Kernel is" | 26 | hex "Physical address where Linux Kernel is" |
@@ -30,33 +29,33 @@ config KERNEL_BASE_ADDR | |||
30 | BASE Address for kernel | 29 | BASE Address for kernel |
31 | 30 | ||
32 | config XILINX_MICROBLAZE0_FAMILY | 31 | config XILINX_MICROBLAZE0_FAMILY |
33 | string "Targetted FPGA family" if ALLOW_EDIT_AUTO | 32 | string "Targetted FPGA family" |
34 | default "virtex5" | 33 | default "virtex5" |
35 | 34 | ||
36 | config XILINX_MICROBLAZE0_USE_MSR_INSTR | 35 | config XILINX_MICROBLAZE0_USE_MSR_INSTR |
37 | int "USE_MSR_INSTR range (0:1)" if ALLOW_EDIT_AUTO | 36 | int "USE_MSR_INSTR range (0:1)" |
38 | default 1 | 37 | default 1 |
39 | 38 | ||
40 | config XILINX_MICROBLAZE0_USE_PCMP_INSTR | 39 | config XILINX_MICROBLAZE0_USE_PCMP_INSTR |
41 | int "USE_PCMP_INSTR range (0:1)" if ALLOW_EDIT_AUTO | 40 | int "USE_PCMP_INSTR range (0:1)" |
42 | default 1 | 41 | default 1 |
43 | 42 | ||
44 | config XILINX_MICROBLAZE0_USE_BARREL | 43 | config XILINX_MICROBLAZE0_USE_BARREL |
45 | int "USE_BARREL range (0:1)" if ALLOW_EDIT_AUTO | 44 | int "USE_BARREL range (0:1)" |
46 | default 1 | 45 | default 1 |
47 | 46 | ||
48 | config XILINX_MICROBLAZE0_USE_DIV | 47 | config XILINX_MICROBLAZE0_USE_DIV |
49 | int "USE_DIV range (0:1)" if ALLOW_EDIT_AUTO | 48 | int "USE_DIV range (0:1)" |
50 | default 1 | 49 | default 1 |
51 | 50 | ||
52 | config XILINX_MICROBLAZE0_USE_HW_MUL | 51 | config XILINX_MICROBLAZE0_USE_HW_MUL |
53 | int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)" if ALLOW_EDIT_AUTO | 52 | int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)" |
54 | default 2 | 53 | default 2 |
55 | 54 | ||
56 | config XILINX_MICROBLAZE0_USE_FPU | 55 | config XILINX_MICROBLAZE0_USE_FPU |
57 | int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)" if ALLOW_EDIT_AUTO | 56 | int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)" |
58 | default 2 | 57 | default 2 |
59 | 58 | ||
60 | config XILINX_MICROBLAZE0_HW_VER | 59 | config XILINX_MICROBLAZE0_HW_VER |
61 | string "Core version number" if ALLOW_EDIT_AUTO | 60 | string "Core version number" |
62 | default 7.10.d | 61 | default 7.10.d |