1575ca288SMichal Simek# For a description of the syntax of this configuration file, 2575ca288SMichal Simek# see Documentation/kbuild/kconfig-language.txt. 3575ca288SMichal Simek 4575ca288SMichal Simekmainmenu "Linux/Microblaze Kernel Configuration" 5575ca288SMichal Simek 6575ca288SMichal Simekconfig MICROBLAZE 7575ca288SMichal Simek def_bool y 895f72d1eSYinghai Lu select HAVE_MEMBLOCK 92fd7c761SMichal Simek select HAVE_FUNCTION_TRACER 106d9e60ceSMichal Simek select HAVE_FUNCTION_TRACE_MCOUNT_TEST 11a0d3e665SMichal Simek select HAVE_FUNCTION_GRAPH_TRACER 127d241ff0SMichal Simek select HAVE_DYNAMIC_FTRACE 137d241ff0SMichal Simek select HAVE_FTRACE_MCOUNT_RECORD 14afc26cb3SJulie Zhu select USB_ARCH_HAS_EHCI 156fa612b5SMichal Simek select ARCH_WANT_OPTIONAL_GPIOLIB 163540ce82SJohn Williams select HAVE_OPROFILE 172d5973cbSMichal Simek select HAVE_ARCH_KGDB 18ccfe27d7SMichal Simek select HAVE_DMA_ATTRS 19ccfe27d7SMichal Simek select HAVE_DMA_API_DEBUG 203540ce82SJohn Williams select TRACING_SUPPORT 21ae5bf63fSStephen Rothwell select OF 22ae5bf63fSStephen Rothwell select OF_FLATTREE 23575ca288SMichal Simek 24575ca288SMichal Simekconfig SWAP 25575ca288SMichal Simek def_bool n 26575ca288SMichal Simek 27575ca288SMichal Simekconfig RWSEM_GENERIC_SPINLOCK 28575ca288SMichal Simek def_bool y 29575ca288SMichal Simek 30575ca288SMichal Simekconfig RWSEM_XCHGADD_ALGORITHM 31575ca288SMichal Simek bool 32575ca288SMichal Simek 33575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U32 34575ca288SMichal Simek def_bool n 35575ca288SMichal Simek 36575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U64 37575ca288SMichal Simek def_bool n 38575ca288SMichal Simek 39575ca288SMichal Simekconfig GENERIC_FIND_NEXT_BIT 40575ca288SMichal Simek def_bool y 41575ca288SMichal Simek 42575ca288SMichal Simekconfig GENERIC_HWEIGHT 43575ca288SMichal Simek def_bool y 44575ca288SMichal Simek 45575ca288SMichal Simekconfig GENERIC_HARDIRQS 46575ca288SMichal Simek def_bool y 47575ca288SMichal Simek 48575ca288SMichal Simekconfig GENERIC_IRQ_PROBE 49575ca288SMichal Simek def_bool y 50575ca288SMichal Simek 51575ca288SMichal Simekconfig GENERIC_CALIBRATE_DELAY 52575ca288SMichal Simek def_bool y 53575ca288SMichal Simek 54575ca288SMichal Simekconfig GENERIC_TIME_VSYSCALL 55575ca288SMichal Simek def_bool n 56575ca288SMichal Simek 57575ca288SMichal Simekconfig GENERIC_CLOCKEVENTS 58575ca288SMichal Simek def_bool y 59575ca288SMichal Simek 60575ca288SMichal Simekconfig GENERIC_HARDIRQS_NO__DO_IRQ 61575ca288SMichal Simek def_bool y 62575ca288SMichal Simek 636fa612b5SMichal Simekconfig GENERIC_GPIO 646fa612b5SMichal Simek def_bool y 656fa612b5SMichal Simek 6614f87389SRemis Lima Baimaconfig GENERIC_CSUM 6714f87389SRemis Lima Baima def_bool y 6814f87389SRemis Lima Baima 6924b45a12SMichal Simekconfig STACKTRACE_SUPPORT 7024b45a12SMichal Simek def_bool y 7124b45a12SMichal Simek 72bf2d8096SMichal Simekconfig LOCKDEP_SUPPORT 73bf2d8096SMichal Simek def_bool y 74bf2d8096SMichal Simek 75fb5a32dcSMichal Simekconfig HAVE_LATENCYTOP_SUPPORT 76fb5a32dcSMichal Simek def_bool y 77fb5a32dcSMichal Simek 78575ca288SMichal Simeksource "init/Kconfig" 79575ca288SMichal Simek 80575ca288SMichal Simeksource "kernel/Kconfig.freezer" 81575ca288SMichal Simek 82575ca288SMichal Simeksource "arch/microblaze/platform/Kconfig.platform" 83575ca288SMichal Simek 84575ca288SMichal Simekmenu "Processor type and features" 85575ca288SMichal Simek 86296e2603SMichal Simeksource "kernel/time/Kconfig" 87575ca288SMichal Simek 88575ca288SMichal Simeksource "kernel/Kconfig.preempt" 89575ca288SMichal Simek 90575ca288SMichal Simeksource "kernel/Kconfig.hz" 91575ca288SMichal Simek 92575ca288SMichal Simekconfig MMU 93a116f6d5SMichal Simek bool "MMU support" 94a116f6d5SMichal Simek default n 95575ca288SMichal Simek 96575ca288SMichal Simekconfig NO_MMU 97575ca288SMichal Simek bool 98575ca288SMichal Simek depends on !MMU 99575ca288SMichal Simek default y 100575ca288SMichal Simek 101575ca288SMichal Simekcomment "Boot options" 102575ca288SMichal Simek 103575ca288SMichal Simekconfig CMDLINE_BOOL 104575ca288SMichal Simek bool "Default bootloader kernel arguments" 105575ca288SMichal Simek 106575ca288SMichal Simekconfig CMDLINE 107575ca288SMichal Simek string "Default kernel command string" 108575ca288SMichal Simek depends on CMDLINE_BOOL 109575ca288SMichal Simek default "console=ttyUL0,115200" 110575ca288SMichal Simek help 111575ca288SMichal Simek On some architectures there is currently no way for the boot loader 112575ca288SMichal Simek to pass arguments to the kernel. For these architectures, you should 113575ca288SMichal Simek supply some command-line options at build time by entering them 114575ca288SMichal Simek here. 115575ca288SMichal Simek 116575ca288SMichal Simekconfig CMDLINE_FORCE 117575ca288SMichal Simek bool "Force default kernel command string" 118575ca288SMichal Simek depends on CMDLINE_BOOL 119575ca288SMichal Simek default n 120575ca288SMichal Simek help 121575ca288SMichal Simek Set this to have arguments from the default kernel command string 122575ca288SMichal Simek override those passed by the boot loader. 123575ca288SMichal Simek 124*68c6ac33SMichal Simekconfig SECCOMP 125*68c6ac33SMichal Simek bool "Enable seccomp to safely compute untrusted bytecode" 126*68c6ac33SMichal Simek depends on PROC_FS 127*68c6ac33SMichal Simek default y 128*68c6ac33SMichal Simek help 129*68c6ac33SMichal Simek This kernel feature is useful for number crunching applications 130*68c6ac33SMichal Simek that may need to compute untrusted bytecode during their 131*68c6ac33SMichal Simek execution. By using pipes or other transports made available to 132*68c6ac33SMichal Simek the process as file descriptors supporting the read/write 133*68c6ac33SMichal Simek syscalls, it's possible to isolate those applications in 134*68c6ac33SMichal Simek their own address space using seccomp. Once seccomp is 135*68c6ac33SMichal Simek enabled via /proc/<pid>/seccomp, it cannot be disabled 136*68c6ac33SMichal Simek and the task is only allowed to execute a few safe syscalls 137*68c6ac33SMichal Simek defined by each seccomp mode. 138*68c6ac33SMichal Simek 139*68c6ac33SMichal Simek If unsure, say Y. Only embedded should say N here. 140*68c6ac33SMichal Simek 141575ca288SMichal Simekendmenu 142575ca288SMichal Simek 143a116f6d5SMichal Simekmenu "Advanced setup" 144a116f6d5SMichal Simek 145a116f6d5SMichal Simekconfig ADVANCED_OPTIONS 146a116f6d5SMichal Simek bool "Prompt for advanced kernel configuration options" 147a116f6d5SMichal Simek help 148a116f6d5SMichal Simek This option will enable prompting for a variety of advanced kernel 149a116f6d5SMichal Simek configuration options. These options can cause the kernel to not 150a116f6d5SMichal Simek work if they are set incorrectly, but can be used to optimize certain 151a116f6d5SMichal Simek aspects of kernel memory management. 152a116f6d5SMichal Simek 153a116f6d5SMichal Simek Unless you know what you are doing, say N here. 154a116f6d5SMichal Simek 155a116f6d5SMichal Simekcomment "Default settings for advanced configuration options are used" 156a116f6d5SMichal Simek depends on !ADVANCED_OPTIONS 157a116f6d5SMichal Simek 1583a0d7a4dSMichal Simekconfig XILINX_UNCACHED_SHADOW 1593a0d7a4dSMichal Simek bool "Are you using uncached shadow for RAM ?" 1603a0d7a4dSMichal Simek depends on ADVANCED_OPTIONS && !MMU 1613a0d7a4dSMichal Simek default n 1623a0d7a4dSMichal Simek help 1633a0d7a4dSMichal Simek This is needed to be able to allocate uncachable memory regions. 1643a0d7a4dSMichal Simek The feature requires the design to define the RAM memory controller 1653a0d7a4dSMichal Simek window to be twice as large as the actual physical memory. 1663a0d7a4dSMichal Simek 167a116f6d5SMichal Simekconfig HIGHMEM_START_BOOL 168a116f6d5SMichal Simek bool "Set high memory pool address" 169a116f6d5SMichal Simek depends on ADVANCED_OPTIONS && HIGHMEM 170a116f6d5SMichal Simek help 171a116f6d5SMichal Simek This option allows you to set the base address of the kernel virtual 172a116f6d5SMichal Simek area used to map high memory pages. This can be useful in 173a116f6d5SMichal Simek optimizing the layout of kernel virtual memory. 174a116f6d5SMichal Simek 175a116f6d5SMichal Simek Say N here unless you know what you are doing. 176a116f6d5SMichal Simek 177a116f6d5SMichal Simekconfig HIGHMEM_START 178a116f6d5SMichal Simek hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL 179a116f6d5SMichal Simek depends on MMU 180a116f6d5SMichal Simek default "0xfe000000" 181a116f6d5SMichal Simek 182a116f6d5SMichal Simekconfig LOWMEM_SIZE_BOOL 183a116f6d5SMichal Simek bool "Set maximum low memory" 184b8a84059SMichal Simek depends on ADVANCED_OPTIONS && MMU 185a116f6d5SMichal Simek help 186a116f6d5SMichal Simek This option allows you to set the maximum amount of memory which 187a116f6d5SMichal Simek will be used as "low memory", that is, memory which the kernel can 188a116f6d5SMichal Simek access directly, without having to set up a kernel virtual mapping. 189a116f6d5SMichal Simek This can be useful in optimizing the layout of kernel virtual 190a116f6d5SMichal Simek memory. 191a116f6d5SMichal Simek 192a116f6d5SMichal Simek Say N here unless you know what you are doing. 193a116f6d5SMichal Simek 194a116f6d5SMichal Simekconfig LOWMEM_SIZE 195a116f6d5SMichal Simek hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL 196a116f6d5SMichal Simek default "0x30000000" 197a116f6d5SMichal Simek 198a116f6d5SMichal Simekconfig KERNEL_START_BOOL 199a116f6d5SMichal Simek bool "Set custom kernel base address" 200a116f6d5SMichal Simek depends on ADVANCED_OPTIONS 201a116f6d5SMichal Simek help 202a116f6d5SMichal Simek This option allows you to set the kernel virtual address at which 203a116f6d5SMichal Simek the kernel will map low memory (the kernel image will be linked at 204a116f6d5SMichal Simek this address). This can be useful in optimizing the virtual memory 205a116f6d5SMichal Simek layout of the system. 206a116f6d5SMichal Simek 207a116f6d5SMichal Simek Say N here unless you know what you are doing. 208a116f6d5SMichal Simek 209a116f6d5SMichal Simekconfig KERNEL_START 210a116f6d5SMichal Simek hex "Virtual address of kernel base" if KERNEL_START_BOOL 211a116f6d5SMichal Simek default "0xc0000000" if MMU 212a116f6d5SMichal Simek default KERNEL_BASE_ADDR if !MMU 213a116f6d5SMichal Simek 214a116f6d5SMichal Simekconfig TASK_SIZE_BOOL 215a116f6d5SMichal Simek bool "Set custom user task size" 216b8a84059SMichal Simek depends on ADVANCED_OPTIONS && MMU 217a116f6d5SMichal Simek help 218a116f6d5SMichal Simek This option allows you to set the amount of virtual address space 219a116f6d5SMichal Simek allocated to user tasks. This can be useful in optimizing the 220a116f6d5SMichal Simek virtual memory layout of the system. 221a116f6d5SMichal Simek 222a116f6d5SMichal Simek Say N here unless you know what you are doing. 223a116f6d5SMichal Simek 224a116f6d5SMichal Simekconfig TASK_SIZE 225a116f6d5SMichal Simek hex "Size of user task space" if TASK_SIZE_BOOL 226a116f6d5SMichal Simek default "0x80000000" 227a116f6d5SMichal Simek 228ba9c4f88SSteven J. Magnanichoice 229ba9c4f88SSteven J. Magnani prompt "Page size" 230ba9c4f88SSteven J. Magnani default MICROBLAZE_4K_PAGES 231ba9c4f88SSteven J. Magnani depends on ADVANCED_OPTIONS && !MMU 232ba9c4f88SSteven J. Magnani help 233ba9c4f88SSteven J. Magnani Select the kernel logical page size. Increasing the page size 234ba9c4f88SSteven J. Magnani will reduce software overhead at each page boundary, allow 235ba9c4f88SSteven J. Magnani hardware prefetch mechanisms to be more effective, and allow 236ba9c4f88SSteven J. Magnani larger dma transfers increasing IO efficiency and reducing 237ba9c4f88SSteven J. Magnani overhead. However the utilization of memory will increase. 238ba9c4f88SSteven J. Magnani For example, each cached file will using a multiple of the 239ba9c4f88SSteven J. Magnani page size to hold its contents and the difference between the 240ba9c4f88SSteven J. Magnani end of file and the end of page is wasted. 241ba9c4f88SSteven J. Magnani 242ba9c4f88SSteven J. Magnani If unsure, choose 4K_PAGES. 243ba9c4f88SSteven J. Magnani 244ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_4K_PAGES 245ba9c4f88SSteven J. Magnani bool "4k page size" 246ba9c4f88SSteven J. Magnani 247ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_8K_PAGES 248ba9c4f88SSteven J. Magnani bool "8k page size" 249ba9c4f88SSteven J. Magnani 250ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_16K_PAGES 251ba9c4f88SSteven J. Magnani bool "16k page size" 252ba9c4f88SSteven J. Magnani 253ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_32K_PAGES 254ba9c4f88SSteven J. Magnani bool "32k page size" 255ba9c4f88SSteven J. Magnani 256ba9c4f88SSteven J. Magnaniendchoice 257ba9c4f88SSteven J. Magnani 258a116f6d5SMichal Simekendmenu 259a116f6d5SMichal Simek 260575ca288SMichal Simeksource "mm/Kconfig" 261575ca288SMichal Simek 262575ca288SMichal Simekmenu "Exectuable file formats" 263575ca288SMichal Simek 264575ca288SMichal Simeksource "fs/Kconfig.binfmt" 265575ca288SMichal Simek 266575ca288SMichal Simekendmenu 267575ca288SMichal Simek 268a6475c13SMichal Simekmenu "Bus Options" 269a6475c13SMichal Simek 270a6475c13SMichal Simekconfig PCI 271a6475c13SMichal Simek bool "PCI support" 272a6475c13SMichal Simek 273a6475c13SMichal Simekconfig PCI_DOMAINS 274a6475c13SMichal Simek def_bool PCI 275a6475c13SMichal Simek 276a6475c13SMichal Simekconfig PCI_SYSCALL 277a6475c13SMichal Simek def_bool PCI 278a6475c13SMichal Simek 279733cc218SMichal Simekconfig PCI_XILINX 280733cc218SMichal Simek bool "Xilinx PCI host bridge support" 281733cc218SMichal Simek depends on PCI 282733cc218SMichal Simek 283a6475c13SMichal Simeksource "drivers/pci/Kconfig" 284a6475c13SMichal Simek 285a6475c13SMichal Simekendmenu 286a6475c13SMichal Simek 287575ca288SMichal Simeksource "net/Kconfig" 288575ca288SMichal Simek 289575ca288SMichal Simeksource "drivers/Kconfig" 290575ca288SMichal Simek 291575ca288SMichal Simeksource "fs/Kconfig" 292575ca288SMichal Simek 293575ca288SMichal Simeksource "arch/microblaze/Kconfig.debug" 294575ca288SMichal Simek 295575ca288SMichal Simeksource "security/Kconfig" 296575ca288SMichal Simek 297575ca288SMichal Simeksource "crypto/Kconfig" 298575ca288SMichal Simek 299575ca288SMichal Simeksource "lib/Kconfig" 300