AVR32 update
Subsystems (2)
cover AVR32 update
Hi Linus,
Here's a relatively minor AVR32 update which fixes a few problems I and some other people have run into when working on various drivers. I'm sorry if this comes a bit late, but since none of this is very critical, I've been sitting on the patches for a while to see if I can gather up some more updates before sending it to you.
By the way, I've got access to an externally visible git repository now, so the next update will probably be a git pull request if that's ok with everyone.
Haavard
Ben Nizette:
AVR32: add io{read,write}{8,16,32}{be,} supportHaavard Skinnemoen:
AVR32: Minor Makefile cleanup
AVR32: Silence some compile warnings
AVR32: Don't try to iounmap P2 segment addresses
AVR32: Fix oversize immediates in atomic.h
AVR32: Implement and export __raw_{read,write}s[bwl]
AVR32: Use __raw MMIO access for internal peripherals
AVR32: Update defconfig
arch/avr32/Makefile | 21 ++- arch/avr32/boot/images/Makefile | 4 - arch/avr32/configs/atstk1002_defconfig | 253 ++++++++++++++++++++------------ arch/avr32/kernel/avr32_ksyms.c | 9 + arch/avr32/kernel/kprobes.c | 2 arch/avr32/kernel/module.c | 4 - arch/avr32/kernel/ptrace.c | 2 arch/avr32/lib/Makefile | 1 arch/avr32/lib/io-readsb.S | 47 ++++++ arch/avr32/lib/io-writesb.S | 52 +++++++ arch/avr32/mach-at32ap/hsmc.h | 4 - arch/avr32/mach-at32ap/intc.h | 6 + arch/avr32/mach-at32ap/pio.h | 6 + arch/avr32/mach-at32ap/sm.h | 6 + arch/avr32/mm/init.c | 2 arch/avr32/mm/ioremap.c | 2 include/asm-avr32/atomic.h | 8 + include/asm-avr32/io.h | 33 ++++ 18 files changed, 340 insertions(+), 122 deletions(-) create mode 100644 arch/avr32/lib/io-readsb.S create mode 100644 arch/avr32/lib/io-writesb.S
PATCH 1/8 AVR32: Minor Makefile cleanup
Don't generate listing by default, remove unused LIBGCC variable and rename generated disassembly and listing files to vmlinux.{s,lst}.
Also make sure that files generated during the build are actually removed with make clean.
--- arch/avr32/Makefile | 21 +++++++++++++-------- arch/avr32/boot/images/Makefile | 4 +--- 2 files changed, 14 insertions(+), 11 deletions(-)
arch/avr32/Makefile +13 -8
@@ -7,7 +7,7 @@ # Copyright (C) 2004-2006 Atmel Corporat # Default target when executing plain make .PHONY: all -all: uImage vmlinux.elf linux.lst +all: uImage vmlinux.elf KBUILD_DEFCONFIG := atstk1002_defconfig
@@ -21,9 +21,7 @@ cpuflags-$(CONFIG_CPU_AP7000) += -mcpu=a CFLAGS += $(cpuflags-y) AFLAGS += $(cpuflags-y) -CHECKFLAGS += -D__avr32__ - -LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) +CHECKFLAGS += -D__avr32__ -D__BIG_ENDIAN head-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/head.o head-y += arch/avr32/kernel/head.o
@@ -32,7 +30,7 @@ core-$(CONFIG_BOARD_ATSTK1000) += arch/ core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ core-y += arch/avr32/kernel/ core-y += arch/avr32/mm/ -libs-y += arch/avr32/lib/ #$(LIBGCC) +libs-y += arch/avr32/lib/ archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap
@@ -48,6 +46,8 @@ endif archprepare: include/asm-avr32/.arch +CLEAN_FILES += include/asm-avr32/.arch include/asm-avr32/arch + BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec .PHONY: $(BOOT_TARGETS) install
@@ -71,14 +71,19 @@ vmlinux.elf vmlinux.bin uImage.srec uIma install: vmlinux $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) $@ -linux.s: vmlinux +vmlinux.s: vmlinux $(call if_changed,disasm) -linux.lst: vmlinux +vmlinux.lst: vmlinux $(call if_changed,listing) +CLEAN_FILES += vmlinux.s vmlinux.lst + +archclean: + $(Q)$(MAKE) $(clean)=$(boot) + define archhelp @echo '* vmlinux.elf - ELF image with load address 0' @echo ' vmlinux.cso - PathFinder CSO image' - @echo ' uImage - Create a bootable image for U-Boot' + @echo '* uImage - Create a bootable image for U-Boot' endef
arch/avr32/boot/images/Makefile +1 -3
@@ -37,14 +37,12 @@ OBJCOPYFLAGS_vmlinux.elf := --change-sec --change-section-lma .data-0x80000000 \ --change-section-lma .init-0x80000000 \ --change-section-lma .bss-0x80000000 \ - --change-section-lma .initrd-0x80000000 \ --change-section-lma __param-0x80000000 \ --change-section-lma __ksymtab-0x80000000 \ --change-section-lma __ksymtab_gpl-0x80000000 \ --change-section-lma __kcrctab-0x80000000 \ --change-section-lma __kcrctab_gpl-0x80000000 \ --change-section-lma __ksymtab_strings-0x80000000 \ - --change-section-lma .got-0x80000000 \ --set-start 0xa0000000 $(obj)/vmlinux.elf: vmlinux FORCE $(call if_changed,objcopy)
@@ -59,4 +57,4 @@ install: $(BOOTIMAGE) sh $(srctree)/install-kernel.sh $< # Generated files to be removed upon make clean -clean-files := vmlinux* uImage uImage.srec +clean-files := vmlinux.elf vmlinux.bin vmlinux.gz uImage uImage.srec
Signature · 1 line
1.4.1.1
PATCH 2/8 AVR32: Silence some compile warnings
Silence a few compile warnings which are basically harmless, but easy to fix.
--- arch/avr32/kernel/kprobes.c | 2 +- arch/avr32/kernel/module.c | 4 ++-- arch/avr32/kernel/ptrace.c | 2 +- arch/avr32/mm/init.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
arch/avr32/kernel/kprobes.c +1 -1
@@ -109,7 +109,7 @@ static int __kprobes kprobe_handler(struvoid *addr = (void *)regs->pc;int ret =0 ; -pr_debug ("kprobe_handler: kprobe_running=%d\n" , +pr_debug ("kprobe_handler: kprobe_running=%p\n" ,kprobe_running ());/*
arch/avr32/kernel/module.c +2 -2
@@ -263,7 +263,7 @@ int apply_relocate_add(Elf32_Shdr *sechd* value of PC. Just subtract the value of * GOT, and we're done. */ -pr_debug ("GOTPC: PC=0x%lx, got_offset=0x%lx, core=0x%p\n" , +pr_debug ("GOTPC: PC=0x%x, got_offset=0x%lx, core=0x%p\n" , relocation, module->arch.got_offset, module->module_core); relocation -= ((unsigned long)module->module_core
@@ -282,7 +282,7 @@ int apply_relocate_add(Elf32_Shdr *sechd && (relocation & 0xffff0000) != 0xffff0000)return reloc_overflow (module,"R_AVR32_GOT16S" , relocation); -pr_debug ("GOT reloc @ 0x%lx -> %lu\n" , +pr_debug ("GOT reloc @ 0x%x -> %u\n" , rel->r_offset, relocation); value = *location; value = ((value & 0xffff0000)
arch/avr32/kernel/ptrace.c +1 -1
@@ -157,7 +157,7 @@ long arch_ptrace(struct task_struct *chiunsigned long tmp;int ret; -pr_debug ("arch_ptrace(%ld, %ld, %#lx, %#lx)\n" , +pr_debug ("arch_ptrace(%ld, %d, %#lx, %#lx)\n" , request, child->pid, addr, data);pr_debug ("ptrace: Enabling monitor mode...\n" );
arch/avr32/mm/init.c +1 -1
@@ -206,7 +206,7 @@ void __init setup_bootmem(void)if (mem_ramdisk) {#ifdef CONFIG_BLK_DEV_INITRD - initrd_start =__va (mem_ramdisk->addr); + initrd_start = (unsigned long )__va (mem_ramdisk->addr); initrd_end = initrd_start + mem_ramdisk->size;print_memory_map ("RAMDISK images" , mem_ramdisk);
Signature · 1 line
1.4.1.1
PATCH 3/8 AVR32: Don't try to iounmap P2 segment addresses
While ioremap() will happily map a physical address through the P2 (uncached) segment when appropriate, iounmap() doesn't know how to handle those mappings.
This patch makes iounmap() do the right thing, i.e. nothing, for such mappings.
--- arch/avr32/mm/ioremap.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/avr32/mm/ioremap.c +2 -0
@@ -77,6 +77,8 @@ void __iounmap(void __iomem *addr)if ((unsigned long )addr >=P4SEG )return ; +if (PXSEG (addr) ==P2SEG ) +return ; p =remove_vm_area ((void *)(PAGE_MASK & (unsigned long __force )addr));if (unlikely (!p)) {
Signature · 1 line
1.4.1.1
PATCH 4/8 AVR32: Fix oversize immediates in atomic.h
When calling e.g. atomic_sub_return with a large constant, the compiler may output an immediate that is too large for the sub instruction in the middle of the loop.
Fix this by explicitly specifying the number of bits allowed in the constraint. Also stop atomic_add_return() and friends from falling back to their respective "sub" variants if the constant is too large to fit in an immediate.
--- include/asm-avr32/atomic.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
include/asm-avr32/atomic.h +4 -4
@@ -41,7 +41,7 @@ static inline int atomic_sub_return(int" stcond %1, %0\n" " brne 1b" : "=&r"(result), "=o"(v->counter) - : "m"(v->counter), "ir"(i) + : "m"(v->counter), "rKs21"(i) : "cc"); return result;
@@ -58,7 +58,7 @@ static inline int atomic_add_return(int {int result; -if (__builtin_constant_p (i)) +if (__builtin_constant_p (i) && (i >=-1048575 ) && (i <=1048576 )) result =atomic_sub_return (-i, v);else asm volatile(
@@ -101,7 +101,7 @@ static inline int atomic_sub_unless(atom" mov %1, 1\n" "1:" : "=&r"(tmp), "=&r"(result), "=o"(v->counter) - : "m"(v->counter), "ir"(a), "ir"(u) + : "m"(v->counter), "rKs21"(a), "rKs21"(u) : "cc", "memory"); return result;
@@ -121,7 +121,7 @@ static inline int atomic_add_unless(atom {int tmp, result; -if (__builtin_constant_p (a)) +if (__builtin_constant_p (a) && (a >=-1048575 ) && (a <=1048576 )) result =atomic_sub_unless (v, -a, u);else { result =0 ;
Signature · 1 line
1.4.1.1
PATCH 5/8 AVR32: add io{read,write}{8,16,32}{be,} support
From: Ben Nizette <[email protected]>
A number of new drivers require io{read,write}{8,16,32}{be,} family of io operations. These are provided for the AVR32 by this patch in the form of a series of macros.
Access to the (memory mapped) io space through these macros is defined to be little endian only as little endian devices (such as PCI) are the main consumer of IO access. If high speed access is required, io{read,write}{16,32}be macros are supplied to perform native big endian access to this io space.
--- include/asm-avr32/io.h | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-)
include/asm-avr32/io.h +33 -0
@@ -76,6 +76,39 @@ #define readsb(p, d, l) __raw_readsb((u#define readsw (p, d, l) __raw_readsw((unsigned int)p, d, l)#define readsl (p, d, l) __raw_readsl((unsigned int)p, d, l) + +/* +* io{read,write}{8,16,32} macros in both le (for PCI style consumers) and native be +*/ +#ifndef ioread8 + +#define ioread8 (p) ({ unsigned int __v = __raw_readb(p); __v; }) + +#define ioread16 (p) ({ unsigned int __v = le16_to_cpu(__raw_readw(p)); __v; }) +#define ioread16be (p) ({ unsigned int __v = be16_to_cpu(__raw_readw(p)); __v; }) + +#define ioread32 (p) ({ unsigned int __v = le32_to_cpu(__raw_readl(p)); __v; }) +#define ioread32be (p) ({ unsigned int __v = be32_to_cpu(__raw_readl(p)); __v; }) + +#define iowrite8 (v,p) __raw_writeb(v, p) + +#define iowrite16 (v,p) __raw_writew(cpu_to_le16(v), p) +#define iowrite16be (v,p) __raw_writew(cpu_to_be16(v), p) + +#define iowrite32 (v,p) __raw_writel(cpu_to_le32(v), p) +#define iowrite32be (v,p) __raw_writel(cpu_to_be32(v), p) + +#define ioread8_rep (p,d,c) __raw_readsb(p,d,c) +#define ioread16_rep (p,d,c) __raw_readsw(p,d,c) +#define ioread32_rep (p,d,c) __raw_readsl(p,d,c) + +#define iowrite8_rep (p,s,c) __raw_writesb(p,s,c) +#define iowrite16_rep (p,s,c) __raw_writesw(p,s,c) +#define iowrite32_rep (p,s,c) __raw_writesl(p,s,c) + +#endif + +/* * These two are only here because ALSA _thinks_ it needs them... */
Signature · 1 line
1.4.1.1
PATCH 6/8 AVR32: Implement and export __raw_{read,write}s[bwl]
Implement __raw_readsb and __raw_writesb. Export __raw_reads[bwl] and __raw_writes[bwl] for use by modules.
--- arch/avr32/kernel/avr32_ksyms.c | 9 +++++++ arch/avr32/lib/Makefile | 1 + arch/avr32/lib/io-readsb.S | 47 +++++++++++++++++++++++++++++++++++ arch/avr32/lib/io-writesb.S | 52 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 0 deletions(-)
arch/avr32/kernel/avr32_ksyms.c +9 -0
@@ -7,6 +7,7 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include <linux/io.h> #include <linux/module.h> #include <asm/checksum.h>
@@ -53,3 +54,11 @@ EXPORT_SYMBOL(find_next_zero_bit);EXPORT_SYMBOL (find_first_bit);EXPORT_SYMBOL (find_next_bit);EXPORT_SYMBOL (generic_find_next_zero_le_bit); + +/* I/O primitives (lib/io-*.S) */ +EXPORT_SYMBOL (__raw_readsb); +EXPORT_SYMBOL (__raw_readsw); +EXPORT_SYMBOL (__raw_readsl); +EXPORT_SYMBOL (__raw_writesb); +EXPORT_SYMBOL (__raw_writesw); +EXPORT_SYMBOL (__raw_writesl);
arch/avr32/lib/Makefile +1 -0
@@ -7,4 +7,5 @@ lib-y += strncpy_from_user.o strnlen_use lib-y += delay.o memset.o memcpy.o findbit.o lib-y += csum_partial.o csum_partial_copy_generic.o lib-y += io-readsw.o io-readsl.o io-writesw.o io-writesl.o +lib-y += io-readsb.o io-writesb.o lib-y += __avr32_lsl64.o __avr32_lsr64.o __avr32_asr64.o
arch/avr32/lib/io-readsb.S new file +47 -0
47 lines not on this page · raw message
arch/avr32/lib/io-writesb.S new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
1.4.1.1
PATCH 7/8 AVR32: Use __raw MMIO access for internal peripherals
The read[bwl] and write[bwl] functions are meant for accessing PCI devices. How this is achieved on AVR32 is unknown, as there are no systems with a PCI bridge available yet.
On-chip peripheral access, however, should not depend on how we end up implementing PCI access, so using __raw_read[bwl]/__raw_write[bwl] is the right thing to do for on-chip peripherals. This patch converts the drivers for the static memory controller, interrupt controller, PIO controller and system manager to use __raw MMIO access.
--- arch/avr32/mach-at32ap/hsmc.h | 4 ++-- arch/avr32/mach-at32ap/intc.h | 6 ++++-- arch/avr32/mach-at32ap/pio.h | 6 ++++-- arch/avr32/mach-at32ap/sm.h | 6 ++++-- 4 files changed, 14 insertions(+), 8 deletions(-)
arch/avr32/mach-at32ap/hsmc.h +2 -2
@@ -120,8 +120,8 @@ #define HSMC_BFINS(name,value,old) \/* Register access macros */ #define hsmc_readl (port,reg) \ - readl((port)->regs + HSMC_##reg) + __raw_readl((port)->regs + HSMC_##reg)#define hsmc_writel (port,reg,value) \ - writel((value), (port)->regs + HSMC_##reg) + __raw_writel((value), (port)->regs + HSMC_##reg)#endif /* __ASM_AVR32_HSMC_H__ */
arch/avr32/mach-at32ap/intc.h +4 -2
@@ -321,7 +321,9 @@ #define INTC_BIT(name) (1#define INTC_MKBF (name, value) (((value) & ((1 << INTC_##name##_SIZE) - 1)) << INTC_##name##_OFFSET)#define INTC_GETBF (name, value) (((value) >> INTC_##name##_OFFSET) & ((1 << INTC_##name##_SIZE) - 1)) -#define intc_readl (port,reg) readl((port)->regs + INTC_##reg) -#define intc_writel (port,reg,value) writel((value), (port)->regs + INTC_##reg) +#define intc_readl (port,reg) \ + __raw_readl((port)->regs + INTC_##reg) +#define intc_writel (port,reg,value) \ + __raw_writel((value), (port)->regs + INTC_##reg)#endif /* __ASM_AVR32_PERIHP_INTC_H__ */
arch/avr32/mach-at32ap/pio.h +4 -2
@@ -170,8 +170,10 @@ #define PIO_BFEXT(name,value)#define PIO_BFINS (name,value,old) (((old) & ~(((1 << PIO_##name##_SIZE) - 1) << PIO_##name##_OFFSET)) | PIO_BF(name,value))/* Register access macros */ -#define pio_readl (port,reg) readl((port)->regs + PIO_##reg) -#define pio_writel (port,reg,value) writel((value), (port)->regs + PIO_##reg) +#define pio_readl (port,reg) \ + __raw_readl((port)->regs + PIO_##reg) +#define pio_writel (port,reg,value) \ + __raw_writel((value), (port)->regs + PIO_##reg)void at32_init_pio (struct platform_device *pdev);
arch/avr32/mach-at32ap/sm.h +4 -2
@@ -234,7 +234,9 @@ #define SM_BFEXT(name,value)#define SM_BFINS (name,value,old) (((old) & ~(((1 << SM_##name##_SIZE) - 1) << SM_##name##_OFFSET)) | SM_BF(name,value))/* Register access macros */ -#define sm_readl (port,reg) readl((port)->regs + SM_##reg) -#define sm_writel (port,reg,value) writel((value), (port)->regs + SM_##reg) +#define sm_readl (port,reg) \ + __raw_readl((port)->regs + SM_##reg) +#define sm_writel (port,reg,value) \ + __raw_writel((value), (port)->regs + SM_##reg)#endif /* __ASM_AVR32_SM_H__ */
Signature · 1 line
1.4.1.1
PATCH 8/8 AVR32: Update defconfig
Sync atstk1002_defconfig with latest git, turn off non-existent drivers and enable a few more userspace-visible options like SysV IPC and inotify support.
--- arch/avr32/configs/atstk1002_defconfig | 253 ++++++++++++++++++++------------ 1 files changed, 159 insertions(+), 94 deletions(-)
arch/avr32/configs/atstk1002_defconfig +159 -94
@@ -1,13 +1,14 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.18-rc1 -# Tue Jul 11 12:41:36 2006 +# Linux kernel version: 2.6.19-rc2 +# Fri Oct 20 11:52:37 2006 # CONFIG_AVR32=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_GENERIC_TIME=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
@@ -25,16 +26,23 @@ # CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SWAP=y -# CONFIG_SYSVIPC is not set -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -# CONFIG_AUDIT is not set +CONFIG_SYSVIPC=y +# CONFIG_IPC_NS is not set +CONFIG_POSIX_MQUEUE=y +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_BSD_PROCESS_ACCT_V3=y +CONFIG_TASKSTATS=y +CONFIG_TASK_DELAY_ACCT=y +# CONFIG_UTS_NS is not set +CONFIG_AUDIT=y # CONFIG_IKCONFIG is not set -# CONFIG_RELAY is not set +CONFIG_RELAY=y CONFIG_INITRAMFS_SOURCE="" CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_TASK_XACCT is not set +CONFIG_SYSCTL=y CONFIG_EMBEDDED=y +# CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -43,14 +51,15 @@ CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y # CONFIG_BASE_FULL is not set -# CONFIG_FUTEX is not set -# CONFIG_EPOLL is not set +CONFIG_FUTEX=y +CONFIG_EPOLL=y CONFIG_SHMEM=y -# CONFIG_SLAB is not set -# CONFIG_VM_EVENT_COUNTERS is not set +CONFIG_SLAB=y +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=1 -CONFIG_SLOB=y +# CONFIG_SLOB is not set # # Loadable module support
@@ -65,6 +74,7 @@ # CONFIG_KMOD is not set # # Block layer # +CONFIG_BLOCK=y # CONFIG_BLK_DEV_IO_TRACE is not set #
@@ -166,10 +176,12 @@ # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set -CONFIG_TCP_CONG_BIC=y +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_IPV6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set
@@ -199,7 +211,6 @@ # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set
@@ -212,7 +223,6 @@ # # Network testing # # CONFIG_NET_PKTGEN is not set -# CONFIG_NET_TCPPROBE is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set
@@ -239,7 +249,84 @@ # CONFIG_CONNECTOR is not set # # Memory Technology Devices (MTD) # -# CONFIG_MTD is not set +CONFIG_MTD=y +# CONFIG_MTD_DEBUG is not set +# CONFIG_MTD_CONCAT is not set +CONFIG_MTD_PARTITIONS=y +# CONFIG_MTD_REDBOOT_PARTS is not set +CONFIG_MTD_CMDLINE_PARTS=y + +# +# User Modules And Translation Layers +# +CONFIG_MTD_CHAR=y +CONFIG_MTD_BLOCK=y +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set + +# +# RAM/ROM/Flash chip drivers +# +CONFIG_MTD_CFI=y +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_GEN_PROBE=y +# CONFIG_MTD_CFI_ADV_OPTIONS is not set +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set +# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CFI_I4 is not set +# CONFIG_MTD_CFI_I8 is not set +# CONFIG_MTD_CFI_INTELEXT is not set +CONFIG_MTD_CFI_AMDSTD=y +# CONFIG_MTD_CFI_STAA is not set +CONFIG_MTD_CFI_UTIL=y +# CONFIG_MTD_RAM is not set +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set +# CONFIG_MTD_OBSOLETE_CHIPS is not set + +# +# Mapping drivers for chip access +# +# CONFIG_MTD_COMPLEX_MAPPINGS is not set +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_START=0x8000000 +CONFIG_MTD_PHYSMAP_LEN=0x0 +CONFIG_MTD_PHYSMAP_BANKWIDTH=2 +# CONFIG_MTD_PLATRAM is not set + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +# CONFIG_MTD_BLOCK2MTD is not set + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOC2000 is not set +# CONFIG_MTD_DOC2001 is not set +# CONFIG_MTD_DOC2001PLUS is not set + +# +# NAND Flash Device Drivers +# +# CONFIG_MTD_NAND is not set + +# +# OneNAND Flash Device Drivers +# +# CONFIG_MTD_ONENAND is not set # # Parallel port support
@@ -260,11 +347,18 @@ CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 +CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 CONFIG_BLK_DEV_INITRD=y # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # +# Misc devices +# +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set + +# # ATA/ATAPI/MFM/RLL support # # CONFIG_IDE is not set
@@ -274,6 +368,12 @@ # SCSI device support # # CONFIG_RAID_ATTRS is not set # CONFIG_SCSI is not set +# CONFIG_SCSI_NETLINK is not set + +# +# Serial ATA (prod) and Parallel ATA (experimental) drivers +# +# CONFIG_ATA is not set # # Multi-device support (RAID and LVM)
@@ -305,14 +405,11 @@ CONFIG_TUN=m # # PHY device support # -# CONFIG_PHYLIB is not set # # Ethernet (10 or 100Mbit) # -CONFIG_NET_ETHERNET=y -CONFIG_MII=y -CONFIG_MACB=y +# CONFIG_NET_ETHERNET is not set # # Ethernet (1000 Mbit)
@@ -341,10 +438,11 @@ # CONFIG_PPP_FILTER is not set CONFIG_PPP_ASYNC=m # CONFIG_PPP_SYNC_TTY is not set CONFIG_PPP_DEFLATE=m -# CONFIG_PPP_BSDCOMP is not set +CONFIG_PPP_BSDCOMP=m # CONFIG_PPP_MPPE is not set # CONFIG_PPPOE is not set # CONFIG_SLIP is not set +CONFIG_SLHC=m # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set
@@ -417,7 +515,6 @@ # # TPM devices # # CONFIG_TCG_TPM is not set -# CONFIG_TELCLOCK is not set # # I2C support
@@ -427,23 +524,13 @@ # CONFIG_I2C is not set # # SPI support # -CONFIG_SPI=y -# CONFIG_SPI_DEBUG is not set -CONFIG_SPI_MASTER=y - -# -# SPI Master Controller Drivers -# -CONFIG_SPI_ATMEL=m -# CONFIG_SPI_BITBANG is not set - -# -# SPI Protocol Masters -# +# CONFIG_SPI is not set +# CONFIG_SPI_MASTER is not set # # Dallas's 1-wire bus # +# CONFIG_W1 is not set # # Hardware Monitoring support
@@ -452,14 +539,9 @@ # CONFIG_HWMON is not set # CONFIG_HWMON_VID is not set # -# Misc devices -# - -# # Multimedia devices # # CONFIG_VIDEO_DEV is not set -CONFIG_VIDEO_V4L2=y # # Digital Video Broadcasting Devices
@@ -470,28 +552,8 @@ # # Graphics support # # CONFIG_FIRMWARE_EDID is not set -CONFIG_FB=m -CONFIG_FB_CFB_FILLRECT=m -CONFIG_FB_CFB_COPYAREA=m -CONFIG_FB_CFB_IMAGEBLIT=m -# CONFIG_FB_MACMODES is not set -# CONFIG_FB_BACKLIGHT is not set -# CONFIG_FB_MODE_HELPERS is not set -# CONFIG_FB_TILEBLITTING is not set -CONFIG_FB_SIDSA=m -CONFIG_FB_SIDSA_DEFAULT_BPP=24 -# CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_VIRTUAL is not set - -# -# Logo configuration -# -# CONFIG_LOGO is not set -CONFIG_BACKLIGHT_LCD_SUPPORT=y -# CONFIG_BACKLIGHT_CLASS_DEVICE is not set -CONFIG_LCD_CLASS_DEVICE=m -CONFIG_LCD_DEVICE=y -CONFIG_LCD_LTV350QV=m +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Sound
@@ -561,18 +623,21 @@ # # # File systems # -CONFIG_EXT2_FS=y +CONFIG_EXT2_FS=m # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set # CONFIG_EXT3_FS is not set +# CONFIG_EXT4DEV_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set CONFIG_MINIX_FS=m -CONFIG_ROMFS_FS=m -# CONFIG_INOTIFY is not set +# CONFIG_ROMFS_FS is not set +CONFIG_INOTIFY=y +CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set # CONFIG_DNOTIFY is not set # CONFIG_AUTOFS_FS is not set
@@ -600,8 +665,10 @@ # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y +CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y CONFIG_CONFIGFS_FS=m
@@ -616,6 +683,16 @@ # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set +# CONFIG_JFFS_FS is not set +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_FS_DEBUG=0 +CONFIG_JFFS2_FS_WRITEBUFFER=y +# CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set +# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set +CONFIG_JFFS2_ZLIB=y +CONFIG_JFFS2_RTIME=y +# CONFIG_JFFS2_RUBIN is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set
@@ -626,26 +703,10 @@ # CONFIG_UFS_FS is not set # # Network File Systems # -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -# CONFIG_NFS_V3_ACL is not set -# CONFIG_NFS_V4 is not set -# CONFIG_NFS_DIRECTIO is not set +# CONFIG_NFS_FS is not set # CONFIG_NFSD is not set -CONFIG_ROOT_NFS=y -CONFIG_LOCKD=y -CONFIG_LOCKD_V4=y -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=y -# CONFIG_RPCSEC_GSS_KRB5 is not set -# CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_SMB_FS is not set -CONFIG_CIFS=m -# CONFIG_CIFS_STATS is not set -# CONFIG_CIFS_WEAK_PW_HASH is not set -# CONFIG_CIFS_XATTR is not set -# CONFIG_CIFS_DEBUG2 is not set -# CONFIG_CIFS_EXPERIMENTAL is not set +# CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set
@@ -665,7 +726,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=m # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set -CONFIG_NLS_CODEPAGE_850=m +# CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set
@@ -705,13 +766,17 @@ # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_PRINTK_TIME=y +# CONFIG_PRINTK_TIME is not set +CONFIG_ENABLE_MUST_CHECK=y CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_KERNEL=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_SCHEDSTATS is not set +# CONFIG_DEBUG_SLAB is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_RWSEMS is not set
@@ -722,11 +787,13 @@ CONFIG_DEBUG_BUGVERBOSE=y # CONFIG_DEBUG_INFO is not set CONFIG_DEBUG_FS=y # CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_LIST is not set CONFIG_FRAME_POINTER=y # CONFIG_UNWIND_INFO is not set CONFIG_FORCED_INLINING=y +# CONFIG_HEADERS_CHECK is not set # CONFIG_RCU_TORTURE_TEST is not set -CONFIG_KPROBES=y +# CONFIG_KPROBES is not set # # Security options
@@ -740,15 +807,13 @@ # # CONFIG_CRYPTO is not set # -# Hardware crypto devices -# - -# # Library routines # CONFIG_CRC_CCITT=m # CONFIG_CRC16 is not set -CONFIG_CRC32=m +CONFIG_CRC32=y # CONFIG_LIBCRC32C is not set -CONFIG_ZLIB_INFLATE=m -CONFIG_ZLIB_DEFLATE=m +CONFIG_AUDIT_GENERIC=y +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_PLIST=y
Signature · 1 line
1.4.1.1