# SPDX-License-Identifier: GPL-2.0
# Hexagon configuration
comment "Linux Kernel Configuration for Hexagon"
config [31mCONFIG_HEXAGON[0m
def_bool y
select [31mCONFIG_ARCH_32BIT_OFF_T[0m
select [31mCONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE[0m
select [31mCONFIG_ARCH_NO_PREEMPT[0m
select [31mCONFIG_HAVE_OPROFILE[0m
# Other pending projects/to-do items.
# select [31mCONFIG_HAVE_REGS_AND_STACK_ACCESS_API[0m
# select [31mCONFIG_HAVE_HW_BREAKPOINT[0m if [31mCONFIG_PERF_EVENTS[0m
# select ARCH_HAS_CPU_IDLE_WAIT
# select [31mCONFIG_GPIOLIB[0m
# select [31mCONFIG_HAVE_CLK[0m
# select [31mCONFIG_GENERIC_PENDING_IRQ[0m if [31mCONFIG_SMP[0m
select [31mCONFIG_GENERIC_ATOMIC64[0m
select [31mCONFIG_HAVE_PERF_EVENTS[0m
# [31mCONFIG_GENERIC_ALLOCATOR[0m is used by dma_alloc_coherent()
select [31mCONFIG_GENERIC_ALLOCATOR[0m
select [31mCONFIG_GENERIC_IRQ_SHOW[0m
select [31mCONFIG_HAVE_ARCH_KGDB[0m
select [31mCONFIG_HAVE_ARCH_TRACEHOOK[0m
select [31mCONFIG_NEED_SG_DMA_LENGTH[0m
select [31mCONFIG_NO_IOPORT_MAP[0m
select [31mCONFIG_GENERIC_IOMAP[0m
select [31mCONFIG_GENERIC_SMP_IDLE_THREAD[0m
select [31mCONFIG_STACKTRACE_SUPPORT[0m
select [31mCONFIG_GENERIC_CLOCKEVENTS[0m
select [31mCONFIG_GENERIC_CLOCKEVENTS_BROADCAST[0m
select [31mCONFIG_MODULES_USE_ELF_RELA[0m
select [31mCONFIG_GENERIC_CPU_DEVICES[0m
---help---
Qualcomm Hexagon is a processor architecture designed for high
performance and low power across a wide variety of applications.
config [31mCONFIG_HEXAGON_PHYS_OFFSET[0m
def_bool y
---help---
Platforms that don't load the kernel at zero set this.
config [31mCONFIG_FRAME_POINTER[0m
def_bool y
config [31mCONFIG_LOCKDEP_SUPPORT[0m
def_bool y
config [31mCONFIG_EARLY_PRINTK[0m
def_bool y
config [31mCONFIG_MMU[0m
def_bool y
config [31mCONFIG_TRACE_IRQFLAGS_SUPPORT[0m
def_bool y
config [31mCONFIG_GENERIC_CSUM[0m
def_bool y
#
# Use the generic interrupt handling code in kernel/irq/:
#
config [31mCONFIG_GENERIC_IRQ_PROBE[0m
def_bool y
config [31mCONFIG_GENERIC_HWEIGHT[0m
def_bool y
config [31mCONFIG_STACKTRACE_SUPPORT[0m
def_bool y
select [31mCONFIG_STACKTRACE[0m
config [31mCONFIG_GENERIC_BUG[0m
def_bool y
depends on [31mCONFIG_BUG[0m
menu "Machine selection"
choice
prompt "System type"
default [31mCONFIG_HEXAGON_COMET[0m
config [31mCONFIG_HEXAGON_COMET[0m
bool "Comet Board"
---help---
Support for the Comet platform.
endchoice
config [31mCONFIG_HEXAGON_ARCH_VERSION[0m
int "Architecture version"
default 2
config [31mCONFIG_CMDLINE[0m
string "Default kernel command string"
default ""
help
On some platforms, there is currently no way for the boot loader
to pass arguments to the kernel. For these, you should supply some
command-line options at build time by entering them here. At a
minimum, you should specify the memory size and the root device
(e.g., mem=64M root=/dev/nfs).
config [31mCONFIG_SMP[0m
bool "Multi-Processing support"
---help---
Enables [31mCONFIG_SMP[0m support in the kernel. If unsure, say "Y"
config [31mCONFIG_NR_CPUS[0m
int "Maximum number of CPUs" if [31mCONFIG_SMP[0m
range 2 6 if [31mCONFIG_SMP[0m
default "1" if ![31mCONFIG_SMP[0m
default "6" if [31mCONFIG_SMP[0m
---help---
This allows you to specify the maximum number of CPUs which this
kernel will support. The maximum supported value is 6 and the
minimum value which makes sense is 2.
This is purely to save memory - each supported CPU adds
approximately eight kilobytes to the kernel image.
choice
prompt "Kernel page size"
default [31mCONFIG_PAGE_SIZE_4KB[0m
---help---
Changes the default page size; use with caution.
config [31mCONFIG_PAGE_SIZE_4KB[0m
bool "4KB"
config [31mCONFIG_PAGE_SIZE_16KB[0m
bool "16KB"
config [31mCONFIG_PAGE_SIZE_64KB[0m
bool "64KB"
config [31mCONFIG_PAGE_SIZE_256KB[0m
bool "256KB"
endchoice
source "kernel/Kconfig.hz"
endmenu