1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Hexagon configuration !! 2 config M68K 3 comment "Linux Kernel Configuration for Hexago !! 3 bool 4 !! 4 default y 5 config HEXAGON << 6 def_bool y << 7 select ARCH_32BIT_OFF_T 5 select ARCH_32BIT_OFF_T 8 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 6 select ARCH_HAS_BINFMT_FLAT 9 select ARCH_NO_PREEMPT !! 7 select ARCH_HAS_CPU_CACHE_ALIASING 10 select ARCH_WANT_FRAME_POINTERS !! 8 select ARCH_HAS_CPU_FINALIZE_INIT if MMU 11 select DMA_GLOBAL_POOL !! 9 select ARCH_HAS_CURRENT_STACK_POINTER 12 select HAVE_PAGE_SIZE_4KB !! 10 select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE 13 select HAVE_PAGE_SIZE_16KB !! 11 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA 14 select HAVE_PAGE_SIZE_64KB !! 12 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 15 select HAVE_PAGE_SIZE_256KB !! 13 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 16 select FRAME_POINTER !! 14 select ARCH_NO_PREEMPT if !COLDFIRE 17 # Other pending projects/to-do items. !! 15 select ARCH_USE_MEMTEST if MMU_MOTOROLA 18 # select HAVE_REGS_AND_STACK_ACCESS_AP !! 16 select ARCH_WANT_IPC_PARSE_VERSION 19 # select HAVE_HW_BREAKPOINT if PERF_EV !! 17 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 20 # select ARCH_HAS_CPU_IDLE_WAIT !! 18 select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE 21 # select GPIOLIB << 22 # select HAVE_CLK << 23 # select GENERIC_PENDING_IRQ if SMP << 24 select GENERIC_ATOMIC64 19 select GENERIC_ATOMIC64 25 select HAVE_PERF_EVENTS !! 20 select GENERIC_CPU_DEVICES 26 # GENERIC_ALLOCATOR is used by dma_all !! 21 select GENERIC_IOMAP if HAS_IOPORT 27 select GENERIC_ALLOCATOR << 28 select GENERIC_IRQ_PROBE << 29 select GENERIC_IRQ_SHOW 22 select GENERIC_IRQ_SHOW 30 select HAVE_ARCH_KGDB !! 23 select GENERIC_LIB_ASHLDI3 31 select HAVE_ARCH_TRACEHOOK !! 24 select GENERIC_LIB_ASHRDI3 32 select NEED_SG_DMA_LENGTH !! 25 select GENERIC_LIB_LSHRDI3 33 select NO_IOPORT_MAP !! 26 select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA 34 select GENERIC_IOMAP !! 27 select HAVE_ARCH_SECCOMP 35 select GENERIC_IOREMAP !! 28 select HAVE_ARCH_SECCOMP_FILTER 36 select GENERIC_SMP_IDLE_THREAD !! 29 select HAVE_ASM_MODVERSIONS 37 select STACKTRACE_SUPPORT !! 30 select HAVE_DEBUG_BUGVERBOSE 38 select GENERIC_CLOCKEVENTS_BROADCAST !! 31 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED 39 select LOCK_MM_AND_FIND_VMA !! 32 select HAVE_MOD_ARCH_SPECIFIC >> 33 select HAVE_UID16 >> 34 select MMU_GATHER_NO_RANGE if MMU >> 35 select MODULES_USE_ELF_REL 40 select MODULES_USE_ELF_RELA 36 select MODULES_USE_ELF_RELA 41 select GENERIC_CPU_DEVICES !! 37 select NO_DMA if !MMU && !COLDFIRE 42 select ARCH_WANT_LD_ORPHAN_WARN !! 38 select OLD_SIGACTION 43 select TRACE_IRQFLAGS_SUPPORT !! 39 select OLD_SIGSUSPEND3 44 help !! 40 select UACCESS_MEMCPY if !MMU 45 Qualcomm Hexagon is a processor arch !! 41 select ZONE_DMA 46 performance and low power across a w << 47 42 48 config HEXAGON_PHYS_OFFSET !! 43 config CPU_BIG_ENDIAN 49 def_bool y 44 def_bool y 50 help << 51 Platforms that don't load the kernel << 52 45 53 config LOCKDEP_SUPPORT !! 46 config ARCH_HAS_ILOG2_U32 54 def_bool y !! 47 bool 55 48 56 config EARLY_PRINTK !! 49 config ARCH_HAS_ILOG2_U64 57 def_bool y !! 50 bool 58 51 59 config MMU !! 52 config GENERIC_HWEIGHT 60 def_bool y !! 53 bool >> 54 default y >> 55 >> 56 config GENERIC_CALIBRATE_DELAY >> 57 bool >> 58 default y 61 59 62 config GENERIC_CSUM 60 config GENERIC_CSUM 63 def_bool y !! 61 bool 64 62 65 config GENERIC_HWEIGHT !! 63 config TIME_LOW_RES 66 def_bool y !! 64 bool >> 65 default y 67 66 68 config STACKTRACE_SUPPORT !! 67 config NO_IOPORT_MAP 69 def_bool y 68 def_bool y 70 select STACKTRACE << 71 69 72 config GENERIC_BUG !! 70 config HZ 73 def_bool y !! 71 int 74 depends on BUG !! 72 default 1000 if CLEOPATRA >> 73 default 100 75 74 76 menu "Machine selection" !! 75 config PGTABLE_LEVELS >> 76 default 2 if SUN3 || COLDFIRE >> 77 default 3 77 78 78 choice !! 79 config MMU 79 prompt "System type" !! 80 bool "MMU-based Paged Memory Management Support" 80 default HEXAGON_COMET !! 81 default y 81 << 82 config HEXAGON_COMET << 83 bool "Comet Board" << 84 help 82 help 85 Support for the Comet platform. !! 83 Select if you want MMU-based virtualised addressing space >> 84 support by paged memory management. If unsure, say 'Y'. 86 85 87 endchoice !! 86 config MMU_MOTOROLA >> 87 bool >> 88 select HAVE_PAGE_SIZE_4KB 88 89 89 config HEXAGON_ARCH_VERSION !! 90 config MMU_COLDFIRE 90 int "Architecture version" !! 91 select HAVE_PAGE_SIZE_8KB 91 default 2 !! 92 bool 92 93 93 config CMDLINE !! 94 config MMU_SUN3 94 string "Default kernel command string" !! 95 bool 95 default "" !! 96 select HAVE_PAGE_SIZE_8KB 96 help !! 97 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 97 On some platforms, there is currentl << 98 to pass arguments to the kernel. For << 99 command-line options at build time b << 100 minimum, you should specify the memo << 101 (e.g., mem=64M root=/dev/nfs). << 102 98 103 config SMP !! 99 config ARCH_SUPPORTS_KEXEC 104 bool "Multi-Processing support" !! 100 def_bool M68KCLASSIC && MMU 105 help << 106 Enables SMP support in the kernel. << 107 101 108 config NR_CPUS !! 102 config BOOTINFO_PROC 109 int "Maximum number of CPUs" if SMP !! 103 bool "Export bootinfo in procfs" 110 range 2 6 if SMP !! 104 depends on KEXEC && M68KCLASSIC 111 default "1" if !SMP << 112 default "6" if SMP << 113 help 105 help 114 This allows you to specify the maxim !! 106 Say Y to export the bootinfo used to boot the kernel in a 115 kernel will support. The maximum su !! 107 "bootinfo" file in procfs. This is useful with kexec. 116 minimum value which makes sense is 2 !! 108 >> 109 menu "Platform setup" >> 110 >> 111 source "arch/m68k/Kconfig.cpu" >> 112 >> 113 source "arch/m68k/Kconfig.machine" 117 114 118 This is purely to save memory - each !! 115 source "arch/m68k/Kconfig.bus" 119 approximately eight kilobytes to the << 120 116 121 source "kernel/Kconfig.hz" !! 117 endmenu >> 118 >> 119 menu "Kernel Features" >> 120 >> 121 endmenu >> 122 >> 123 if !MMU >> 124 menu "Power management options" >> 125 >> 126 config PM >> 127 bool "Power Management support" >> 128 help >> 129 Support processor power management modes 122 130 123 endmenu 131 endmenu >> 132 endif >> 133 >> 134 source "arch/m68k/Kconfig.devices"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.