1575ca288SMichal Simekconfig MICROBLAZE 2575ca288SMichal Simek def_bool y 3355f65a3SMark Salter select ARCH_MIGHT_HAVE_PC_PARPORT 4c1d7e01dSWill Deacon select ARCH_WANT_IPC_PARSE_VERSION 5*25213388SMichal Simek select ARCH_WANT_OPTIONAL_GPIOLIB 6*25213388SMichal Simek select BUILDTIME_EXTABLE_SORT 7*25213388SMichal Simek select CLKSRC_OF 8*25213388SMichal Simek select CLONE_BACKWARDS3 9*25213388SMichal Simek select COMMON_CLK 10*25213388SMichal Simek select GENERIC_ATOMIC64 11*25213388SMichal Simek select GENERIC_CLOCKEVENTS 12*25213388SMichal Simek select GENERIC_CPU_DEVICES 13*25213388SMichal Simek select GENERIC_IDLE_POLL_SETUP 14b6e31629SThomas Gleixner select GENERIC_IRQ_PROBE 159d61c18bSThomas Gleixner select GENERIC_IRQ_SHOW 161b34d160SMichael S. Tsirkin select GENERIC_PCI_IOMAP 17839396abSMichal Simek select GENERIC_SCHED_CLOCK 18*25213388SMichal Simek select HAVE_ARCH_KGDB 19*25213388SMichal Simek select HAVE_DEBUG_KMEMLEAK 20*25213388SMichal Simek select HAVE_DMA_API_DEBUG 21*25213388SMichal Simek select HAVE_DMA_ATTRS 22*25213388SMichal Simek select HAVE_DYNAMIC_FTRACE 23*25213388SMichal Simek select HAVE_FTRACE_MCOUNT_RECORD 24*25213388SMichal Simek select HAVE_FUNCTION_GRAPH_TRACER 25*25213388SMichal Simek select HAVE_FUNCTION_TRACE_MCOUNT_TEST 26*25213388SMichal Simek select HAVE_FUNCTION_TRACER 27*25213388SMichal Simek select HAVE_MEMBLOCK 28*25213388SMichal Simek select HAVE_MEMBLOCK_NODE_MAP 29*25213388SMichal Simek select HAVE_OPROFILE 30*25213388SMichal Simek select IRQ_DOMAIN 31786d35d4SDavid Howells select MODULES_USE_ELF_RELA 32*25213388SMichal Simek select OF 33*25213388SMichal Simek select OF_EARLY_FLATTREE 34*25213388SMichal Simek select TRACING_SUPPORT 35*25213388SMichal Simek select VIRT_TO_BUS 36575ca288SMichal Simek 37575ca288SMichal Simekconfig SWAP 38575ca288SMichal Simek def_bool n 39575ca288SMichal Simek 40575ca288SMichal Simekconfig RWSEM_GENERIC_SPINLOCK 41575ca288SMichal Simek def_bool y 42575ca288SMichal Simek 434e2e4124SMichal Simekconfig ZONE_DMA 444e2e4124SMichal Simek def_bool y 454e2e4124SMichal Simek 46575ca288SMichal Simekconfig RWSEM_XCHGADD_ALGORITHM 47575ca288SMichal Simek bool 48575ca288SMichal Simek 49575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U32 50575ca288SMichal Simek def_bool n 51575ca288SMichal Simek 52575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U64 53575ca288SMichal Simek def_bool n 54575ca288SMichal Simek 55575ca288SMichal Simekconfig GENERIC_HWEIGHT 56575ca288SMichal Simek def_bool y 57575ca288SMichal Simek 58575ca288SMichal Simekconfig GENERIC_CALIBRATE_DELAY 59575ca288SMichal Simek def_bool y 60575ca288SMichal Simek 6114f87389SRemis Lima Baimaconfig GENERIC_CSUM 6214f87389SRemis Lima Baima def_bool y 6314f87389SRemis Lima Baima 6424b45a12SMichal Simekconfig STACKTRACE_SUPPORT 6524b45a12SMichal Simek def_bool y 6624b45a12SMichal Simek 67bf2d8096SMichal Simekconfig LOCKDEP_SUPPORT 68bf2d8096SMichal Simek def_bool y 69bf2d8096SMichal Simek 70fb5a32dcSMichal Simekconfig HAVE_LATENCYTOP_SUPPORT 71fb5a32dcSMichal Simek def_bool y 72fb5a32dcSMichal Simek 73575ca288SMichal Simeksource "init/Kconfig" 74575ca288SMichal Simek 75575ca288SMichal Simeksource "kernel/Kconfig.freezer" 76575ca288SMichal Simek 77575ca288SMichal Simeksource "arch/microblaze/platform/Kconfig.platform" 78575ca288SMichal Simek 79575ca288SMichal Simekmenu "Processor type and features" 80575ca288SMichal Simek 81575ca288SMichal Simeksource "kernel/Kconfig.preempt" 82575ca288SMichal Simek 83575ca288SMichal Simeksource "kernel/Kconfig.hz" 84575ca288SMichal Simek 85575ca288SMichal Simekconfig MMU 86a116f6d5SMichal Simek bool "MMU support" 87a116f6d5SMichal Simek default n 88575ca288SMichal Simek 89575ca288SMichal Simekcomment "Boot options" 90575ca288SMichal Simek 91575ca288SMichal Simekconfig CMDLINE_BOOL 92575ca288SMichal Simek bool "Default bootloader kernel arguments" 93575ca288SMichal Simek 94575ca288SMichal Simekconfig CMDLINE 95575ca288SMichal Simek string "Default kernel command string" 96575ca288SMichal Simek depends on CMDLINE_BOOL 97575ca288SMichal Simek default "console=ttyUL0,115200" 98575ca288SMichal Simek help 99575ca288SMichal Simek On some architectures there is currently no way for the boot loader 100575ca288SMichal Simek to pass arguments to the kernel. For these architectures, you should 101575ca288SMichal Simek supply some command-line options at build time by entering them 102575ca288SMichal Simek here. 103575ca288SMichal Simek 104575ca288SMichal Simekconfig CMDLINE_FORCE 105575ca288SMichal Simek bool "Force default kernel command string" 106575ca288SMichal Simek depends on CMDLINE_BOOL 107575ca288SMichal Simek default n 108575ca288SMichal Simek help 109575ca288SMichal Simek Set this to have arguments from the default kernel command string 110575ca288SMichal Simek override those passed by the boot loader. 111575ca288SMichal Simek 11268c6ac33SMichal Simekconfig SECCOMP 11368c6ac33SMichal Simek bool "Enable seccomp to safely compute untrusted bytecode" 11468c6ac33SMichal Simek depends on PROC_FS 11568c6ac33SMichal Simek default y 11668c6ac33SMichal Simek help 11768c6ac33SMichal Simek This kernel feature is useful for number crunching applications 11868c6ac33SMichal Simek that may need to compute untrusted bytecode during their 11968c6ac33SMichal Simek execution. By using pipes or other transports made available to 12068c6ac33SMichal Simek the process as file descriptors supporting the read/write 12168c6ac33SMichal Simek syscalls, it's possible to isolate those applications in 12268c6ac33SMichal Simek their own address space using seccomp. Once seccomp is 12368c6ac33SMichal Simek enabled via /proc/<pid>/seccomp, it cannot be disabled 12468c6ac33SMichal Simek and the task is only allowed to execute a few safe syscalls 12568c6ac33SMichal Simek defined by each seccomp mode. 12668c6ac33SMichal Simek 12768c6ac33SMichal Simek If unsure, say Y. Only embedded should say N here. 12868c6ac33SMichal Simek 129575ca288SMichal Simekendmenu 130575ca288SMichal Simek 131a116f6d5SMichal Simekmenu "Advanced setup" 132a116f6d5SMichal Simek 133a116f6d5SMichal Simekconfig ADVANCED_OPTIONS 134a116f6d5SMichal Simek bool "Prompt for advanced kernel configuration options" 135a116f6d5SMichal Simek help 136a116f6d5SMichal Simek This option will enable prompting for a variety of advanced kernel 137a116f6d5SMichal Simek configuration options. These options can cause the kernel to not 138a116f6d5SMichal Simek work if they are set incorrectly, but can be used to optimize certain 139a116f6d5SMichal Simek aspects of kernel memory management. 140a116f6d5SMichal Simek 141a116f6d5SMichal Simek Unless you know what you are doing, say N here. 142a116f6d5SMichal Simek 143a116f6d5SMichal Simekcomment "Default settings for advanced configuration options are used" 144a116f6d5SMichal Simek depends on !ADVANCED_OPTIONS 145a116f6d5SMichal Simek 1463a0d7a4dSMichal Simekconfig XILINX_UNCACHED_SHADOW 1473a0d7a4dSMichal Simek bool "Are you using uncached shadow for RAM ?" 1483a0d7a4dSMichal Simek depends on ADVANCED_OPTIONS && !MMU 1493a0d7a4dSMichal Simek default n 1503a0d7a4dSMichal Simek help 1513a0d7a4dSMichal Simek This is needed to be able to allocate uncachable memory regions. 1523a0d7a4dSMichal Simek The feature requires the design to define the RAM memory controller 1533a0d7a4dSMichal Simek window to be twice as large as the actual physical memory. 1543a0d7a4dSMichal Simek 1552f2f371fSMichal Simekconfig HIGHMEM 1562f2f371fSMichal Simek bool "High memory support" 157a116f6d5SMichal Simek depends on MMU 1582f2f371fSMichal Simek help 1592f2f371fSMichal Simek The address space of Microblaze processors is only 4 Gigabytes large 1602f2f371fSMichal Simek and it has to accommodate user address space, kernel address 1612f2f371fSMichal Simek space as well as some memory mapped IO. That means that, if you 1622f2f371fSMichal Simek have a large amount of physical memory and/or IO, not all of the 1632f2f371fSMichal Simek memory can be "permanently mapped" by the kernel. The physical 1642f2f371fSMichal Simek memory that is not permanently mapped is called "high memory". 1652f2f371fSMichal Simek 1662f2f371fSMichal Simek If unsure, say n. 167a116f6d5SMichal Simek 168a116f6d5SMichal Simekconfig LOWMEM_SIZE_BOOL 169a116f6d5SMichal Simek bool "Set maximum low memory" 170b8a84059SMichal Simek depends on ADVANCED_OPTIONS && MMU 171a116f6d5SMichal Simek help 172a116f6d5SMichal Simek This option allows you to set the maximum amount of memory which 173a116f6d5SMichal Simek will be used as "low memory", that is, memory which the kernel can 174a116f6d5SMichal Simek access directly, without having to set up a kernel virtual mapping. 175a116f6d5SMichal Simek This can be useful in optimizing the layout of kernel virtual 176a116f6d5SMichal Simek memory. 177a116f6d5SMichal Simek 178a116f6d5SMichal Simek Say N here unless you know what you are doing. 179a116f6d5SMichal Simek 180a116f6d5SMichal Simekconfig LOWMEM_SIZE 181a116f6d5SMichal Simek hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL 182a116f6d5SMichal Simek default "0x30000000" 183a116f6d5SMichal Simek 1840b9b0200SMichal Simekconfig MANUAL_RESET_VECTOR 1850b9b0200SMichal Simek hex "Microblaze reset vector address setup" 1860b9b0200SMichal Simek default "0x0" 1870b9b0200SMichal Simek help 1880b9b0200SMichal Simek Set this option to have the kernel override the CPU Reset vector. 1890b9b0200SMichal Simek If zero, no change will be made to the MicroBlaze reset vector at 1900b9b0200SMichal Simek address 0x0. 1910b9b0200SMichal Simek If non-zero, a jump instruction to this address, will be written 1920b9b0200SMichal Simek to the reset vector at address 0x0. 1930b9b0200SMichal Simek If you are unsure, set it to default value 0x0. 1940b9b0200SMichal Simek 195a116f6d5SMichal Simekconfig KERNEL_START_BOOL 196a116f6d5SMichal Simek bool "Set custom kernel base address" 197a116f6d5SMichal Simek depends on ADVANCED_OPTIONS 198a116f6d5SMichal Simek help 199a116f6d5SMichal Simek This option allows you to set the kernel virtual address at which 200a116f6d5SMichal Simek the kernel will map low memory (the kernel image will be linked at 201a116f6d5SMichal Simek this address). This can be useful in optimizing the virtual memory 202a116f6d5SMichal Simek layout of the system. 203a116f6d5SMichal Simek 204a116f6d5SMichal Simek Say N here unless you know what you are doing. 205a116f6d5SMichal Simek 206a116f6d5SMichal Simekconfig KERNEL_START 207a116f6d5SMichal Simek hex "Virtual address of kernel base" if KERNEL_START_BOOL 208a116f6d5SMichal Simek default "0xc0000000" if MMU 209a116f6d5SMichal Simek default KERNEL_BASE_ADDR if !MMU 210a116f6d5SMichal Simek 211a116f6d5SMichal Simekconfig TASK_SIZE_BOOL 212a116f6d5SMichal Simek bool "Set custom user task size" 213b8a84059SMichal Simek depends on ADVANCED_OPTIONS && MMU 214a116f6d5SMichal Simek help 215a116f6d5SMichal Simek This option allows you to set the amount of virtual address space 216a116f6d5SMichal Simek allocated to user tasks. This can be useful in optimizing the 217a116f6d5SMichal Simek virtual memory layout of the system. 218a116f6d5SMichal Simek 219a116f6d5SMichal Simek Say N here unless you know what you are doing. 220a116f6d5SMichal Simek 221a116f6d5SMichal Simekconfig TASK_SIZE 222a116f6d5SMichal Simek hex "Size of user task space" if TASK_SIZE_BOOL 223a116f6d5SMichal Simek default "0x80000000" 224a116f6d5SMichal Simek 225ba9c4f88SSteven J. Magnanichoice 226ba9c4f88SSteven J. Magnani prompt "Page size" 227ba9c4f88SSteven J. Magnani default MICROBLAZE_4K_PAGES 228ba9c4f88SSteven J. Magnani depends on ADVANCED_OPTIONS && !MMU 229ba9c4f88SSteven J. Magnani help 230ba9c4f88SSteven J. Magnani Select the kernel logical page size. Increasing the page size 231ba9c4f88SSteven J. Magnani will reduce software overhead at each page boundary, allow 232ba9c4f88SSteven J. Magnani hardware prefetch mechanisms to be more effective, and allow 233ba9c4f88SSteven J. Magnani larger dma transfers increasing IO efficiency and reducing 234ba9c4f88SSteven J. Magnani overhead. However the utilization of memory will increase. 235ba9c4f88SSteven J. Magnani For example, each cached file will using a multiple of the 236ba9c4f88SSteven J. Magnani page size to hold its contents and the difference between the 237ba9c4f88SSteven J. Magnani end of file and the end of page is wasted. 238ba9c4f88SSteven J. Magnani 239ba9c4f88SSteven J. Magnani If unsure, choose 4K_PAGES. 240ba9c4f88SSteven J. Magnani 241ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_4K_PAGES 242ba9c4f88SSteven J. Magnani bool "4k page size" 243ba9c4f88SSteven J. Magnani 244ba9c4f88SSteven J. Magnaniconfig MICROBLAZE_16K_PAGES 245ba9c4f88SSteven J. Magnani bool "16k page size" 246ba9c4f88SSteven J. Magnani 2476e80cff5SMichal Simekconfig MICROBLAZE_64K_PAGES 2486e80cff5SMichal Simek bool "64k page size" 249ba9c4f88SSteven J. Magnani 250ba9c4f88SSteven J. Magnaniendchoice 251ba9c4f88SSteven J. Magnani 252a116f6d5SMichal Simekendmenu 253a116f6d5SMichal Simek 254575ca288SMichal Simeksource "mm/Kconfig" 255575ca288SMichal Simek 256910672deSTobias Klausermenu "Executable file formats" 257575ca288SMichal Simek 258575ca288SMichal Simeksource "fs/Kconfig.binfmt" 259575ca288SMichal Simek 260575ca288SMichal Simekendmenu 261575ca288SMichal Simek 262a6475c13SMichal Simekmenu "Bus Options" 263a6475c13SMichal Simek 264a6475c13SMichal Simekconfig PCI 265a6475c13SMichal Simek bool "PCI support" 266a6475c13SMichal Simek 267a6475c13SMichal Simekconfig PCI_DOMAINS 268a6475c13SMichal Simek def_bool PCI 269a6475c13SMichal Simek 270a6475c13SMichal Simekconfig PCI_SYSCALL 271a6475c13SMichal Simek def_bool PCI 272a6475c13SMichal Simek 273733cc218SMichal Simekconfig PCI_XILINX 274733cc218SMichal Simek bool "Xilinx PCI host bridge support" 275733cc218SMichal Simek depends on PCI 276733cc218SMichal Simek 277a6475c13SMichal Simeksource "drivers/pci/Kconfig" 278a6475c13SMichal Simek 279a6475c13SMichal Simekendmenu 280a6475c13SMichal Simek 281575ca288SMichal Simeksource "net/Kconfig" 282575ca288SMichal Simek 283575ca288SMichal Simeksource "drivers/Kconfig" 284575ca288SMichal Simek 285575ca288SMichal Simeksource "fs/Kconfig" 286575ca288SMichal Simek 287575ca288SMichal Simeksource "arch/microblaze/Kconfig.debug" 288575ca288SMichal Simek 289575ca288SMichal Simeksource "security/Kconfig" 290575ca288SMichal Simek 291575ca288SMichal Simeksource "crypto/Kconfig" 292575ca288SMichal Simek 293575ca288SMichal Simeksource "lib/Kconfig" 294