mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
5647ac0ad4
GENERIC_GPIO now synonymous with GPIOLIB. There are no longer any valid cases for enableing GENERIC_GPIO without GPIOLIB, even though it is possible to do so which has been causing confusion and breakage. This branch does the work to completely eliminate GENERIC_GPIO. However, it is not trivial to just create a branch to remove it. Over the course of the v3.9 cycle more code referencing GENERIC_GPIO has been added to linux-next that conflicts with this branch. The following must be done to resolve the conflicts when merging this branch into mainline: * "git grep CONFIG_GENERIC_GPIO" should return 0 hits. Matches should be replaced with CONFIG_GPIOLIB * "git grep '\bGENERIC_GPIO\b'" should return 1 hit in the Chinese documentation. * Selectors of GENERIC_GPIO should be turned into selectors of GPIOLIB * definitions of the option in architecture Kconfig code should be deleted. Stephen has 3 merge fixup patches[1] that do the above. They are currently applicable on mainline as of May 2nd. [1] http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg428056.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJRifUnAAoJEEFnBt12D9kBs2YP/0U6+ia+xYvkVaJc28PDVIzn OReZNcJOYU8D5voxz0voaRD0EdcPwjbMu9Kp9aXMHlk4VxevF+8jCc/us0bIjtO1 VcB5VmSCIhMhxdnBlum11Mk7Vr5MCweyl9NBsypnPt8cl4obMBZHf2yzoodFktNb wtyYlOb6FALtc6iDbOO6dG3w9F7FAOLvskUFzdv89m8mupTsBu9jw9NqFDbJHOex rxq0Sdd+kWF/nkJVcV5Y6jIdletRlhpipefMJ9diexreHvwqh+c4kJEYZaXgB5+m ha95cPbReK1d+RqzM3A8d4irzSVSmq4k7ijI6QkFOr48+AH7XsgKv5so885LKzMN IIXg2Phm9i0H8+ecEvhcc4oIYBHJiEKK54Y0qUD9dqbFoDGPTCSqMHdSSMbpAY+J bIIXlVzj1En3PPNUJLPt8q8Qz6WxCT9mDST3QSGYnD4o90HT+1R9j92RxGL6McOq rUOyJDwmzFvpBvKK4raGdOU435M+ps2NPKKNIRaIGQPPY9rM1kN4YqvhXukEsC9L 3a3+3cQLh7iKxBHncxeQsJfethP1CPkJnzvF9r+ZZLf2rcPH4pbQIE2uO0XnX/nd 5/DKi0nGgAJ//GMMzdo3RiOA5zGFjIZ/KMvfhQldpP6qFJRhqdGi6FPlAcwr1z1n YnCByPwwlvfC4LTXFOGL =xodc -----END PGP SIGNATURE----- Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux Pull removal of GENERIC_GPIO from Grant Likely: "GENERIC_GPIO now synonymous with GPIOLIB. There are no longer any valid cases for enableing GENERIC_GPIO without GPIOLIB, even though it is possible to do so which has been causing confusion and breakage. This branch does the work to completely eliminate GENERIC_GPIO." * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux: gpio: update gpio Chinese documentation Remove GENERIC_GPIO config option Convert selectors of GENERIC_GPIO to GPIOLIB blackfin: force use of gpiolib m68k: coldfire: use gpiolib mips: pnx833x: remove requirement for GENERIC_GPIO openrisc: default GENERIC_GPIO to false avr32: default GENERIC_GPIO to false xtensa: remove explicit selection of GENERIC_GPIO sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB powerpc: remove redundant GENERIC_GPIO selection unicore32: default GENERIC_GPIO to false unicore32: remove unneeded select GENERIC_GPIO arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB arm: remove redundant GENERIC_GPIO selection mips: alchemy: require gpiolib mips: txx9: change GENERIC_GPIO to GPIOLIB mips: loongson: use GPIO driver on CONFIG_GPIOLIB mips: remove redundant GENERIC_GPIO select
176 lines
3.5 KiB
Plaintext
176 lines
3.5 KiB
Plaintext
# Hexagon configuration
|
|
comment "Linux Kernel Configuration for Hexagon"
|
|
|
|
config HEXAGON
|
|
def_bool y
|
|
select HAVE_OPROFILE
|
|
select USE_GENERIC_SMP_HELPERS if SMP
|
|
# Other pending projects/to-do items.
|
|
# select HAVE_REGS_AND_STACK_ACCESS_API
|
|
# select HAVE_HW_BREAKPOINT if PERF_EVENTS
|
|
# select ARCH_HAS_CPU_IDLE_WAIT
|
|
# select ARCH_WANT_OPTIONAL_GPIOLIB
|
|
# select ARCH_REQUIRE_GPIOLIB
|
|
# select HAVE_CLK
|
|
# select GENERIC_PENDING_IRQ if SMP
|
|
select GENERIC_ATOMIC64
|
|
select HAVE_PERF_EVENTS
|
|
select HAVE_GENERIC_HARDIRQS
|
|
# GENERIC_ALLOCATOR is used by dma_alloc_coherent()
|
|
select GENERIC_ALLOCATOR
|
|
select GENERIC_IRQ_SHOW
|
|
select HAVE_ARCH_KGDB
|
|
select HAVE_ARCH_TRACEHOOK
|
|
select NO_IOPORT
|
|
select GENERIC_IOMAP
|
|
select GENERIC_SMP_IDLE_THREAD
|
|
select STACKTRACE_SUPPORT
|
|
select KTIME_SCALAR
|
|
select GENERIC_CLOCKEVENTS
|
|
select GENERIC_CLOCKEVENTS_BROADCAST
|
|
select MODULES_USE_ELF_RELA
|
|
select GENERIC_CPU_DEVICES
|
|
---help---
|
|
Qualcomm Hexagon is a processor architecture designed for high
|
|
performance and low power across a wide variety of applications.
|
|
|
|
config HEXAGON_PHYS_OFFSET
|
|
def_bool y
|
|
---help---
|
|
Platforms that don't load the kernel at zero set this.
|
|
|
|
config FRAME_POINTER
|
|
def_bool y
|
|
|
|
config LOCKDEP_SUPPORT
|
|
def_bool y
|
|
|
|
config PCI
|
|
def_bool n
|
|
|
|
config EARLY_PRINTK
|
|
def_bool y
|
|
|
|
config MMU
|
|
def_bool y
|
|
|
|
config TRACE_IRQFLAGS_SUPPORT
|
|
def_bool y
|
|
|
|
config GENERIC_CSUM
|
|
def_bool y
|
|
|
|
#
|
|
# Use the generic interrupt handling code in kernel/irq/:
|
|
#
|
|
config GENERIC_IRQ_PROBE
|
|
def_bool y
|
|
|
|
config NEED_SG_DMA_LENGTH
|
|
def_bool y
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool n
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
def_bool y
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config STACKTRACE_SUPPORT
|
|
def_bool y
|
|
select STACKTRACE
|
|
|
|
config GENERIC_BUG
|
|
def_bool y
|
|
depends on BUG
|
|
|
|
menu "Machine selection"
|
|
|
|
choice
|
|
prompt "System type"
|
|
default HEXAGON_COMET
|
|
|
|
config HEXAGON_COMET
|
|
bool "Comet Board"
|
|
---help---
|
|
Support for the Comet platform.
|
|
|
|
endchoice
|
|
|
|
config HEXAGON_ARCH_VERSION
|
|
int "Architecture version"
|
|
default 2
|
|
|
|
config CMDLINE
|
|
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 SMP
|
|
bool "Multi-Processing support"
|
|
---help---
|
|
Enables SMP support in the kernel. If unsure, say "Y"
|
|
|
|
config NR_CPUS
|
|
int "Maximum number of CPUs" if SMP
|
|
range 2 6 if SMP
|
|
default "1" if !SMP
|
|
default "6" if SMP
|
|
---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 PAGE_SIZE_4KB
|
|
---help---
|
|
Changes the default page size; use with caution.
|
|
|
|
config PAGE_SIZE_4KB
|
|
bool "4KB"
|
|
|
|
config PAGE_SIZE_16KB
|
|
bool "16KB"
|
|
|
|
config PAGE_SIZE_64KB
|
|
bool "64KB"
|
|
|
|
config PAGE_SIZE_256KB
|
|
bool "256KB"
|
|
|
|
endchoice
|
|
|
|
source "mm/Kconfig"
|
|
|
|
source "kernel/Kconfig.hz"
|
|
|
|
endmenu
|
|
|
|
source "init/Kconfig"
|
|
source "drivers/Kconfig"
|
|
source "fs/Kconfig"
|
|
|
|
menu "Executable File Formats"
|
|
source "fs/Kconfig.binfmt"
|
|
endmenu
|
|
|
|
source "net/Kconfig"
|
|
source "security/Kconfig"
|
|
source "crypto/Kconfig"
|
|
source "lib/Kconfig"
|
|
|
|
menu "Kernel hacking"
|
|
source "lib/Kconfig.debug"
|
|
endmenu
|