diff options
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 81f57e8c8f1b..8cdbc4cc830c 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -98,12 +98,6 @@ config XTENSA_VARIANT_DC233C | |||
98 | help | 98 | help |
99 | This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE). | 99 | This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE). |
100 | 100 | ||
101 | config XTENSA_VARIANT_S6000 | ||
102 | bool "s6000 - Stretch software configurable processor" | ||
103 | select VARIANT_IRQ_SWITCH | ||
104 | select ARCH_REQUIRE_GPIOLIB | ||
105 | select XTENSA_CALIBRATE_CCOUNT | ||
106 | |||
107 | config XTENSA_VARIANT_CUSTOM | 101 | config XTENSA_VARIANT_CUSTOM |
108 | bool "Custom Xtensa processor configuration" | 102 | bool "Custom Xtensa processor configuration" |
109 | select MAY_HAVE_SMP | 103 | select MAY_HAVE_SMP |
@@ -126,7 +120,6 @@ config XTENSA_VARIANT_NAME | |||
126 | default "dc232b" if XTENSA_VARIANT_DC232B | 120 | default "dc232b" if XTENSA_VARIANT_DC232B |
127 | default "dc233c" if XTENSA_VARIANT_DC233C | 121 | default "dc233c" if XTENSA_VARIANT_DC233C |
128 | default "fsf" if XTENSA_VARIANT_FSF | 122 | default "fsf" if XTENSA_VARIANT_FSF |
129 | default "s6000" if XTENSA_VARIANT_S6000 | ||
130 | default XTENSA_VARIANT_CUSTOM_NAME if XTENSA_VARIANT_CUSTOM | 123 | default XTENSA_VARIANT_CUSTOM_NAME if XTENSA_VARIANT_CUSTOM |
131 | 124 | ||
132 | config XTENSA_VARIANT_MMU | 125 | config XTENSA_VARIANT_MMU |
@@ -191,7 +184,6 @@ config HOTPLUG_CPU | |||
191 | 184 | ||
192 | config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX | 185 | config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX |
193 | bool "Initialize Xtensa MMU inside the Linux kernel code" | 186 | bool "Initialize Xtensa MMU inside the Linux kernel code" |
194 | depends on MMU | ||
195 | default y | 187 | default y |
196 | help | 188 | help |
197 | Earlier version initialized the MMU in the exception vector | 189 | Earlier version initialized the MMU in the exception vector |
@@ -311,15 +303,10 @@ config XTENSA_PLATFORM_XT2000 | |||
311 | XT2000 is the name of Tensilica's feature-rich emulation platform. | 303 | XT2000 is the name of Tensilica's feature-rich emulation platform. |
312 | This hardware is capable of running a full Linux distribution. | 304 | This hardware is capable of running a full Linux distribution. |
313 | 305 | ||
314 | config XTENSA_PLATFORM_S6105 | ||
315 | bool "S6105" | ||
316 | select HAVE_IDE | ||
317 | select SERIAL_CONSOLE | ||
318 | select NO_IOPORT_MAP | ||
319 | |||
320 | config XTENSA_PLATFORM_XTFPGA | 306 | config XTENSA_PLATFORM_XTFPGA |
321 | bool "XTFPGA" | 307 | bool "XTFPGA" |
322 | select ETHOC if ETHERNET | 308 | select ETHOC if ETHERNET |
309 | select PLATFORM_WANT_DEFAULT_MEM | ||
323 | select SERIAL_CONSOLE | 310 | select SERIAL_CONSOLE |
324 | select XTENSA_CALIBRATE_CCOUNT | 311 | select XTENSA_CALIBRATE_CCOUNT |
325 | help | 312 | help |
@@ -406,6 +393,41 @@ source "drivers/pcmcia/Kconfig" | |||
406 | 393 | ||
407 | source "drivers/pci/hotplug/Kconfig" | 394 | source "drivers/pci/hotplug/Kconfig" |
408 | 395 | ||
396 | config PLATFORM_WANT_DEFAULT_MEM | ||
397 | def_bool n | ||
398 | |||
399 | config DEFAULT_MEM_START | ||
400 | hex "Physical address of the default memory area start" | ||
401 | depends on PLATFORM_WANT_DEFAULT_MEM | ||
402 | default 0x00000000 if MMU | ||
403 | default 0x40000000 if !MMU | ||
404 | help | ||
405 | This is a fallback start address of the default memory area, it is | ||
406 | used when no physical memory size is passed through DTB or through | ||
407 | boot parameter from bootloader. | ||
408 | |||
409 | In noMMU configuration the following parameters are derived from it: | ||
410 | - kernel load address; | ||
411 | - kernel entry point address; | ||
412 | - relocatable vectors base address; | ||
413 | - uBoot load address; | ||
414 | - TASK_SIZE. | ||
415 | |||
416 | If unsure, leave the default value here. | ||
417 | |||
418 | config DEFAULT_MEM_SIZE | ||
419 | hex "Maximal size of the default memory area" | ||
420 | depends on PLATFORM_WANT_DEFAULT_MEM | ||
421 | default 0x04000000 | ||
422 | help | ||
423 | This is a fallback size of the default memory area, it is used when | ||
424 | no physical memory size is passed through DTB or through boot | ||
425 | parameter from bootloader. | ||
426 | |||
427 | It's also used for TASK_SIZE calculation in noMMU configuration. | ||
428 | |||
429 | If unsure, leave the default value here. | ||
430 | |||
409 | endmenu | 431 | endmenu |
410 | 432 | ||
411 | menu "Executable file formats" | 433 | menu "Executable file formats" |