# # AVM general functions # # menu "AVM Sammeltreiber" config AVM_SAMMEL bool "AVM general support (Event, Watchdog, Debug, Profiling)" default y help This driver provides general functions for AVMs own drivers. To compile this driver as a module, choose M here. The module will be called avm. config AVM_EVENT bool "AVM event support" depends on AVM_SAMMEL default y help This driver provides support for event handling. config AVM_EVENT_20 bool "AVM event support Version 2.0" depends on AVM_EVENT default y help This driver provides support for event handling. config AVM_PWM bool "AVM pwm support" depends on AVM_SAMMEL default n help This driver enables PWM support for LEDs. config AVM_EVENTNODE_PUMA6 bool "Remote AVM events on Puma6" depends on AVM_EVENT_20 && (MACH_PUMA6 || ARCH_GEN3) default n help This driver enables distribution of AVM events between Atom and ARM core on Puma6. config AVM_EVENTNODE_PUMA7 bool "Remote AVM events on Puma7" depends on AVM_EVENT_20 && (MACH_PUMA7) default n help This driver enables distribution of AVM events between Atom and ARM core on Puma7. config AVM_WATCHDOG bool "Watchdog support" depends on AVM_SAMMEL default n help This driver provides the watchdog support. config AVM_WATCHDOG_SHIM bool "Watchdog driver shim for standard watchdog drivers" depends on AVM_WATCHDOG && AVM_WATCHDOG_SHIM_SUPPORT depends on HPET_TIMER || !X86 select AVM_NMI_WATCHDOG if X86 help This watchdog sub-driver adds support for attaching the AVM ar7 watchdog driver to any standard watchdog device driver supported by the watchdog core. config AVM_NMI_WATCHDOG bool "HPET based NMI watchdog" depends on AVM_WATCHDOG && HPET_TIMER help Run a watchdog routine in an NMI triggered periodically by the HPET. config AVM_DEBUG bool "support for AVM Debug" depends on AVM_SAMMEL default y config AVM_DEBUG_BUF_SHIFT int "debug log buffer size (16 => 64KB, 17 => 128KB)" range 16 25 default 19 depends on AVM_DEBUG help Selects the debug buffer size config AVM_DEBUG_CONSOLE bool "support for AVM Debug console" depends on AVM_DEBUG default n help Implements the console bending via a console driver and CON_MUTED (avm-only) support. config AVM_LED_EVENTS bool "support for AVM Led event based version" depends on AVM_SAMMEL default n config AVM_SIMPLE_PROFILING bool "Simple Kernel-Profiler" depends on AVM_SAMMEL select PERF_EVENTS select AVM_PROM_ENVIRONMENT default y help Use cat cat /proc/avm/profile/help to get more information. config ENABLE_SKB_PROFILING_HOOKS bool "Enable SKB-Profiling" depends on AVM_SIMPLE_PROFILING default n config ENABLE_SPINLOCK_PROFILING_HOOKS bool "Enable Spinlock-Profiling" depends on AVM_SIMPLE_PROFILING default n config ENABLE_IRQ_PROFILING_HOOKS bool "Enable IrqEnable/Disable-Profiling" depends on AVM_SIMPLE_PROFILING default n config AVM_PAGE_TRACE bool "Enhanced Page-Tracing" depends on AVM_SAMMEL default y help get summary of information about page-using config AVM_NET_EVENT bool "AVM Network Event Source" depends on AVM_EVENT || AVM_LED_EVENTS || AVM_POWER depends on AVM_KERNEL select AVM_PROM_ENVIRONMENT default n help generic event source (hardware independent) for AVM_EVENT, AVM_LED and AVM_POWER generic ethernet port handler for AVM_POWER. This driver relays on ethtool_ops. config AVM_KPI bool "KPI Subsystem" depends on AVM_SAMMEL depends on SYSFS default y help This allows creating key performance indicators from kernel space. They are exposed at /sys/kernel/kpi. Consult include/linux/avm_kpi.h for usage information. config AVM_FW_INFO bool "AVM FW Info" default n help This enables the API to retrieve information about the firmware inside the kernel. Usually this information contains the firmware version and the required module sizes. Multiple backends exists to provide this information, currently a legacy embedded and a devicetree based variant exists. config AVM_FW_INFO_EMBED bool "Embedded FW info" depends on AVM_FW_INFO help Allows to retrieve the firmware information from a patched kernel section. A patched kernel contains a special linker section. During the firmware build the kernel will be relinked with this section provided. The maximum size of this section must be defined during build time. config AVM_FW_INFO_EMBED_DTB bool "Embedded FW info may contain DT" depends on AVM_FW_INFO_EMBED default n help Use the devicetree contained in the firmware info. On older platforms the Urlader does not pass the dt directly to the kernel. Instead it edits the device trees embedded in the kernel and the kernel uses these. The correct devicetree is always the dt at index 0 regardless of the actual subrev. config AVM_FW_INFO_DT bool "DeviceTree FW info" depends on AVM_FW_INFO depends on OF default n help Allows to retrieve the firmware information from the device tree. Devicetrees may contain a "avm,fw-info" section describing the firmware version and the required module sizes. It can (obviously) not contain another devicetree. This is the preferred method for new kernels. config AVM_MODULE_MEM bool "AVM Module Memory" select AVM_FW_INFO default n help Provides an allocator for module memory which avoids fragmentation and is RTE hard. On low-end platforms (ram <= 64mb) fragmentation is a big concern and fragmentation quickly prohibits the allocation of contiguous memory for modules. The subsequent vmalloc-allocation however has a very negative performance impacts on MIPS platforms. Secondly on platforms employing RTE modules are prohibited from generating tlb-misses and must therefore reside in physical memory and can not be vmapped. config AVM_PROMCONFIG_FORCE_WORDALIGNED_ACCESS bool "Word-align all prom config flash access" depends on AVM_SAMMEL default y help Force word-alignment for all reads of the prom-config flash area. You should not need this on new F!Boxen. endmenu