diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mx1ads.c | 2 | ||||
-rw-r--r-- | arch/avr32/boards/atngw100/flash.c | 5 | ||||
-rw-r--r-- | arch/avr32/boards/atngw100/setup.c | 14 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 1 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/flash.c | 5 | ||||
-rw-r--r-- | arch/avr32/kernel/Makefile | 5 | ||||
-rw-r--r-- | arch/avr32/kernel/entry-avr32b.S | 26 | ||||
-rw-r--r-- | arch/avr32/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/avr32/kernel/vmlinux.lds.S (renamed from arch/avr32/kernel/vmlinux.lds.c) | 9 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap7000.c | 74 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/clock.c | 116 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/hsmc.c | 129 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/pio.c | 4 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/pm.h | 8 | ||||
-rw-r--r-- | arch/avr32/mm/init.c | 12 | ||||
-rw-r--r-- | arch/blackfin/Kconfig | 365 | ||||
-rw-r--r-- | arch/blackfin/configs/BF533-EZKIT_defconfig | 243 | ||||
-rw-r--r-- | arch/blackfin/configs/BF533-STAMP_defconfig | 280 | ||||
-rw-r--r-- | arch/blackfin/configs/BF537-STAMP_defconfig | 296 | ||||
-rw-r--r-- | arch/blackfin/configs/BF548-EZKIT_defconfig | 480 | ||||
-rw-r--r-- | arch/blackfin/configs/BF561-EZKIT_defconfig | 223 | ||||
-rw-r--r-- | arch/blackfin/configs/PNAV-10_defconfig | 296 | ||||
-rw-r--r-- | arch/blackfin/kernel/Makefile | 5 | ||||
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 81 | ||||
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 549 | ||||
-rw-r--r-- | arch/blackfin/kernel/bfin_ksyms.c | 1 | ||||
-rw-r--r-- | arch/blackfin/kernel/cacheinit.c | 5 | ||||
-rw-r--r-- | arch/blackfin/kernel/cplbinit.c | 7 | ||||
-rw-r--r-- | arch/blackfin/kernel/early_printk.c | 214 | ||||
-rw-r--r-- | arch/blackfin/kernel/irqchip.c | 12 | ||||
-rw-r--r-- | arch/blackfin/kernel/process.c | 28 | ||||
-rw-r--r-- | arch/blackfin/kernel/ptrace.c | 24 | ||||
-rw-r--r-- | arch/blackfin/kernel/reboot.c | 78 | ||||
-rw-r--r-- | arch/blackfin/kernel/setup.c | 90 | ||||
-rw-r--r-- | arch/blackfin/kernel/traps.c | 110 | ||||
-rw-r--r-- | arch/blackfin/kernel/vmlinux.lds.S | 48 | ||||
-rw-r--r-- | arch/blackfin/lib/memcmp.S | 2 | ||||
-rw-r--r-- | arch/blackfin/lib/memcpy.S | 2 | ||||
-rw-r--r-- | arch/blackfin/lib/memmove.S | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 81 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 91 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 119 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/head.S | 344 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/Kconfig | 27 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537.c | 87 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 397 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 53 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 142 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/head.S | 128 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/Kconfig | 11 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/Makefile | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 477 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/gpio.c | 323 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/head.S | 156 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/cm_bf561.c | 84 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 82 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/head.S | 102 | ||||
-rw-r--r-- | arch/blackfin/mach-common/Makefile | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-common/arch_checks.c | 60 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cache.S | 8 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cacheinit.S | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cplbhdlr.S | 8 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cplbmgr.S | 56 | ||||
-rw-r--r-- | arch/blackfin/mach-common/dpmc.S | 54 | ||||
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 268 | ||||
-rw-r--r-- | arch/blackfin/mach-common/interrupt.S | 56 | ||||
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-dc.c | 13 | ||||
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-sc.c | 17 | ||||
-rw-r--r-- | arch/blackfin/mach-common/lock.S | 24 | ||||
-rw-r--r-- | arch/blackfin/mm/init.c | 2 | ||||
-rw-r--r-- | arch/blackfin/oprofile/op_blackfin.h | 8 | ||||
-rw-r--r-- | arch/i386/Kconfig | 8 | ||||
-rw-r--r-- | arch/i386/Makefile | 72 | ||||
-rw-r--r-- | arch/i386/kernel/Makefile | 88 | ||||
-rw-r--r-- | arch/i386/kernel/early_printk.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/tsc_sync.c | 1 | ||||
-rw-r--r-- | arch/i386/lib/Makefile | 11 | ||||
-rw-r--r-- | arch/i386/mach-generic/Makefile | 7 | ||||
-rw-r--r-- | arch/i386/mm/Makefile | 10 | ||||
-rw-r--r-- | arch/ia64/ia32/audit.c | 2 | ||||
-rw-r--r-- | arch/um/sys-i386/sys_call_table.S | 2 | ||||
-rw-r--r-- | arch/um/sys-x86_64/syscall_table.c | 4 | ||||
-rw-r--r-- | arch/x86/boot/.gitignore (renamed from arch/i386/boot/.gitignore) | 0 | ||||
-rw-r--r-- | arch/x86/boot/Makefile (renamed from arch/i386/boot/Makefile) | 2 | ||||
-rw-r--r-- | arch/x86/boot/a20.c (renamed from arch/i386/boot/a20.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/apm.c (renamed from arch/i386/boot/apm.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/bitops.h (renamed from arch/i386/boot/bitops.h) | 0 | ||||
-rw-r--r-- | arch/x86/boot/boot.h (renamed from arch/i386/boot/boot.h) | 0 | ||||
-rw-r--r-- | arch/x86/boot/cmdline.c (renamed from arch/i386/boot/cmdline.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/code16gcc.h (renamed from arch/i386/boot/code16gcc.h) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/.gitignore (renamed from arch/i386/boot/compressed/.gitignore) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/boot/compressed/Makefile_32 (renamed from arch/i386/boot/compressed/Makefile) | 8 | ||||
-rw-r--r-- | arch/x86/boot/compressed/Makefile_64 (renamed from arch/x86_64/boot/compressed/Makefile) | 8 | ||||
-rw-r--r-- | arch/x86/boot/compressed/head_32.S (renamed from arch/i386/boot/compressed/head.S) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/head_64.S (renamed from arch/x86_64/boot/compressed/head.S) | 2 | ||||
-rw-r--r-- | arch/x86/boot/compressed/misc_32.c (renamed from arch/i386/boot/compressed/misc.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/misc_64.c (renamed from arch/x86_64/boot/compressed/misc.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/relocs.c (renamed from arch/i386/boot/compressed/relocs.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_32.lds (renamed from arch/i386/boot/compressed/vmlinux.lds) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_32.scr (renamed from arch/i386/boot/compressed/vmlinux.scr) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_64.lds (renamed from arch/x86_64/boot/compressed/vmlinux.lds) | 0 | ||||
-rw-r--r-- | arch/x86/boot/compressed/vmlinux_64.scr (renamed from arch/x86_64/boot/compressed/vmlinux.scr) | 0 | ||||
-rw-r--r-- | arch/x86/boot/copy.S (renamed from arch/i386/boot/copy.S) | 0 | ||||
-rw-r--r-- | arch/x86/boot/cpu.c (renamed from arch/i386/boot/cpu.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/cpucheck.c (renamed from arch/i386/boot/cpucheck.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/edd.c (renamed from arch/i386/boot/edd.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/header.S (renamed from arch/i386/boot/header.S) | 0 | ||||
-rw-r--r-- | arch/x86/boot/install.sh (renamed from arch/i386/boot/install.sh) | 0 | ||||
-rw-r--r-- | arch/x86/boot/main.c (renamed from arch/i386/boot/main.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/mca.c (renamed from arch/i386/boot/mca.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/memory.c (renamed from arch/i386/boot/memory.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/mtools.conf.in (renamed from arch/i386/boot/mtools.conf.in) | 0 | ||||
-rw-r--r-- | arch/x86/boot/pm.c (renamed from arch/i386/boot/pm.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/pmjump.S (renamed from arch/i386/boot/pmjump.S) | 0 | ||||
-rw-r--r-- | arch/x86/boot/printf.c (renamed from arch/i386/boot/printf.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/setup.ld (renamed from arch/i386/boot/setup.ld) | 0 | ||||
-rw-r--r-- | arch/x86/boot/string.c (renamed from arch/i386/boot/string.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/tools/.gitignore (renamed from arch/i386/boot/tools/.gitignore) | 0 | ||||
-rw-r--r-- | arch/x86/boot/tools/build.c (renamed from arch/i386/boot/tools/build.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/tty.c (renamed from arch/i386/boot/tty.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/version.c (renamed from arch/i386/boot/version.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/vesa.h (renamed from arch/i386/boot/vesa.h) | 0 | ||||
-rw-r--r-- | arch/x86/boot/video-bios.c (renamed from arch/i386/boot/video-bios.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/video-vesa.c (renamed from arch/i386/boot/video-vesa.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/video-vga.c (renamed from arch/i386/boot/video-vga.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/video.c (renamed from arch/i386/boot/video.c) | 0 | ||||
-rw-r--r-- | arch/x86/boot/video.h (renamed from arch/i386/boot/video.h) | 0 | ||||
-rw-r--r-- | arch/x86/boot/voyager.c (renamed from arch/i386/boot/voyager.c) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/crypto/Makefile_32 (renamed from arch/i386/crypto/Makefile) | 6 | ||||
-rw-r--r-- | arch/x86/crypto/Makefile_64 (renamed from arch/x86_64/crypto/Makefile) | 6 | ||||
-rw-r--r-- | arch/x86/crypto/aes-i586-asm_32.S (renamed from arch/i386/crypto/aes-i586-asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/aes-x86_64-asm_64.S (renamed from arch/x86_64/crypto/aes-x86_64-asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/aes_32.c (renamed from arch/i386/crypto/aes.c) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/aes_64.c (renamed from arch/x86_64/crypto/aes.c) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/twofish-i586-asm_32.S (renamed from arch/i386/crypto/twofish-i586-asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/twofish-x86_64-asm_64.S (renamed from arch/x86_64/crypto/twofish-x86_64-asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/twofish_32.c (renamed from arch/i386/crypto/twofish.c) | 0 | ||||
-rw-r--r-- | arch/x86/crypto/twofish_64.c (renamed from arch/x86_64/crypto/twofish.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/Makefile (renamed from arch/x86_64/ia32/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/audit.c (renamed from arch/x86_64/ia32/audit.c) | 2 | ||||
-rw-r--r-- | arch/x86/ia32/fpu32.c (renamed from arch/x86_64/ia32/fpu32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ia32_aout.c (renamed from arch/x86_64/ia32/ia32_aout.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ia32_binfmt.c (renamed from arch/x86_64/ia32/ia32_binfmt.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ia32_signal.c (renamed from arch/x86_64/ia32/ia32_signal.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ia32entry.S (renamed from arch/x86_64/ia32/ia32entry.S) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ipc32.c (renamed from arch/x86_64/ia32/ipc32.c) | 2 | ||||
-rw-r--r-- | arch/x86/ia32/mmap32.c (renamed from arch/x86_64/ia32/mmap32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/ptrace32.c (renamed from arch/x86_64/ia32/ptrace32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/sys_ia32.c (renamed from arch/x86_64/ia32/sys_ia32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/syscall32.c (renamed from arch/x86_64/ia32/syscall32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/syscall32_syscall.S (renamed from arch/x86_64/ia32/syscall32_syscall.S) | 4 | ||||
-rw-r--r-- | arch/x86/ia32/tls32.c (renamed from arch/x86_64/ia32/tls32.c) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/vsyscall-sigreturn.S (renamed from arch/x86_64/ia32/vsyscall-sigreturn.S) | 2 | ||||
-rw-r--r-- | arch/x86/ia32/vsyscall-syscall.S (renamed from arch/x86_64/ia32/vsyscall-syscall.S) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/vsyscall-sysenter.S (renamed from arch/x86_64/ia32/vsyscall-sysenter.S) | 0 | ||||
-rw-r--r-- | arch/x86/ia32/vsyscall.lds (renamed from arch/x86_64/ia32/vsyscall.lds) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/.gitignore (renamed from arch/i386/kernel/.gitignore) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/kernel/Makefile_32 | 86 | ||||
-rw-r--r-- | arch/x86/kernel/Makefile_64 | 54 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/Makefile_32 (renamed from arch/i386/kernel/acpi/Makefile) | 4 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/Makefile_64 | 7 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/boot.c (renamed from arch/i386/kernel/acpi/boot.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/cstate.c (renamed from arch/i386/kernel/acpi/cstate.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/earlyquirk_32.c (renamed from arch/i386/kernel/acpi/earlyquirk.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/processor.c (renamed from arch/i386/kernel/acpi/processor.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/sleep_32.c (renamed from arch/i386/kernel/acpi/sleep.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/sleep_64.c (renamed from arch/x86_64/kernel/acpi/sleep.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/wakeup_32.S (renamed from arch/i386/kernel/acpi/wakeup.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/wakeup_64.S (renamed from arch/x86_64/kernel/acpi/wakeup.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/alternative.c (renamed from arch/i386/kernel/alternative.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/aperture_64.c (renamed from arch/x86_64/kernel/aperture.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/apic_32.c (renamed from arch/i386/kernel/apic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/apic_64.c (renamed from arch/x86_64/kernel/apic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/apm_32.c (renamed from arch/i386/kernel/apm.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/asm-offsets.c | 5 | ||||
-rw-r--r-- | arch/x86/kernel/asm-offsets_32.c (renamed from arch/i386/kernel/asm-offsets.c) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/asm-offsets_64.c (renamed from arch/x86_64/kernel/asm-offsets.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/audit_64.c (renamed from arch/x86_64/kernel/audit.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/bootflag.c (renamed from arch/i386/kernel/bootflag.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/bugs_64.c (renamed from arch/x86_64/kernel/bugs.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/Makefile (renamed from arch/i386/kernel/cpu/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/addon_cpuid_features.c (renamed from arch/i386/kernel/cpu/addon_cpuid_features.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/amd.c (renamed from arch/i386/kernel/cpu/amd.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/bugs.c (renamed from arch/i386/kernel/cpu/bugs.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/centaur.c (renamed from arch/i386/kernel/cpu/centaur.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/common.c (renamed from arch/i386/kernel/cpu/common.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpu.h (renamed from arch/i386/kernel/cpu/cpu.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/Kconfig (renamed from arch/i386/kernel/cpu/cpufreq/Kconfig) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/Makefile (renamed from arch/i386/kernel/cpu/cpufreq/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c (renamed from arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c (renamed from arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/e_powersaver.c (renamed from arch/i386/kernel/cpu/cpufreq/e_powersaver.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/elanfreq.c (renamed from arch/i386/kernel/cpu/cpufreq/elanfreq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/gx-suspmod.c (renamed from arch/i386/kernel/cpu/cpufreq/gx-suspmod.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/longhaul.c (renamed from arch/i386/kernel/cpu/cpufreq/longhaul.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/longhaul.h (renamed from arch/i386/kernel/cpu/cpufreq/longhaul.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/longrun.c (renamed from arch/i386/kernel/cpu/cpufreq/longrun.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/p4-clockmod.c (renamed from arch/i386/kernel/cpu/cpufreq/p4-clockmod.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k6.c (renamed from arch/i386/kernel/cpu/cpufreq/powernow-k6.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k7.c (renamed from arch/i386/kernel/cpu/cpufreq/powernow-k7.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k7.h (renamed from arch/i386/kernel/cpu/cpufreq/powernow-k7.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k8.c (renamed from arch/i386/kernel/cpu/cpufreq/powernow-k8.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k8.h (renamed from arch/i386/kernel/cpu/cpufreq/powernow-k8.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/sc520_freq.c (renamed from arch/i386/kernel/cpu/cpufreq/sc520_freq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c (renamed from arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-ich.c (renamed from arch/i386/kernel/cpu/cpufreq/speedstep-ich.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-lib.c (renamed from arch/i386/kernel/cpu/cpufreq/speedstep-lib.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-lib.h (renamed from arch/i386/kernel/cpu/cpufreq/speedstep-lib.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-smi.c (renamed from arch/i386/kernel/cpu/cpufreq/speedstep-smi.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cyrix.c (renamed from arch/i386/kernel/cpu/cyrix.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/intel.c (renamed from arch/i386/kernel/cpu/intel.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/intel_cacheinfo.c (renamed from arch/i386/kernel/cpu/intel_cacheinfo.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/Makefile (renamed from arch/i386/kernel/cpu/mcheck/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/k7.c (renamed from arch/i386/kernel/cpu/mcheck/k7.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c (renamed from arch/i386/kernel/cpu/mcheck/mce.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.h (renamed from arch/i386/kernel/cpu/mcheck/mce.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/non-fatal.c (renamed from arch/i386/kernel/cpu/mcheck/non-fatal.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/p4.c (renamed from arch/i386/kernel/cpu/mcheck/p4.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/p5.c (renamed from arch/i386/kernel/cpu/mcheck/p5.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/p6.c (renamed from arch/i386/kernel/cpu/mcheck/p6.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/therm_throt.c (renamed from arch/i386/kernel/cpu/mcheck/therm_throt.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/winchip.c (renamed from arch/i386/kernel/cpu/mcheck/winchip.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/Makefile (renamed from arch/i386/kernel/cpu/mtrr/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/amd.c (renamed from arch/i386/kernel/cpu/mtrr/amd.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/centaur.c (renamed from arch/i386/kernel/cpu/mtrr/centaur.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/cyrix.c (renamed from arch/i386/kernel/cpu/mtrr/cyrix.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/generic.c (renamed from arch/i386/kernel/cpu/mtrr/generic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/if.c (renamed from arch/i386/kernel/cpu/mtrr/if.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/main.c (renamed from arch/i386/kernel/cpu/mtrr/main.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/mtrr.h (renamed from arch/i386/kernel/cpu/mtrr/mtrr.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/state.c (renamed from arch/i386/kernel/cpu/mtrr/state.c) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/nexgen.c (renamed from arch/i386/kernel/cpu/nexgen.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/perfctr-watchdog.c (renamed from arch/i386/kernel/cpu/perfctr-watchdog.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/proc.c (renamed from arch/i386/kernel/cpu/proc.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/transmeta.c (renamed from arch/i386/kernel/cpu/transmeta.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/umc.c (renamed from arch/i386/kernel/cpu/umc.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpufreq/Kconfig (renamed from arch/x86_64/kernel/cpufreq/Kconfig) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/cpuid.c (renamed from arch/i386/kernel/cpuid.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/crash_32.c (renamed from arch/i386/kernel/crash.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/crash_64.c (renamed from arch/x86_64/kernel/crash.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/crash_dump_32.c (renamed from arch/i386/kernel/crash_dump.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/crash_dump_64.c (renamed from arch/x86_64/kernel/crash_dump.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/doublefault_32.c (renamed from arch/i386/kernel/doublefault.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/e820_32.c (renamed from arch/i386/kernel/e820.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/e820_64.c (renamed from arch/x86_64/kernel/e820.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/early-quirks_64.c (renamed from arch/x86_64/kernel/early-quirks.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/early_printk.c (renamed from arch/x86_64/kernel/early_printk.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/efi_32.c (renamed from arch/i386/kernel/efi.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/efi_stub_32.S (renamed from arch/i386/kernel/efi_stub.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/entry_32.S (renamed from arch/i386/kernel/entry.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/entry_64.S (renamed from arch/x86_64/kernel/entry.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/genapic_64.c (renamed from arch/x86_64/kernel/genapic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/genapic_flat_64.c (renamed from arch/x86_64/kernel/genapic_flat.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/geode_32.c (renamed from arch/i386/kernel/geode.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/head64.c (renamed from arch/x86_64/kernel/head64.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/head_32.S (renamed from arch/i386/kernel/head.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/head_64.S (renamed from arch/x86_64/kernel/head.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/hpet_32.c (renamed from arch/i386/kernel/hpet.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/hpet_64.c (renamed from arch/x86_64/kernel/hpet.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i386_ksyms_32.c (renamed from arch/i386/kernel/i386_ksyms.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i387_32.c (renamed from arch/i386/kernel/i387.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i387_64.c (renamed from arch/x86_64/kernel/i387.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i8237.c (renamed from arch/i386/kernel/i8237.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i8253_32.c (renamed from arch/i386/kernel/i8253.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i8259_32.c (renamed from arch/i386/kernel/i8259.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/i8259_64.c (renamed from arch/x86_64/kernel/i8259.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/init_task_32.c (renamed from arch/i386/kernel/init_task.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/init_task_64.c (renamed from arch/x86_64/kernel/init_task.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/io_apic_32.c (renamed from arch/i386/kernel/io_apic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/io_apic_64.c (renamed from arch/x86_64/kernel/io_apic.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ioport_32.c (renamed from arch/i386/kernel/ioport.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ioport_64.c (renamed from arch/x86_64/kernel/ioport.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/irq_32.c (renamed from arch/i386/kernel/irq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/irq_64.c (renamed from arch/x86_64/kernel/irq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/k8.c (renamed from arch/x86_64/kernel/k8.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/kprobes_32.c (renamed from arch/i386/kernel/kprobes.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/kprobes_64.c (renamed from arch/x86_64/kernel/kprobes.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ldt_32.c (renamed from arch/i386/kernel/ldt.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ldt_64.c (renamed from arch/x86_64/kernel/ldt.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/machine_kexec_32.c (renamed from arch/i386/kernel/machine_kexec.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/machine_kexec_64.c (renamed from arch/x86_64/kernel/machine_kexec.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mca_32.c (renamed from arch/i386/kernel/mca.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mce_64.c (renamed from arch/x86_64/kernel/mce.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mce_amd_64.c (renamed from arch/x86_64/kernel/mce_amd.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mce_intel_64.c (renamed from arch/x86_64/kernel/mce_intel.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/microcode.c (renamed from arch/i386/kernel/microcode.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/module_32.c (renamed from arch/i386/kernel/module.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/module_64.c (renamed from arch/x86_64/kernel/module.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse_32.c (renamed from arch/i386/kernel/mpparse.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/mpparse_64.c (renamed from arch/x86_64/kernel/mpparse.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/msr.c (renamed from arch/i386/kernel/msr.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/nmi_32.c (renamed from arch/i386/kernel/nmi.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/nmi_64.c (renamed from arch/x86_64/kernel/nmi.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/numaq_32.c (renamed from arch/i386/kernel/numaq.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/paravirt_32.c (renamed from arch/i386/kernel/paravirt.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-calgary_64.c (renamed from arch/x86_64/kernel/pci-calgary.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-dma_32.c (renamed from arch/i386/kernel/pci-dma.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-dma_64.c (renamed from arch/x86_64/kernel/pci-dma.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-gart_64.c (renamed from arch/x86_64/kernel/pci-gart.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-nommu_64.c (renamed from arch/x86_64/kernel/pci-nommu.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pci-swiotlb_64.c (renamed from arch/x86_64/kernel/pci-swiotlb.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pcspeaker.c (renamed from arch/i386/kernel/pcspeaker.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/pmtimer_64.c (renamed from arch/x86_64/kernel/pmtimer.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/process_32.c (renamed from arch/i386/kernel/process.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/process_64.c (renamed from arch/x86_64/kernel/process.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ptrace_32.c (renamed from arch/i386/kernel/ptrace.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/ptrace_64.c (renamed from arch/x86_64/kernel/ptrace.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/quirks.c (renamed from arch/i386/kernel/quirks.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/reboot_32.c (renamed from arch/i386/kernel/reboot.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/reboot_64.c (renamed from arch/x86_64/kernel/reboot.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/reboot_fixups_32.c (renamed from arch/i386/kernel/reboot_fixups.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/relocate_kernel_32.S (renamed from arch/i386/kernel/relocate_kernel.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/relocate_kernel_64.S (renamed from arch/x86_64/kernel/relocate_kernel.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/scx200_32.c (renamed from arch/i386/kernel/scx200.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/setup64.c (renamed from arch/x86_64/kernel/setup64.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/setup_32.c (renamed from arch/i386/kernel/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/setup_64.c (renamed from arch/x86_64/kernel/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/sigframe_32.h (renamed from arch/i386/kernel/sigframe.h) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/signal_32.c (renamed from arch/i386/kernel/signal.c) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/signal_64.c (renamed from arch/x86_64/kernel/signal.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/smp_32.c (renamed from arch/i386/kernel/smp.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/smp_64.c (renamed from arch/x86_64/kernel/smp.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot_32.c (renamed from arch/i386/kernel/smpboot.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot_64.c (renamed from arch/x86_64/kernel/smpboot.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/smpcommon_32.c (renamed from arch/i386/kernel/smpcommon.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/srat_32.c (renamed from arch/i386/kernel/srat.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/stacktrace.c (renamed from arch/x86_64/kernel/stacktrace.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/summit_32.c (renamed from arch/i386/kernel/summit.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/suspend_64.c (renamed from arch/x86_64/kernel/suspend.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/suspend_asm_64.S (renamed from arch/x86_64/kernel/suspend_asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/sys_i386_32.c (renamed from arch/i386/kernel/sys_i386.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/sys_x86_64.c (renamed from arch/x86_64/kernel/sys_x86_64.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/syscall_64.c (renamed from arch/x86_64/kernel/syscall.c) | 4 | ||||
-rw-r--r-- | arch/x86/kernel/syscall_table_32.S (renamed from arch/i386/kernel/syscall_table.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/sysenter_32.c (renamed from arch/i386/kernel/sysenter.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/tce_64.c (renamed from arch/x86_64/kernel/tce.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/time_32.c (renamed from arch/i386/kernel/time.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/time_64.c (renamed from arch/x86_64/kernel/time.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/topology.c (renamed from arch/i386/kernel/topology.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/trampoline_32.S (renamed from arch/i386/kernel/trampoline.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/trampoline_64.S (renamed from arch/x86_64/kernel/trampoline.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/traps_32.c (renamed from arch/i386/kernel/traps.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/traps_64.c (renamed from arch/x86_64/kernel/traps.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/tsc_32.c (renamed from arch/i386/kernel/tsc.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/tsc_64.c (renamed from arch/x86_64/kernel/tsc.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/tsc_sync.c (renamed from arch/x86_64/kernel/tsc_sync.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/verify_cpu_64.S (renamed from arch/x86_64/kernel/verify_cpu.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vm86_32.c (renamed from arch/i386/kernel/vm86.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vmi_32.c (renamed from arch/i386/kernel/vmi.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vmiclock_32.c (renamed from arch/i386/kernel/vmiclock.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 5 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux_32.lds.S (renamed from arch/i386/kernel/vmlinux.lds.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vmlinux_64.lds.S (renamed from arch/x86_64/kernel/vmlinux.lds.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vsmp_64.c (renamed from arch/x86_64/kernel/vsmp.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall-int80_32.S (renamed from arch/i386/kernel/vsyscall-int80.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall-note_32.S (renamed from arch/i386/kernel/vsyscall-note.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall-sigreturn_32.S (renamed from arch/i386/kernel/vsyscall-sigreturn.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall-sysenter_32.S (renamed from arch/i386/kernel/vsyscall-sysenter.S) | 2 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall_32.S (renamed from arch/i386/kernel/vsyscall.S) | 4 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall_32.lds.S (renamed from arch/i386/kernel/vsyscall.lds.S) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall_64.c (renamed from arch/x86_64/kernel/vsyscall.c) | 0 | ||||
-rw-r--r-- | arch/x86/kernel/x8664_ksyms_64.c (renamed from arch/x86_64/kernel/x8664_ksyms.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/lib/Makefile_32 | 11 | ||||
-rw-r--r-- | arch/x86/lib/Makefile_64 | 13 | ||||
-rw-r--r-- | arch/x86/lib/bitops_32.c (renamed from arch/i386/lib/bitops.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/bitops_64.c (renamed from arch/x86_64/lib/bitops.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/bitstr_64.c (renamed from arch/x86_64/lib/bitstr.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/checksum_32.S (renamed from arch/i386/lib/checksum.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/clear_page_64.S (renamed from arch/x86_64/lib/clear_page.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/copy_page_64.S (renamed from arch/x86_64/lib/copy_page.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/copy_user_64.S (renamed from arch/x86_64/lib/copy_user.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/copy_user_nocache_64.S (renamed from arch/x86_64/lib/copy_user_nocache.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/csum-copy_64.S (renamed from arch/x86_64/lib/csum-copy.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/csum-partial_64.c (renamed from arch/x86_64/lib/csum-partial.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/csum-wrappers_64.c (renamed from arch/x86_64/lib/csum-wrappers.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/delay_32.c (renamed from arch/i386/lib/delay.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/delay_64.c (renamed from arch/x86_64/lib/delay.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/getuser_32.S (renamed from arch/i386/lib/getuser.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/getuser_64.S (renamed from arch/x86_64/lib/getuser.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/io_64.c (renamed from arch/x86_64/lib/io.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/iomap_copy_64.S (renamed from arch/x86_64/lib/iomap_copy.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/memcpy_32.c (renamed from arch/i386/lib/memcpy.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/memcpy_64.S (renamed from arch/x86_64/lib/memcpy.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/memmove_64.c (renamed from arch/x86_64/lib/memmove.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/memset_64.S (renamed from arch/x86_64/lib/memset.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/mmx_32.c (renamed from arch/i386/lib/mmx.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/msr-on-cpu.c (renamed from arch/i386/lib/msr-on-cpu.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/putuser_32.S (renamed from arch/i386/lib/putuser.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/putuser_64.S (renamed from arch/x86_64/lib/putuser.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/rwlock_64.S (renamed from arch/x86_64/lib/rwlock.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/semaphore_32.S (renamed from arch/i386/lib/semaphore.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/string_32.c (renamed from arch/i386/lib/string.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/strstr_32.c (renamed from arch/i386/lib/strstr.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/thunk_64.S (renamed from arch/x86_64/lib/thunk.S) | 0 | ||||
-rw-r--r-- | arch/x86/lib/usercopy_32.c (renamed from arch/i386/lib/usercopy.c) | 0 | ||||
-rw-r--r-- | arch/x86/lib/usercopy_64.c (renamed from arch/x86_64/lib/usercopy.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-default/Makefile (renamed from arch/i386/mach-default/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/mach-default/setup.c (renamed from arch/i386/mach-default/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-es7000/Makefile (renamed from arch/i386/mach-es7000/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/mach-es7000/es7000.h (renamed from arch/i386/mach-es7000/es7000.h) | 0 | ||||
-rw-r--r-- | arch/x86/mach-es7000/es7000plat.c (renamed from arch/i386/mach-es7000/es7000plat.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-generic/Makefile | 8 | ||||
-rw-r--r-- | arch/x86/mach-generic/bigsmp.c (renamed from arch/i386/mach-generic/bigsmp.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-generic/default.c (renamed from arch/i386/mach-generic/default.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-generic/es7000.c (renamed from arch/i386/mach-generic/es7000.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-generic/probe.c (renamed from arch/i386/mach-generic/probe.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-generic/summit.c (renamed from arch/i386/mach-generic/summit.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/Makefile (renamed from arch/i386/mach-visws/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/mpparse.c (renamed from arch/i386/mach-visws/mpparse.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/reboot.c (renamed from arch/i386/mach-visws/reboot.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/setup.c (renamed from arch/i386/mach-visws/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/traps.c (renamed from arch/i386/mach-visws/traps.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-visws/visws_apic.c (renamed from arch/i386/mach-visws/visws_apic.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-voyager/Makefile (renamed from arch/i386/mach-voyager/Makefile) | 2 | ||||
-rw-r--r-- | arch/x86/mach-voyager/setup.c (renamed from arch/i386/mach-voyager/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-voyager/voyager_basic.c (renamed from arch/i386/mach-voyager/voyager_basic.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-voyager/voyager_cat.c (renamed from arch/i386/mach-voyager/voyager_cat.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-voyager/voyager_smp.c (renamed from arch/i386/mach-voyager/voyager_smp.c) | 0 | ||||
-rw-r--r-- | arch/x86/mach-voyager/voyager_thread.c (renamed from arch/i386/mach-voyager/voyager_thread.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/Makefile (renamed from arch/i386/math-emu/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/README (renamed from arch/i386/math-emu/README) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/control_w.h (renamed from arch/i386/math-emu/control_w.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/div_Xsig.S (renamed from arch/i386/math-emu/div_Xsig.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/div_small.S (renamed from arch/i386/math-emu/div_small.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/errors.c (renamed from arch/i386/math-emu/errors.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/exception.h (renamed from arch/i386/math-emu/exception.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_arith.c (renamed from arch/i386/math-emu/fpu_arith.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_asm.h (renamed from arch/i386/math-emu/fpu_asm.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_aux.c (renamed from arch/i386/math-emu/fpu_aux.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_emu.h (renamed from arch/i386/math-emu/fpu_emu.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_entry.c (renamed from arch/i386/math-emu/fpu_entry.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_etc.c (renamed from arch/i386/math-emu/fpu_etc.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_proto.h (renamed from arch/i386/math-emu/fpu_proto.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_system.h (renamed from arch/i386/math-emu/fpu_system.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_tags.c (renamed from arch/i386/math-emu/fpu_tags.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/fpu_trig.c (renamed from arch/i386/math-emu/fpu_trig.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/get_address.c (renamed from arch/i386/math-emu/get_address.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/load_store.c (renamed from arch/i386/math-emu/load_store.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/mul_Xsig.S (renamed from arch/i386/math-emu/mul_Xsig.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly.h (renamed from arch/i386/math-emu/poly.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly_2xm1.c (renamed from arch/i386/math-emu/poly_2xm1.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly_atan.c (renamed from arch/i386/math-emu/poly_atan.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly_l2.c (renamed from arch/i386/math-emu/poly_l2.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly_sin.c (renamed from arch/i386/math-emu/poly_sin.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/poly_tan.c (renamed from arch/i386/math-emu/poly_tan.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/polynom_Xsig.S (renamed from arch/i386/math-emu/polynom_Xsig.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_add_sub.c (renamed from arch/i386/math-emu/reg_add_sub.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_compare.c (renamed from arch/i386/math-emu/reg_compare.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_constant.c (renamed from arch/i386/math-emu/reg_constant.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_constant.h (renamed from arch/i386/math-emu/reg_constant.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_convert.c (renamed from arch/i386/math-emu/reg_convert.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_divide.c (renamed from arch/i386/math-emu/reg_divide.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_ld_str.c (renamed from arch/i386/math-emu/reg_ld_str.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_mul.c (renamed from arch/i386/math-emu/reg_mul.c) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_norm.S (renamed from arch/i386/math-emu/reg_norm.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_round.S (renamed from arch/i386/math-emu/reg_round.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_u_add.S (renamed from arch/i386/math-emu/reg_u_add.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_u_div.S (renamed from arch/i386/math-emu/reg_u_div.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_u_mul.S (renamed from arch/i386/math-emu/reg_u_mul.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/reg_u_sub.S (renamed from arch/i386/math-emu/reg_u_sub.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/round_Xsig.S (renamed from arch/i386/math-emu/round_Xsig.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/shr_Xsig.S (renamed from arch/i386/math-emu/shr_Xsig.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/status_w.h (renamed from arch/i386/math-emu/status_w.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/version.h (renamed from arch/i386/math-emu/version.h) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/wm_shrx.S (renamed from arch/i386/math-emu/wm_shrx.S) | 0 | ||||
-rw-r--r-- | arch/x86/math-emu/wm_sqrt.S (renamed from arch/i386/math-emu/wm_sqrt.S) | 0 | ||||
-rw-r--r-- | arch/x86/mm/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/mm/Makefile_32 | 10 | ||||
-rw-r--r-- | arch/x86/mm/Makefile_64 | 10 | ||||
-rw-r--r-- | arch/x86/mm/boot_ioremap_32.c (renamed from arch/i386/mm/boot_ioremap.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/discontig_32.c (renamed from arch/i386/mm/discontig.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/extable_32.c (renamed from arch/i386/mm/extable.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/extable_64.c (renamed from arch/x86_64/mm/extable.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/fault_32.c (renamed from arch/i386/mm/fault.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/fault_64.c (renamed from arch/x86_64/mm/fault.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/highmem_32.c (renamed from arch/i386/mm/highmem.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/hugetlbpage.c (renamed from arch/i386/mm/hugetlbpage.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/init_32.c (renamed from arch/i386/mm/init.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/init_64.c (renamed from arch/x86_64/mm/init.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/ioremap_32.c (renamed from arch/i386/mm/ioremap.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/ioremap_64.c (renamed from arch/x86_64/mm/ioremap.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/k8topology_64.c (renamed from arch/x86_64/mm/k8topology.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/mmap_32.c (renamed from arch/i386/mm/mmap.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/mmap_64.c (renamed from arch/x86_64/mm/mmap.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/numa_64.c (renamed from arch/x86_64/mm/numa.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/pageattr_32.c (renamed from arch/i386/mm/pageattr.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/pageattr_64.c (renamed from arch/x86_64/mm/pageattr.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/pgtable_32.c (renamed from arch/i386/mm/pgtable.c) | 0 | ||||
-rw-r--r-- | arch/x86/mm/srat_64.c (renamed from arch/x86_64/mm/srat.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/Kconfig (renamed from arch/i386/oprofile/Kconfig) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/Makefile (renamed from arch/i386/oprofile/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/backtrace.c (renamed from arch/i386/oprofile/backtrace.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/init.c (renamed from arch/i386/oprofile/init.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/nmi_int.c (renamed from arch/i386/oprofile/nmi_int.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/nmi_timer_int.c (renamed from arch/i386/oprofile/nmi_timer_int.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/op_counter.h (renamed from arch/i386/oprofile/op_counter.h) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/op_model_athlon.c (renamed from arch/i386/oprofile/op_model_athlon.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/op_model_p4.c (renamed from arch/i386/oprofile/op_model_p4.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/op_model_ppro.c (renamed from arch/i386/oprofile/op_model_ppro.c) | 0 | ||||
-rw-r--r-- | arch/x86/oprofile/op_x86_model.h (renamed from arch/i386/oprofile/op_x86_model.h) | 0 | ||||
-rw-r--r-- | arch/x86/pci/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/pci/Makefile_32 (renamed from arch/i386/pci/Makefile) | 2 | ||||
-rw-r--r-- | arch/x86/pci/Makefile_64 | 17 | ||||
-rw-r--r-- | arch/x86/pci/acpi.c (renamed from arch/i386/pci/acpi.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/common.c (renamed from arch/i386/pci/common.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/direct.c (renamed from arch/i386/pci/direct.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/early.c (renamed from arch/i386/pci/early.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/fixup.c (renamed from arch/i386/pci/fixup.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/i386.c (renamed from arch/i386/pci/i386.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/init.c (renamed from arch/i386/pci/init.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/irq.c (renamed from arch/i386/pci/irq.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/k8-bus_64.c (renamed from arch/x86_64/pci/k8-bus.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/legacy.c (renamed from arch/i386/pci/legacy.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/mmconfig-shared.c (renamed from arch/i386/pci/mmconfig-shared.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/mmconfig_32.c (renamed from arch/i386/pci/mmconfig.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/mmconfig_64.c (renamed from arch/x86_64/pci/mmconfig.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/numa.c (renamed from arch/i386/pci/numa.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/pcbios.c (renamed from arch/i386/pci/pcbios.c) | 0 | ||||
-rw-r--r-- | arch/x86/pci/pci.h (renamed from arch/i386/pci/pci.h) | 0 | ||||
-rw-r--r-- | arch/x86/pci/visws.c (renamed from arch/i386/pci/visws.c) | 0 | ||||
-rw-r--r-- | arch/x86/power/Makefile (renamed from arch/i386/power/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/power/cpu.c (renamed from arch/i386/power/cpu.c) | 0 | ||||
-rw-r--r-- | arch/x86/power/suspend.c (renamed from arch/i386/power/suspend.c) | 0 | ||||
-rw-r--r-- | arch/x86/power/swsusp.S (renamed from arch/i386/power/swsusp.S) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/.gitignore (renamed from arch/x86_64/vdso/.gitignore) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/Makefile (renamed from arch/x86_64/vdso/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vclock_gettime.c (renamed from arch/x86_64/vdso/vclock_gettime.c) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vdso-note.S (renamed from arch/x86_64/vdso/vdso-note.S) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vdso-start.S (renamed from arch/x86_64/vdso/vdso-start.S) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vdso.S | 2 | ||||
-rw-r--r-- | arch/x86/vdso/vdso.lds.S (renamed from arch/x86_64/vdso/vdso.lds.S) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vextern.h (renamed from arch/x86_64/vdso/vextern.h) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vgetcpu.c (renamed from arch/x86_64/vdso/vgetcpu.c) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vma.c (renamed from arch/x86_64/vdso/vma.c) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/voffset.h (renamed from arch/x86_64/vdso/voffset.h) | 0 | ||||
-rw-r--r-- | arch/x86/vdso/vvar.c (renamed from arch/x86_64/vdso/vvar.c) | 0 | ||||
-rw-r--r-- | arch/x86/video/Makefile (renamed from arch/i386/video/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/video/fbdev.c (renamed from arch/i386/video/fbdev.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/Kconfig (renamed from arch/i386/xen/Kconfig) | 0 | ||||
-rw-r--r-- | arch/x86/xen/Makefile (renamed from arch/i386/xen/Makefile) | 0 | ||||
-rw-r--r-- | arch/x86/xen/enlighten.c (renamed from arch/i386/xen/enlighten.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/events.c (renamed from arch/i386/xen/events.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/features.c (renamed from arch/i386/xen/features.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/manage.c (renamed from arch/i386/xen/manage.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/mmu.c (renamed from arch/i386/xen/mmu.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/mmu.h (renamed from arch/i386/xen/mmu.h) | 0 | ||||
-rw-r--r-- | arch/x86/xen/multicalls.c (renamed from arch/i386/xen/multicalls.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/multicalls.h (renamed from arch/i386/xen/multicalls.h) | 0 | ||||
-rw-r--r-- | arch/x86/xen/setup.c (renamed from arch/i386/xen/setup.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/smp.c (renamed from arch/i386/xen/smp.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/time.c (renamed from arch/i386/xen/time.c) | 0 | ||||
-rw-r--r-- | arch/x86/xen/vdso.h (renamed from arch/i386/xen/vdso.h) | 0 | ||||
-rw-r--r-- | arch/x86/xen/xen-asm.S (renamed from arch/i386/xen/xen-asm.S) | 0 | ||||
-rw-r--r-- | arch/x86/xen/xen-head.S (renamed from arch/i386/xen/xen-head.S) | 0 | ||||
-rw-r--r-- | arch/x86/xen/xen-ops.h (renamed from arch/i386/xen/xen-ops.h) | 0 | ||||
-rw-r--r-- | arch/x86_64/Kconfig | 4 | ||||
-rw-r--r-- | arch/x86_64/Makefile | 28 | ||||
-rw-r--r-- | arch/x86_64/boot/.gitignore | 5 | ||||
-rw-r--r-- | arch/x86_64/boot/Makefile | 9 | ||||
-rw-r--r-- | arch/x86_64/boot/tools/.gitignore | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/Makefile | 63 | ||||
-rw-r--r-- | arch/x86_64/kernel/acpi/Makefile | 9 | ||||
-rw-r--r-- | arch/x86_64/kernel/cpufreq/Makefile | 17 | ||||
-rw-r--r-- | arch/x86_64/lib/Makefile | 13 | ||||
-rw-r--r-- | arch/x86_64/lib/msr-on-cpu.c | 1 | ||||
-rw-r--r-- | arch/x86_64/mm/Makefile | 11 | ||||
-rw-r--r-- | arch/x86_64/oprofile/Kconfig | 17 | ||||
-rw-r--r-- | arch/x86_64/oprofile/Makefile | 19 | ||||
-rw-r--r-- | arch/x86_64/pci/Makefile | 27 | ||||
-rw-r--r-- | arch/x86_64/vdso/vdso.S | 2 |
575 files changed, 4892 insertions, 3033 deletions
diff --git a/arch/arm/mach-imx/mx1ads.c b/arch/arm/mach-imx/mx1ads.c index da893c80d471..a9778c1587ab 100644 --- a/arch/arm/mach-imx/mx1ads.c +++ b/arch/arm/mach-imx/mx1ads.c | |||
@@ -116,7 +116,7 @@ static struct platform_device *devices[] __initdata = { | |||
116 | }; | 116 | }; |
117 | 117 | ||
118 | #ifdef CONFIG_MMC_IMX | 118 | #ifdef CONFIG_MMC_IMX |
119 | static int mx1ads_mmc_card_present(void) | 119 | static int mx1ads_mmc_card_present(struct device *dev) |
120 | { | 120 | { |
121 | /* MMC/SD Card Detect is PB 20 on MX1ADS V1.0.7 */ | 121 | /* MMC/SD Card Detect is PB 20 on MX1ADS V1.0.7 */ |
122 | return (SSR(1) & (1 << 20) ? 0 : 1); | 122 | return (SSR(1) & (1 << 20) ? 0 : 1); |
diff --git a/arch/avr32/boards/atngw100/flash.c b/arch/avr32/boards/atngw100/flash.c index f9b32a8eab9b..b07ae63aa548 100644 --- a/arch/avr32/boards/atngw100/flash.c +++ b/arch/avr32/boards/atngw100/flash.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/arch/smc.h> | 16 | #include <asm/arch/smc.h> |
17 | 17 | ||
18 | static struct smc_config flash_config __initdata = { | 18 | static struct smc_timing flash_timing __initdata = { |
19 | .ncs_read_setup = 0, | 19 | .ncs_read_setup = 0, |
20 | .nrd_setup = 40, | 20 | .nrd_setup = 40, |
21 | .ncs_write_setup = 0, | 21 | .ncs_write_setup = 0, |
@@ -28,7 +28,9 @@ static struct smc_config flash_config __initdata = { | |||
28 | 28 | ||
29 | .read_cycle = 120, | 29 | .read_cycle = 120, |
30 | .write_cycle = 120, | 30 | .write_cycle = 120, |
31 | }; | ||
31 | 32 | ||
33 | static struct smc_config flash_config __initdata = { | ||
32 | .bus_width = 2, | 34 | .bus_width = 2, |
33 | .nrd_controlled = 1, | 35 | .nrd_controlled = 1, |
34 | .nwe_controlled = 1, | 36 | .nwe_controlled = 1, |
@@ -82,6 +84,7 @@ static int __init atngw100_flash_init(void) | |||
82 | { | 84 | { |
83 | int ret; | 85 | int ret; |
84 | 86 | ||
87 | smc_set_timing(&flash_config, &flash_timing); | ||
85 | ret = smc_set_configuration(0, &flash_config); | 88 | ret = smc_set_configuration(0, &flash_config); |
86 | if (ret < 0) { | 89 | if (ret < 0) { |
87 | printk(KERN_ERR "atngw100: failed to set NOR flash timing\n"); | 90 | printk(KERN_ERR "atngw100: failed to set NOR flash timing\n"); |
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index ef801563bbf5..52987c81d668 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c | |||
@@ -125,8 +125,11 @@ static struct platform_device ngw_gpio_leds = { | |||
125 | }; | 125 | }; |
126 | 126 | ||
127 | static struct i2c_gpio_platform_data i2c_gpio_data = { | 127 | static struct i2c_gpio_platform_data i2c_gpio_data = { |
128 | .sda_pin = GPIO_PIN_PA(6), | 128 | .sda_pin = GPIO_PIN_PA(6), |
129 | .scl_pin = GPIO_PIN_PA(7), | 129 | .scl_pin = GPIO_PIN_PA(7), |
130 | .sda_is_open_drain = 1, | ||
131 | .scl_is_open_drain = 1, | ||
132 | .udelay = 2, /* close to 100 kHz */ | ||
130 | }; | 133 | }; |
131 | 134 | ||
132 | static struct platform_device i2c_gpio_device = { | 135 | static struct platform_device i2c_gpio_device = { |
@@ -154,6 +157,7 @@ static int __init atngw100_init(void) | |||
154 | set_hw_addr(at32_add_device_eth(1, ð_data[1])); | 157 | set_hw_addr(at32_add_device_eth(1, ð_data[1])); |
155 | 158 | ||
156 | at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); | 159 | at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); |
160 | at32_add_device_usba(0, NULL); | ||
157 | 161 | ||
158 | for (i = 0; i < ARRAY_SIZE(ngw_leds); i++) { | 162 | for (i = 0; i < ARRAY_SIZE(ngw_leds); i++) { |
159 | at32_select_gpio(ngw_leds[i].gpio, | 163 | at32_select_gpio(ngw_leds[i].gpio, |
@@ -161,8 +165,10 @@ static int __init atngw100_init(void) | |||
161 | } | 165 | } |
162 | platform_device_register(&ngw_gpio_leds); | 166 | platform_device_register(&ngw_gpio_leds); |
163 | 167 | ||
164 | at32_select_gpio(i2c_gpio_data.sda_pin, 0); | 168 | at32_select_gpio(i2c_gpio_data.sda_pin, |
165 | at32_select_gpio(i2c_gpio_data.scl_pin, 0); | 169 | AT32_GPIOF_MULTIDRV | AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH); |
170 | at32_select_gpio(i2c_gpio_data.scl_pin, | ||
171 | AT32_GPIOF_MULTIDRV | AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH); | ||
166 | platform_device_register(&i2c_gpio_device); | 172 | platform_device_register(&i2c_gpio_device); |
167 | 173 | ||
168 | return 0; | 174 | return 0; |
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index c9981b731efa..6b9e466104ad 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -241,6 +241,7 @@ static int __init atstk1002_init(void) | |||
241 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, | 241 | at32_add_device_lcdc(0, &atstk1000_lcdc_data, |
242 | fbmem_start, fbmem_size); | 242 | fbmem_start, fbmem_size); |
243 | #endif | 243 | #endif |
244 | at32_add_device_usba(0, NULL); | ||
244 | #ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM | 245 | #ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM |
245 | at32_add_device_ssc(0, ATMEL_SSC_TX); | 246 | at32_add_device_ssc(0, ATMEL_SSC_TX); |
246 | #endif | 247 | #endif |
diff --git a/arch/avr32/boards/atstk1000/flash.c b/arch/avr32/boards/atstk1000/flash.c index aac4300cca12..3d0a102ad45e 100644 --- a/arch/avr32/boards/atstk1000/flash.c +++ b/arch/avr32/boards/atstk1000/flash.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/arch/smc.h> | 16 | #include <asm/arch/smc.h> |
17 | 17 | ||
18 | static struct smc_config flash_config __initdata = { | 18 | static struct smc_timing flash_timing __initdata = { |
19 | .ncs_read_setup = 0, | 19 | .ncs_read_setup = 0, |
20 | .nrd_setup = 40, | 20 | .nrd_setup = 40, |
21 | .ncs_write_setup = 0, | 21 | .ncs_write_setup = 0, |
@@ -28,7 +28,9 @@ static struct smc_config flash_config __initdata = { | |||
28 | 28 | ||
29 | .read_cycle = 120, | 29 | .read_cycle = 120, |
30 | .write_cycle = 120, | 30 | .write_cycle = 120, |
31 | }; | ||
31 | 32 | ||
33 | static struct smc_config flash_config __initdata = { | ||
32 | .bus_width = 2, | 34 | .bus_width = 2, |
33 | .nrd_controlled = 1, | 35 | .nrd_controlled = 1, |
34 | .nwe_controlled = 1, | 36 | .nwe_controlled = 1, |
@@ -82,6 +84,7 @@ static int __init atstk1000_flash_init(void) | |||
82 | { | 84 | { |
83 | int ret; | 85 | int ret; |
84 | 86 | ||
87 | smc_set_timing(&flash_config, &flash_timing); | ||
85 | ret = smc_set_configuration(0, &flash_config); | 88 | ret = smc_set_configuration(0, &flash_config); |
86 | if (ret < 0) { | 89 | if (ret < 0) { |
87 | printk(KERN_ERR "atstk1000: failed to set NOR flash timing\n"); | 90 | printk(KERN_ERR "atstk1000: failed to set NOR flash timing\n"); |
diff --git a/arch/avr32/kernel/Makefile b/arch/avr32/kernel/Makefile index 90e5afff54a2..989fcd1fef7e 100644 --- a/arch/avr32/kernel/Makefile +++ b/arch/avr32/kernel/Makefile | |||
@@ -11,8 +11,3 @@ obj-y += signal.o sys_avr32.o process.o time.o | |||
11 | obj-y += init_task.o switch_to.o cpu.o | 11 | obj-y += init_task.o switch_to.o cpu.o |
12 | obj-$(CONFIG_MODULES) += module.o avr32_ksyms.o | 12 | obj-$(CONFIG_MODULES) += module.o avr32_ksyms.o |
13 | obj-$(CONFIG_KPROBES) += kprobes.o | 13 | obj-$(CONFIG_KPROBES) += kprobes.o |
14 | |||
15 | USE_STANDARD_AS_RULE := true | ||
16 | |||
17 | %.lds: %.lds.c FORCE | ||
18 | $(call if_changed_dep,cpp_lds_S) | ||
diff --git a/arch/avr32/kernel/entry-avr32b.S b/arch/avr32/kernel/entry-avr32b.S index 42657f1703b2..ccadfd9b438d 100644 --- a/arch/avr32/kernel/entry-avr32b.S +++ b/arch/avr32/kernel/entry-avr32b.S | |||
@@ -159,11 +159,18 @@ handle_vmalloc_miss: | |||
159 | 159 | ||
160 | .section .scall.text,"ax",@progbits | 160 | .section .scall.text,"ax",@progbits |
161 | system_call: | 161 | system_call: |
162 | #ifdef CONFIG_PREEMPT | ||
163 | mask_interrupts | ||
164 | #endif | ||
162 | pushm r12 /* r12_orig */ | 165 | pushm r12 /* r12_orig */ |
163 | stmts --sp, r0-lr | 166 | stmts --sp, r0-lr |
164 | zero_fp | 167 | |
165 | mfsr r0, SYSREG_RAR_SUP | 168 | mfsr r0, SYSREG_RAR_SUP |
166 | mfsr r1, SYSREG_RSR_SUP | 169 | mfsr r1, SYSREG_RSR_SUP |
170 | #ifdef CONFIG_PREEMPT | ||
171 | unmask_interrupts | ||
172 | #endif | ||
173 | zero_fp | ||
167 | stm --sp, r0-r1 | 174 | stm --sp, r0-r1 |
168 | 175 | ||
169 | /* check for syscall tracing */ | 176 | /* check for syscall tracing */ |
@@ -638,6 +645,13 @@ irq_level\level: | |||
638 | stmts --sp,r0-lr | 645 | stmts --sp,r0-lr |
639 | mfsr r8, rar_int\level | 646 | mfsr r8, rar_int\level |
640 | mfsr r9, rsr_int\level | 647 | mfsr r9, rsr_int\level |
648 | |||
649 | #ifdef CONFIG_PREEMPT | ||
650 | sub r11, pc, (. - system_call) | ||
651 | cp.w r11, r8 | ||
652 | breq 4f | ||
653 | #endif | ||
654 | |||
641 | pushm r8-r9 | 655 | pushm r8-r9 |
642 | 656 | ||
643 | mov r11, sp | 657 | mov r11, sp |
@@ -668,6 +682,16 @@ irq_level\level: | |||
668 | sub sp, -4 /* ignore r12_orig */ | 682 | sub sp, -4 /* ignore r12_orig */ |
669 | rete | 683 | rete |
670 | 684 | ||
685 | #ifdef CONFIG_PREEMPT | ||
686 | 4: mask_interrupts | ||
687 | mfsr r8, rsr_int\level | ||
688 | sbr r8, 16 | ||
689 | mtsr rsr_int\level, r8 | ||
690 | ldmts sp++, r0-lr | ||
691 | sub sp, -4 /* ignore r12_orig */ | ||
692 | rete | ||
693 | #endif | ||
694 | |||
671 | 2: get_thread_info r0 | 695 | 2: get_thread_info r0 |
672 | ld.w r1, r0[TI_flags] | 696 | ld.w r1, r0[TI_flags] |
673 | bld r1, TIF_CPU_GOING_TO_SLEEP | 697 | bld r1, TIF_CPU_GOING_TO_SLEEP |
diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c index d08b0bc6b2bb..4b4c1884e1c5 100644 --- a/arch/avr32/kernel/setup.c +++ b/arch/avr32/kernel/setup.c | |||
@@ -248,7 +248,7 @@ static int __init early_parse_fbmem(char *p) | |||
248 | 248 | ||
249 | fbmem_size = memparse(p, &p); | 249 | fbmem_size = memparse(p, &p); |
250 | if (*p == '@') { | 250 | if (*p == '@') { |
251 | fbmem_start = memparse(p, &p); | 251 | fbmem_start = memparse(p + 1, &p); |
252 | ret = add_reserved_region(fbmem_start, | 252 | ret = add_reserved_region(fbmem_start, |
253 | fbmem_start + fbmem_size - 1, | 253 | fbmem_start + fbmem_size - 1, |
254 | "Framebuffer"); | 254 | "Framebuffer"); |
diff --git a/arch/avr32/kernel/vmlinux.lds.c b/arch/avr32/kernel/vmlinux.lds.S index db0438f35c00..ce9ac9659883 100644 --- a/arch/avr32/kernel/vmlinux.lds.c +++ b/arch/avr32/kernel/vmlinux.lds.S | |||
@@ -9,6 +9,8 @@ | |||
9 | */ | 9 | */ |
10 | #define LOAD_OFFSET 0x00000000 | 10 | #define LOAD_OFFSET 0x00000000 |
11 | #include <asm-generic/vmlinux.lds.h> | 11 | #include <asm-generic/vmlinux.lds.h> |
12 | #include <asm/cache.h> | ||
13 | #include <asm/thread_info.h> | ||
12 | 14 | ||
13 | OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32") | 15 | OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32") |
14 | OUTPUT_ARCH(avr32) | 16 | OUTPUT_ARCH(avr32) |
@@ -58,11 +60,10 @@ SECTIONS | |||
58 | *(.init.ramfs) | 60 | *(.init.ramfs) |
59 | __initramfs_end = .; | 61 | __initramfs_end = .; |
60 | #endif | 62 | #endif |
61 | . = ALIGN(4096); | 63 | . = ALIGN(PAGE_SIZE); |
62 | __init_end = .; | 64 | __init_end = .; |
63 | } | 65 | } |
64 | 66 | ||
65 | . = ALIGN(8192); | ||
66 | .text : AT(ADDR(.text) - LOAD_OFFSET) { | 67 | .text : AT(ADDR(.text) - LOAD_OFFSET) { |
67 | _evba = .; | 68 | _evba = .; |
68 | _text = .; | 69 | _text = .; |
@@ -96,7 +97,7 @@ SECTIONS | |||
96 | 97 | ||
97 | RODATA | 98 | RODATA |
98 | 99 | ||
99 | . = ALIGN(8192); | 100 | . = ALIGN(THREAD_SIZE); |
100 | 101 | ||
101 | .data : AT(ADDR(.data) - LOAD_OFFSET) { | 102 | .data : AT(ADDR(.data) - LOAD_OFFSET) { |
102 | _data = .; | 103 | _data = .; |
@@ -107,7 +108,7 @@ SECTIONS | |||
107 | *(.data.init_task) | 108 | *(.data.init_task) |
108 | 109 | ||
109 | /* Then, the cacheline aligned data */ | 110 | /* Then, the cacheline aligned data */ |
110 | . = ALIGN(32); | 111 | . = ALIGN(L1_CACHE_BYTES); |
111 | *(.data.cacheline_aligned) | 112 | *(.data.cacheline_aligned) |
112 | 113 | ||
113 | /* And the rest... */ | 114 | /* And the rest... */ |
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index 64cc5583ddfb..f6d154ca4d24 100644 --- a/arch/avr32/mach-at32ap/at32ap7000.c +++ b/arch/avr32/mach-at32ap/at32ap7000.c | |||
@@ -25,12 +25,6 @@ | |||
25 | #include "pio.h" | 25 | #include "pio.h" |
26 | #include "pm.h" | 26 | #include "pm.h" |
27 | 27 | ||
28 | /* | ||
29 | * We can reduce the code size a bit by using a constant here. Since | ||
30 | * this file is completely chip-specific, it's safe to not use | ||
31 | * ioremap. Generic drivers should of course never do this. | ||
32 | */ | ||
33 | #define AT32_PM_BASE 0xfff00000 | ||
34 | 28 | ||
35 | #define PBMEM(base) \ | 29 | #define PBMEM(base) \ |
36 | { \ | 30 | { \ |
@@ -1168,6 +1162,72 @@ at32_add_device_ssc(unsigned int id, unsigned int flags) | |||
1168 | } | 1162 | } |
1169 | 1163 | ||
1170 | /* -------------------------------------------------------------------- | 1164 | /* -------------------------------------------------------------------- |
1165 | * USB Device Controller | ||
1166 | * -------------------------------------------------------------------- */ | ||
1167 | static struct resource usba0_resource[] __initdata = { | ||
1168 | { | ||
1169 | .start = 0xff300000, | ||
1170 | .end = 0xff3fffff, | ||
1171 | .flags = IORESOURCE_MEM, | ||
1172 | }, { | ||
1173 | .start = 0xfff03000, | ||
1174 | .end = 0xfff033ff, | ||
1175 | .flags = IORESOURCE_MEM, | ||
1176 | }, | ||
1177 | IRQ(31), | ||
1178 | }; | ||
1179 | static struct clk usba0_pclk = { | ||
1180 | .name = "pclk", | ||
1181 | .parent = &pbb_clk, | ||
1182 | .mode = pbb_clk_mode, | ||
1183 | .get_rate = pbb_clk_get_rate, | ||
1184 | .index = 12, | ||
1185 | }; | ||
1186 | static struct clk usba0_hclk = { | ||
1187 | .name = "hclk", | ||
1188 | .parent = &hsb_clk, | ||
1189 | .mode = hsb_clk_mode, | ||
1190 | .get_rate = hsb_clk_get_rate, | ||
1191 | .index = 6, | ||
1192 | }; | ||
1193 | |||
1194 | struct platform_device *__init | ||
1195 | at32_add_device_usba(unsigned int id, struct usba_platform_data *data) | ||
1196 | { | ||
1197 | struct platform_device *pdev; | ||
1198 | |||
1199 | if (id != 0) | ||
1200 | return NULL; | ||
1201 | |||
1202 | pdev = platform_device_alloc("atmel_usba_udc", 0); | ||
1203 | if (!pdev) | ||
1204 | return NULL; | ||
1205 | |||
1206 | if (platform_device_add_resources(pdev, usba0_resource, | ||
1207 | ARRAY_SIZE(usba0_resource))) | ||
1208 | goto out_free_pdev; | ||
1209 | |||
1210 | if (data) { | ||
1211 | if (platform_device_add_data(pdev, data, sizeof(*data))) | ||
1212 | goto out_free_pdev; | ||
1213 | |||
1214 | if (data->vbus_pin != GPIO_PIN_NONE) | ||
1215 | at32_select_gpio(data->vbus_pin, 0); | ||
1216 | } | ||
1217 | |||
1218 | usba0_pclk.dev = &pdev->dev; | ||
1219 | usba0_hclk.dev = &pdev->dev; | ||
1220 | |||
1221 | platform_device_add(pdev); | ||
1222 | |||
1223 | return pdev; | ||
1224 | |||
1225 | out_free_pdev: | ||
1226 | platform_device_put(pdev); | ||
1227 | return NULL; | ||
1228 | } | ||
1229 | |||
1230 | /* -------------------------------------------------------------------- | ||
1171 | * GCLK | 1231 | * GCLK |
1172 | * -------------------------------------------------------------------- */ | 1232 | * -------------------------------------------------------------------- */ |
1173 | static struct clk gclk0 = { | 1233 | static struct clk gclk0 = { |
@@ -1252,6 +1312,8 @@ struct clk *at32_clock_list[] = { | |||
1252 | &ssc0_pclk, | 1312 | &ssc0_pclk, |
1253 | &ssc1_pclk, | 1313 | &ssc1_pclk, |
1254 | &ssc2_pclk, | 1314 | &ssc2_pclk, |
1315 | &usba0_hclk, | ||
1316 | &usba0_pclk, | ||
1255 | &gclk0, | 1317 | &gclk0, |
1256 | &gclk1, | 1318 | &gclk1, |
1257 | &gclk2, | 1319 | &gclk2, |
diff --git a/arch/avr32/mach-at32ap/clock.c b/arch/avr32/mach-at32ap/clock.c index 0f8c89c9f832..4642117cc9ab 100644 --- a/arch/avr32/mach-at32ap/clock.c +++ b/arch/avr32/mach-at32ap/clock.c | |||
@@ -150,3 +150,119 @@ struct clk *clk_get_parent(struct clk *clk) | |||
150 | return clk->parent; | 150 | return clk->parent; |
151 | } | 151 | } |
152 | EXPORT_SYMBOL(clk_get_parent); | 152 | EXPORT_SYMBOL(clk_get_parent); |
153 | |||
154 | |||
155 | |||
156 | #ifdef CONFIG_DEBUG_FS | ||
157 | |||
158 | /* /sys/kernel/debug/at32ap_clk */ | ||
159 | |||
160 | #include <linux/io.h> | ||
161 | #include <linux/debugfs.h> | ||
162 | #include <linux/seq_file.h> | ||
163 | #include "pm.h" | ||
164 | |||
165 | |||
166 | #define NEST_DELTA 2 | ||
167 | #define NEST_MAX 6 | ||
168 | |||
169 | struct clkinf { | ||
170 | struct seq_file *s; | ||
171 | unsigned nest; | ||
172 | }; | ||
173 | |||
174 | static void | ||
175 | dump_clock(struct clk *parent, struct clkinf *r) | ||
176 | { | ||
177 | unsigned nest = r->nest; | ||
178 | char buf[16 + NEST_MAX]; | ||
179 | struct clk *clk; | ||
180 | unsigned i; | ||
181 | |||
182 | /* skip clocks coupled to devices that aren't registered */ | ||
183 | if (parent->dev && !parent->dev->bus_id[0] && !parent->users) | ||
184 | return; | ||
185 | |||
186 | /* <nest spaces> name <pad to end> */ | ||
187 | memset(buf, ' ', sizeof(buf) - 1); | ||
188 | buf[sizeof(buf) - 1] = 0; | ||
189 | i = strlen(parent->name); | ||
190 | memcpy(buf + nest, parent->name, | ||
191 | min(i, (unsigned)(sizeof(buf) - 1 - nest))); | ||
192 | |||
193 | seq_printf(r->s, "%s%c users=%2d %-3s %9ld Hz", | ||
194 | buf, parent->set_parent ? '*' : ' ', | ||
195 | parent->users, | ||
196 | parent->users ? "on" : "off", /* NOTE: not-paranoid!! */ | ||
197 | clk_get_rate(parent)); | ||
198 | if (parent->dev) | ||
199 | seq_printf(r->s, ", for %s", parent->dev->bus_id); | ||
200 | seq_printf(r->s, "\n"); | ||
201 | |||
202 | /* cost of this scan is small, but not linear... */ | ||
203 | r->nest = nest + NEST_DELTA; | ||
204 | for (i = 3; i < at32_nr_clocks; i++) { | ||
205 | clk = at32_clock_list[i]; | ||
206 | if (clk->parent == parent) | ||
207 | dump_clock(clk, r); | ||
208 | } | ||
209 | r->nest = nest; | ||
210 | } | ||
211 | |||
212 | static int clk_show(struct seq_file *s, void *unused) | ||
213 | { | ||
214 | struct clkinf r; | ||
215 | int i; | ||
216 | |||
217 | /* show all the power manager registers */ | ||
218 | seq_printf(s, "MCCTRL = %8x\n", pm_readl(MCCTRL)); | ||
219 | seq_printf(s, "CKSEL = %8x\n", pm_readl(CKSEL)); | ||
220 | seq_printf(s, "CPUMASK = %8x\n", pm_readl(CPU_MASK)); | ||
221 | seq_printf(s, "HSBMASK = %8x\n", pm_readl(HSB_MASK)); | ||
222 | seq_printf(s, "PBAMASK = %8x\n", pm_readl(PBA_MASK)); | ||
223 | seq_printf(s, "PBBMASK = %8x\n", pm_readl(PBB_MASK)); | ||
224 | seq_printf(s, "PLL0 = %8x\n", pm_readl(PLL0)); | ||
225 | seq_printf(s, "PLL1 = %8x\n", pm_readl(PLL1)); | ||
226 | seq_printf(s, "IMR = %8x\n", pm_readl(IMR)); | ||
227 | for (i = 0; i < 8; i++) { | ||
228 | if (i == 5) | ||
229 | continue; | ||
230 | seq_printf(s, "GCCTRL%d = %8x\n", i, pm_readl(GCCTRL(i))); | ||
231 | } | ||
232 | |||
233 | seq_printf(s, "\n"); | ||
234 | |||
235 | /* show clock tree as derived from the three oscillators | ||
236 | * we "know" are at the head of the list | ||
237 | */ | ||
238 | r.s = s; | ||
239 | r.nest = 0; | ||
240 | dump_clock(at32_clock_list[0], &r); | ||
241 | dump_clock(at32_clock_list[1], &r); | ||
242 | dump_clock(at32_clock_list[2], &r); | ||
243 | |||
244 | return 0; | ||
245 | } | ||
246 | |||
247 | static int clk_open(struct inode *inode, struct file *file) | ||
248 | { | ||
249 | return single_open(file, clk_show, NULL); | ||
250 | } | ||
251 | |||
252 | static const struct file_operations clk_operations = { | ||
253 | .open = clk_open, | ||
254 | .read = seq_read, | ||
255 | .llseek = seq_lseek, | ||
256 | .release = single_release, | ||
257 | }; | ||
258 | |||
259 | static int __init clk_debugfs_init(void) | ||
260 | { | ||
261 | (void) debugfs_create_file("at32ap_clk", S_IFREG | S_IRUGO, | ||
262 | NULL, NULL, &clk_operations); | ||
263 | |||
264 | return 0; | ||
265 | } | ||
266 | postcore_initcall(clk_debugfs_init); | ||
267 | |||
268 | #endif | ||
diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c index 5e22a750632b..704607fbcc69 100644 --- a/arch/avr32/mach-at32ap/hsmc.c +++ b/arch/avr32/mach-at32ap/hsmc.c | |||
@@ -29,16 +29,25 @@ struct hsmc { | |||
29 | 29 | ||
30 | static struct hsmc *hsmc; | 30 | static struct hsmc *hsmc; |
31 | 31 | ||
32 | int smc_set_configuration(int cs, const struct smc_config *config) | 32 | void smc_set_timing(struct smc_config *config, |
33 | const struct smc_timing *timing) | ||
33 | { | 34 | { |
35 | int recover; | ||
36 | int cycle; | ||
37 | |||
34 | unsigned long mul; | 38 | unsigned long mul; |
35 | unsigned long offset; | ||
36 | u32 setup, pulse, cycle, mode; | ||
37 | 39 | ||
38 | if (!hsmc) | 40 | /* Reset all SMC timings */ |
39 | return -ENODEV; | 41 | config->ncs_read_setup = 0; |
40 | if (cs >= NR_CHIP_SELECTS) | 42 | config->nrd_setup = 0; |
41 | return -EINVAL; | 43 | config->ncs_write_setup = 0; |
44 | config->nwe_setup = 0; | ||
45 | config->ncs_read_pulse = 0; | ||
46 | config->nrd_pulse = 0; | ||
47 | config->ncs_write_pulse = 0; | ||
48 | config->nwe_pulse = 0; | ||
49 | config->read_cycle = 0; | ||
50 | config->write_cycle = 0; | ||
42 | 51 | ||
43 | /* | 52 | /* |
44 | * cycles = x / T = x * f | 53 | * cycles = x / T = x * f |
@@ -50,16 +59,102 @@ int smc_set_configuration(int cs, const struct smc_config *config) | |||
50 | 59 | ||
51 | #define ns2cyc(x) ((((x) * mul) + 65535) >> 16) | 60 | #define ns2cyc(x) ((((x) * mul) + 65535) >> 16) |
52 | 61 | ||
53 | setup = (HSMC_BF(NWE_SETUP, ns2cyc(config->nwe_setup)) | 62 | if (timing->ncs_read_setup > 0) |
54 | | HSMC_BF(NCS_WR_SETUP, ns2cyc(config->ncs_write_setup)) | 63 | config->ncs_read_setup = ns2cyc(timing->ncs_read_setup); |
55 | | HSMC_BF(NRD_SETUP, ns2cyc(config->nrd_setup)) | 64 | |
56 | | HSMC_BF(NCS_RD_SETUP, ns2cyc(config->ncs_read_setup))); | 65 | if (timing->nrd_setup > 0) |
57 | pulse = (HSMC_BF(NWE_PULSE, ns2cyc(config->nwe_pulse)) | 66 | config->nrd_setup = ns2cyc(timing->nrd_setup); |
58 | | HSMC_BF(NCS_WR_PULSE, ns2cyc(config->ncs_write_pulse)) | 67 | |
59 | | HSMC_BF(NRD_PULSE, ns2cyc(config->nrd_pulse)) | 68 | if (timing->ncs_write_setup > 0) |
60 | | HSMC_BF(NCS_RD_PULSE, ns2cyc(config->ncs_read_pulse))); | 69 | config->ncs_write_setup = ns2cyc(timing->ncs_write_setup); |
61 | cycle = (HSMC_BF(NWE_CYCLE, ns2cyc(config->write_cycle)) | 70 | |
62 | | HSMC_BF(NRD_CYCLE, ns2cyc(config->read_cycle))); | 71 | if (timing->nwe_setup > 0) |
72 | config->nwe_setup = ns2cyc(timing->nwe_setup); | ||
73 | |||
74 | if (timing->ncs_read_pulse > 0) | ||
75 | config->ncs_read_pulse = ns2cyc(timing->ncs_read_pulse); | ||
76 | |||
77 | if (timing->nrd_pulse > 0) | ||
78 | config->nrd_pulse = ns2cyc(timing->nrd_pulse); | ||
79 | |||
80 | if (timing->ncs_write_pulse > 0) | ||
81 | config->ncs_write_pulse = ns2cyc(timing->ncs_write_pulse); | ||
82 | |||
83 | if (timing->nwe_pulse > 0) | ||
84 | config->nwe_pulse = ns2cyc(timing->nwe_pulse); | ||
85 | |||
86 | if (timing->read_cycle > 0) | ||
87 | config->read_cycle = ns2cyc(timing->read_cycle); | ||
88 | |||
89 | if (timing->write_cycle > 0) | ||
90 | config->write_cycle = ns2cyc(timing->write_cycle); | ||
91 | |||
92 | /* Extend read cycle in needed */ | ||
93 | if (timing->ncs_read_recover > 0) | ||
94 | recover = ns2cyc(timing->ncs_read_recover); | ||
95 | else | ||
96 | recover = 1; | ||
97 | |||
98 | cycle = config->ncs_read_setup + config->ncs_read_pulse + recover; | ||
99 | |||
100 | if (config->read_cycle < cycle) | ||
101 | config->read_cycle = cycle; | ||
102 | |||
103 | /* Extend read cycle in needed */ | ||
104 | if (timing->nrd_recover > 0) | ||
105 | recover = ns2cyc(timing->nrd_recover); | ||
106 | else | ||
107 | recover = 1; | ||
108 | |||
109 | cycle = config->nrd_setup + config->nrd_pulse + recover; | ||
110 | |||
111 | if (config->read_cycle < cycle) | ||
112 | config->read_cycle = cycle; | ||
113 | |||
114 | /* Extend write cycle in needed */ | ||
115 | if (timing->ncs_write_recover > 0) | ||
116 | recover = ns2cyc(timing->ncs_write_recover); | ||
117 | else | ||
118 | recover = 1; | ||
119 | |||
120 | cycle = config->ncs_write_setup + config->ncs_write_pulse + recover; | ||
121 | |||
122 | if (config->write_cycle < cycle) | ||
123 | config->write_cycle = cycle; | ||
124 | |||
125 | /* Extend write cycle in needed */ | ||
126 | if (timing->nwe_recover > 0) | ||
127 | recover = ns2cyc(timing->nwe_recover); | ||
128 | else | ||
129 | recover = 1; | ||
130 | |||
131 | cycle = config->nwe_setup + config->nwe_pulse + recover; | ||
132 | |||
133 | if (config->write_cycle < cycle) | ||
134 | config->write_cycle = cycle; | ||
135 | } | ||
136 | EXPORT_SYMBOL(smc_set_timing); | ||
137 | |||
138 | int smc_set_configuration(int cs, const struct smc_config *config) | ||
139 | { | ||
140 | unsigned long offset; | ||
141 | u32 setup, pulse, cycle, mode; | ||
142 | |||
143 | if (!hsmc) | ||
144 | return -ENODEV; | ||
145 | if (cs >= NR_CHIP_SELECTS) | ||
146 | return -EINVAL; | ||
147 | |||
148 | setup = (HSMC_BF(NWE_SETUP, config->nwe_setup) | ||
149 | | HSMC_BF(NCS_WR_SETUP, config->ncs_write_setup) | ||
150 | | HSMC_BF(NRD_SETUP, config->nrd_setup) | ||
151 | | HSMC_BF(NCS_RD_SETUP, config->ncs_read_setup)); | ||
152 | pulse = (HSMC_BF(NWE_PULSE, config->nwe_pulse) | ||
153 | | HSMC_BF(NCS_WR_PULSE, config->ncs_write_pulse) | ||
154 | | HSMC_BF(NRD_PULSE, config->nrd_pulse) | ||
155 | | HSMC_BF(NCS_RD_PULSE, config->ncs_read_pulse)); | ||
156 | cycle = (HSMC_BF(NWE_CYCLE, config->write_cycle) | ||
157 | | HSMC_BF(NRD_CYCLE, config->read_cycle)); | ||
63 | 158 | ||
64 | switch (config->bus_width) { | 159 | switch (config->bus_width) { |
65 | case 1: | 160 | case 1: |
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index 1eb99b814f5b..d61a02da898c 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c | |||
@@ -110,6 +110,10 @@ void __init at32_select_gpio(unsigned int pin, unsigned long flags) | |||
110 | pio_writel(pio, SODR, mask); | 110 | pio_writel(pio, SODR, mask); |
111 | else | 111 | else |
112 | pio_writel(pio, CODR, mask); | 112 | pio_writel(pio, CODR, mask); |
113 | if (flags & AT32_GPIOF_MULTIDRV) | ||
114 | pio_writel(pio, MDER, mask); | ||
115 | else | ||
116 | pio_writel(pio, MDDR, mask); | ||
113 | pio_writel(pio, PUDR, mask); | 117 | pio_writel(pio, PUDR, mask); |
114 | pio_writel(pio, OER, mask); | 118 | pio_writel(pio, OER, mask); |
115 | } else { | 119 | } else { |
diff --git a/arch/avr32/mach-at32ap/pm.h b/arch/avr32/mach-at32ap/pm.h index a1f8aced0a8c..47efd0d1951f 100644 --- a/arch/avr32/mach-at32ap/pm.h +++ b/arch/avr32/mach-at32ap/pm.h | |||
@@ -4,6 +4,14 @@ | |||
4 | #ifndef __ARCH_AVR32_MACH_AT32AP_PM_H__ | 4 | #ifndef __ARCH_AVR32_MACH_AT32AP_PM_H__ |
5 | #define __ARCH_AVR32_MACH_AT32AP_PM_H__ | 5 | #define __ARCH_AVR32_MACH_AT32AP_PM_H__ |
6 | 6 | ||
7 | /* | ||
8 | * We can reduce the code size a bit by using a constant here. Since | ||
9 | * this file is only used on AVR32 AP CPUs with segmentation enabled, | ||
10 | * it's safe to not use ioremap. Generic drivers should of course | ||
11 | * never do this. | ||
12 | */ | ||
13 | #define AT32_PM_BASE 0xfff00000 | ||
14 | |||
7 | /* PM register offsets */ | 15 | /* PM register offsets */ |
8 | #define PM_MCCTRL 0x0000 | 16 | #define PM_MCCTRL 0x0000 |
9 | #define PM_CKSEL 0x0004 | 17 | #define PM_CKSEL 0x0004 |
diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index 82cf70854b90..480760bde63f 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c | |||
@@ -224,19 +224,9 @@ void free_initmem(void) | |||
224 | 224 | ||
225 | #ifdef CONFIG_BLK_DEV_INITRD | 225 | #ifdef CONFIG_BLK_DEV_INITRD |
226 | 226 | ||
227 | static int keep_initrd; | ||
228 | |||
229 | void free_initrd_mem(unsigned long start, unsigned long end) | 227 | void free_initrd_mem(unsigned long start, unsigned long end) |
230 | { | 228 | { |
231 | if (!keep_initrd) | 229 | free_area(start, end, "initrd"); |
232 | free_area(start, end, "initrd"); | ||
233 | } | ||
234 | |||
235 | static int __init keepinitrd_setup(char *__unused) | ||
236 | { | ||
237 | keep_initrd = 1; | ||
238 | return 1; | ||
239 | } | 230 | } |
240 | 231 | ||
241 | __setup("keepinitrd", keepinitrd_setup); | ||
242 | #endif | 232 | #endif |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 017defaa525b..b24f4535ffe0 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -57,7 +57,7 @@ config GENERIC_TIME | |||
57 | bool | 57 | bool |
58 | default n | 58 | default n |
59 | 59 | ||
60 | config GENERIC_CALIBRATE_DELAY | 60 | config GENERIC_GPIO |
61 | bool | 61 | bool |
62 | default y | 62 | default y |
63 | 63 | ||
@@ -323,7 +323,7 @@ config CMDLINE | |||
323 | to the kernel, you may specify one here. As a minimum, you should specify | 323 | to the kernel, you may specify one here. As a minimum, you should specify |
324 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). | 324 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). |
325 | 325 | ||
326 | comment "Board Setup" | 326 | comment "Clock/PLL Setup" |
327 | 327 | ||
328 | config CLKIN_HZ | 328 | config CLKIN_HZ |
329 | int "Crystal Frequency in Hz" | 329 | int "Crystal Frequency in Hz" |
@@ -335,6 +335,118 @@ config CLKIN_HZ | |||
335 | help | 335 | help |
336 | The frequency of CLKIN crystal oscillator on the board in Hz. | 336 | The frequency of CLKIN crystal oscillator on the board in Hz. |
337 | 337 | ||
338 | config BFIN_KERNEL_CLOCK | ||
339 | bool "Re-program Clocks while Kernel boots?" | ||
340 | default n | ||
341 | help | ||
342 | This option decides if kernel clocks are re-programed from the | ||
343 | bootloader settings. If the clocks are not set, the SDRAM settings | ||
344 | are also not changed, and the Bootloader does 100% of the hardware | ||
345 | configuration. | ||
346 | |||
347 | config PLL_BYPASS | ||
348 | bool "Bypass PLL" | ||
349 | depends on BFIN_KERNEL_CLOCK | ||
350 | default n | ||
351 | |||
352 | config CLKIN_HALF | ||
353 | bool "Half Clock In" | ||
354 | depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS) | ||
355 | default n | ||
356 | help | ||
357 | If this is set the clock will be divided by 2, before it goes to the PLL. | ||
358 | |||
359 | config VCO_MULT | ||
360 | int "VCO Multiplier" | ||
361 | depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS) | ||
362 | range 1 64 | ||
363 | default "22" if BFIN533_EZKIT | ||
364 | default "45" if BFIN533_STAMP | ||
365 | default "20" if BFIN537_STAMP | ||
366 | default "22" if BFIN533_BLUETECHNIX_CM | ||
367 | default "20" if BFIN537_BLUETECHNIX_CM | ||
368 | default "20" if BFIN561_BLUETECHNIX_CM | ||
369 | default "20" if BFIN561_EZKIT | ||
370 | help | ||
371 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. | ||
372 | PLL Frequency = (Crystal Frequency) * (this setting) | ||
373 | |||
374 | choice | ||
375 | prompt "Core Clock Divider" | ||
376 | depends on BFIN_KERNEL_CLOCK | ||
377 | default CCLK_DIV_1 | ||
378 | help | ||
379 | This sets the frequency of the core. It can be 1, 2, 4 or 8 | ||
380 | Core Frequency = (PLL frequency) / (this setting) | ||
381 | |||
382 | config CCLK_DIV_1 | ||
383 | bool "1" | ||
384 | |||
385 | config CCLK_DIV_2 | ||
386 | bool "2" | ||
387 | |||
388 | config CCLK_DIV_4 | ||
389 | bool "4" | ||
390 | |||
391 | config CCLK_DIV_8 | ||
392 | bool "8" | ||
393 | endchoice | ||
394 | |||
395 | config SCLK_DIV | ||
396 | int "System Clock Divider" | ||
397 | depends on BFIN_KERNEL_CLOCK | ||
398 | range 1 15 | ||
399 | default 5 if BFIN533_EZKIT | ||
400 | default 5 if BFIN533_STAMP | ||
401 | default 4 if BFIN537_STAMP | ||
402 | default 5 if BFIN533_BLUETECHNIX_CM | ||
403 | default 4 if BFIN537_BLUETECHNIX_CM | ||
404 | default 4 if BFIN561_BLUETECHNIX_CM | ||
405 | default 5 if BFIN561_EZKIT | ||
406 | help | ||
407 | This sets the frequency of the system clock (including SDRAM or DDR). | ||
408 | This can be between 1 and 15 | ||
409 | System Clock = (PLL frequency) / (this setting) | ||
410 | |||
411 | # | ||
412 | # Max & Min Speeds for various Chips | ||
413 | # | ||
414 | config MAX_VCO_HZ | ||
415 | int | ||
416 | default 600000000 if BF522 | ||
417 | default 600000000 if BF525 | ||
418 | default 600000000 if BF527 | ||
419 | default 400000000 if BF531 | ||
420 | default 400000000 if BF532 | ||
421 | default 750000000 if BF533 | ||
422 | default 500000000 if BF534 | ||
423 | default 400000000 if BF536 | ||
424 | default 600000000 if BF537 | ||
425 | default 533000000 if BF538 | ||
426 | default 533000000 if BF539 | ||
427 | default 600000000 if BF542 | ||
428 | default 533000000 if BF544 | ||
429 | default 533000000 if BF549 | ||
430 | default 600000000 if BF561 | ||
431 | |||
432 | config MIN_VCO_HZ | ||
433 | int | ||
434 | default 50000000 | ||
435 | |||
436 | config MAX_SCLK_HZ | ||
437 | int | ||
438 | default 133000000 | ||
439 | |||
440 | config MIN_SCLK_HZ | ||
441 | int | ||
442 | default 27000000 | ||
443 | |||
444 | comment "Kernel Timer/Scheduler" | ||
445 | |||
446 | source kernel/Kconfig.hz | ||
447 | |||
448 | comment "Memory Setup" | ||
449 | |||
338 | config MEM_SIZE | 450 | config MEM_SIZE |
339 | int "SDRAM Memory Size in MBytes" | 451 | int "SDRAM Memory Size in MBytes" |
340 | default 32 if BFIN533_EZKIT | 452 | default 32 if BFIN533_EZKIT |
@@ -364,15 +476,16 @@ config ENET_FLASH_PIN | |||
364 | config BOOT_LOAD | 476 | config BOOT_LOAD |
365 | hex "Kernel load address for booting" | 477 | hex "Kernel load address for booting" |
366 | default "0x1000" | 478 | default "0x1000" |
479 | range 0x1000 0x20000000 | ||
367 | help | 480 | help |
368 | This option allows you to set the load address of the kernel. | 481 | This option allows you to set the load address of the kernel. |
369 | This can be useful if you are on a board which has a small amount | 482 | This can be useful if you are on a board which has a small amount |
370 | of memory or you wish to reserve some memory at the beginning of | 483 | of memory or you wish to reserve some memory at the beginning of |
371 | the address space. | 484 | the address space. |
372 | 485 | ||
373 | Note that you generally want to keep this value at or above 4k | 486 | Note that you need to keep this value above 4k (0x1000) as this |
374 | (0x1000) as this will allow the kernel to capture NULL pointer | 487 | memory region is used to capture NULL pointer references as well |
375 | references. | 488 | as some core kernel functions. |
376 | 489 | ||
377 | comment "LED Status Indicators" | 490 | comment "LED Status Indicators" |
378 | depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM) | 491 | depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM) |
@@ -408,6 +521,52 @@ config BFIN_IDLE_LED_NUM | |||
408 | help | 521 | help |
409 | Select the LED (marked on the board) for you to blink. | 522 | Select the LED (marked on the board) for you to blink. |
410 | 523 | ||
524 | choice | ||
525 | prompt "Blackfin Exception Scratch Register" | ||
526 | default BFIN_SCRATCH_REG_RETN | ||
527 | help | ||
528 | Select the resource to reserve for the Exception handler: | ||
529 | - RETN: Non-Maskable Interrupt (NMI) | ||
530 | - RETE: Exception Return (JTAG/ICE) | ||
531 | - CYCLES: Performance counter | ||
532 | |||
533 | If you are unsure, please select "RETN". | ||
534 | |||
535 | config BFIN_SCRATCH_REG_RETN | ||
536 | bool "RETN" | ||
537 | help | ||
538 | Use the RETN register in the Blackfin exception handler | ||
539 | as a stack scratch register. This means you cannot | ||
540 | safely use NMI on the Blackfin while running Linux, but | ||
541 | you can debug the system with a JTAG ICE and use the | ||
542 | CYCLES performance registers. | ||
543 | |||
544 | If you are unsure, please select "RETN". | ||
545 | |||
546 | config BFIN_SCRATCH_REG_RETE | ||
547 | bool "RETE" | ||
548 | help | ||
549 | Use the RETE register in the Blackfin exception handler | ||
550 | as a stack scratch register. This means you cannot | ||
551 | safely use a JTAG ICE while debugging a Blackfin board, | ||
552 | but you can safely use the CYCLES performance registers | ||
553 | and the NMI. | ||
554 | |||
555 | If you are unsure, please select "RETN". | ||
556 | |||
557 | config BFIN_SCRATCH_REG_CYCLES | ||
558 | bool "CYCLES" | ||
559 | help | ||
560 | Use the CYCLES register in the Blackfin exception handler | ||
561 | as a stack scratch register. This means you cannot | ||
562 | safely use the CYCLES performance registers on a Blackfin | ||
563 | board at anytime, but you can debug the system with a JTAG | ||
564 | ICE and use the NMI. | ||
565 | |||
566 | If you are unsure, please select "RETN". | ||
567 | |||
568 | endchoice | ||
569 | |||
411 | # | 570 | # |
412 | # Sorry - but you need to put the hex address here - | 571 | # Sorry - but you need to put the hex address here - |
413 | # | 572 | # |
@@ -448,10 +607,6 @@ endmenu | |||
448 | 607 | ||
449 | menu "Blackfin Kernel Optimizations" | 608 | menu "Blackfin Kernel Optimizations" |
450 | 609 | ||
451 | comment "Timer Tick" | ||
452 | |||
453 | source kernel/Kconfig.hz | ||
454 | |||
455 | comment "Memory Optimizations" | 610 | comment "Memory Optimizations" |
456 | 611 | ||
457 | config I_ENTRY_L1 | 612 | config I_ENTRY_L1 |
@@ -614,22 +769,22 @@ endchoice | |||
614 | 769 | ||
615 | 770 | ||
616 | comment "Cache Support" | 771 | comment "Cache Support" |
617 | config BLKFIN_CACHE | 772 | config BFIN_ICACHE |
618 | bool "Enable ICACHE" | 773 | bool "Enable ICACHE" |
619 | config BLKFIN_DCACHE | 774 | config BFIN_DCACHE |
620 | bool "Enable DCACHE" | 775 | bool "Enable DCACHE" |
621 | config BLKFIN_DCACHE_BANKA | 776 | config BFIN_DCACHE_BANKA |
622 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" | 777 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" |
623 | depends on BLKFIN_DCACHE && !BF531 | 778 | depends on BFIN_DCACHE && !BF531 |
624 | default n | 779 | default n |
625 | config BLKFIN_CACHE_LOCK | 780 | config BFIN_ICACHE_LOCK |
626 | bool "Enable Cache Locking" | 781 | bool "Enable Instruction Cache Locking" |
627 | 782 | ||
628 | choice | 783 | choice |
629 | prompt "Policy" | 784 | prompt "Policy" |
630 | depends on BLKFIN_DCACHE | 785 | depends on BFIN_DCACHE |
631 | default BLKFIN_WB | 786 | default BFIN_WB |
632 | config BLKFIN_WB | 787 | config BFIN_WB |
633 | bool "Write back" | 788 | bool "Write back" |
634 | help | 789 | help |
635 | Write Back Policy: | 790 | Write Back Policy: |
@@ -646,7 +801,7 @@ config BLKFIN_WB | |||
646 | If you are unsure of the options and you want to be safe, | 801 | If you are unsure of the options and you want to be safe, |
647 | then go with Write Through. | 802 | then go with Write Through. |
648 | 803 | ||
649 | config BLKFIN_WT | 804 | config BFIN_WT |
650 | bool "Write through" | 805 | bool "Write through" |
651 | help | 806 | help |
652 | Write Back Policy: | 807 | Write Back Policy: |
@@ -672,66 +827,9 @@ config L1_MAX_PIECE | |||
672 | Set the max memory pieces for the L1 SRAM allocation algorithm. | 827 | Set the max memory pieces for the L1 SRAM allocation algorithm. |
673 | Min value is 16. Max value is 1024. | 828 | Min value is 16. Max value is 1024. |
674 | 829 | ||
675 | menu "Clock Settings" | ||
676 | |||
677 | |||
678 | config BFIN_KERNEL_CLOCK | ||
679 | bool "Re-program Clocks while Kernel boots?" | ||
680 | default n | ||
681 | help | ||
682 | This option decides if kernel clocks are re-programed from the | ||
683 | bootloader settings. If the clocks are not set, the SDRAM settings | ||
684 | are also not changed, and the Bootloader does 100% of the hardware | ||
685 | configuration. | ||
686 | |||
687 | config VCO_MULT | ||
688 | int "VCO Multiplier" | ||
689 | depends on BFIN_KERNEL_CLOCK | ||
690 | default "22" if BFIN533_EZKIT | ||
691 | default "45" if BFIN533_STAMP | ||
692 | default "20" if BFIN537_STAMP | ||
693 | default "22" if BFIN533_BLUETECHNIX_CM | ||
694 | default "20" if BFIN537_BLUETECHNIX_CM | ||
695 | default "20" if BFIN561_BLUETECHNIX_CM | ||
696 | default "20" if BFIN561_EZKIT | ||
697 | |||
698 | config CCLK_DIV | ||
699 | int "Core Clock Divider" | ||
700 | depends on BFIN_KERNEL_CLOCK | ||
701 | default 1 if BFIN533_EZKIT | ||
702 | default 1 if BFIN533_STAMP | ||
703 | default 1 if BFIN537_STAMP | ||
704 | default 1 if BFIN533_BLUETECHNIX_CM | ||
705 | default 1 if BFIN537_BLUETECHNIX_CM | ||
706 | default 1 if BFIN561_BLUETECHNIX_CM | ||
707 | default 1 if BFIN561_EZKIT | ||
708 | |||
709 | config SCLK_DIV | ||
710 | int "System Clock Divider" | ||
711 | depends on BFIN_KERNEL_CLOCK | ||
712 | default 5 if BFIN533_EZKIT | ||
713 | default 5 if BFIN533_STAMP | ||
714 | default 4 if BFIN537_STAMP | ||
715 | default 5 if BFIN533_BLUETECHNIX_CM | ||
716 | default 4 if BFIN537_BLUETECHNIX_CM | ||
717 | default 4 if BFIN561_BLUETECHNIX_CM | ||
718 | default 5 if BFIN561_EZKIT | ||
719 | |||
720 | config CLKIN_HALF | ||
721 | bool "Half ClockIn" | ||
722 | depends on BFIN_KERNEL_CLOCK | ||
723 | default n | ||
724 | |||
725 | config PLL_BYPASS | ||
726 | bool "Bypass PLL" | ||
727 | depends on BFIN_KERNEL_CLOCK | ||
728 | default n | ||
729 | |||
730 | endmenu | ||
731 | |||
732 | comment "Asynchonous Memory Configuration" | 830 | comment "Asynchonous Memory Configuration" |
733 | 831 | ||
734 | menu "EBIU_AMBCTL Global Control" | 832 | menu "EBIU_AMGCTL Global Control" |
735 | config C_AMCKEN | 833 | config C_AMCKEN |
736 | bool "Enable CLKOUT" | 834 | bool "Enable CLKOUT" |
737 | default y | 835 | default y |
@@ -941,24 +1039,6 @@ config DEBUG_ICACHE_CHECK | |||
941 | also relocates the irq_panic() function to L1 memory, (which is | 1039 | also relocates the irq_panic() function to L1 memory, (which is |
942 | un-cached). | 1040 | un-cached). |
943 | 1041 | ||
944 | config DEBUG_KERNEL_START | ||
945 | bool "Debug Kernel Startup" | ||
946 | depends on DEBUG_KERNEL | ||
947 | help | ||
948 | Say Y here to put in an mini-execption handler before the kernel | ||
949 | replaces the bootloader exception handler. This will stop kernels | ||
950 | from dieing at startup with no visible error messages. | ||
951 | |||
952 | config DEBUG_SERIAL_EARLY_INIT | ||
953 | bool "Initialize serial driver early" | ||
954 | default n | ||
955 | depends on SERIAL_BFIN | ||
956 | help | ||
957 | Say Y here if you want to get kernel output early when kernel | ||
958 | crashes before the normal console initialization. If this option | ||
959 | is enable, console output will always go to the ttyBF0, no matter | ||
960 | what kernel boot paramters you set. | ||
961 | |||
962 | config DEBUG_HUNT_FOR_ZERO | 1042 | config DEBUG_HUNT_FOR_ZERO |
963 | bool "Catch NULL pointer reads/writes" | 1043 | bool "Catch NULL pointer reads/writes" |
964 | default y | 1044 | default y |
@@ -973,8 +1053,89 @@ config DEBUG_HUNT_FOR_ZERO | |||
973 | Enabling this option will take up an extra entry in CPLB table. | 1053 | Enabling this option will take up an extra entry in CPLB table. |
974 | Otherwise, there is no extra overhead. | 1054 | Otherwise, there is no extra overhead. |
975 | 1055 | ||
1056 | config DEBUG_BFIN_HWTRACE_ON | ||
1057 | bool "Turn on Blackfin's Hardware Trace" | ||
1058 | default y | ||
1059 | help | ||
1060 | All Blackfins include a Trace Unit which stores a history of the last | ||
1061 | 16 changes in program flow taken by the program sequencer. The history | ||
1062 | allows the user to recreate the program sequencer’s recent path. This | ||
1063 | can be handy when an application dies - we print out the execution | ||
1064 | path of how it got to the offending instruction. | ||
1065 | |||
1066 | By turning this off, you may save a tiny amount of power. | ||
1067 | |||
1068 | choice | ||
1069 | prompt "Omit loop Tracing" | ||
1070 | default DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1071 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1072 | help | ||
1073 | The trace buffer can be configured to omit recording of changes in | ||
1074 | program flow that match either the last entry or one of the last | ||
1075 | two entries. Omitting one of these entries from the record prevents | ||
1076 | the trace buffer from overflowing because of any sort of loop (for, do | ||
1077 | while, etc) in the program. | ||
1078 | |||
1079 | Because zero-overhead Hardware loops are not recorded in the trace buffer, | ||
1080 | this feature can be used to prevent trace overflow from loops that | ||
1081 | are nested four deep. | ||
1082 | |||
1083 | config DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1084 | bool "Trace all Loops" | ||
1085 | help | ||
1086 | The trace buffer records all changes of flow | ||
1087 | |||
1088 | config DEBUG_BFIN_HWTRACE_COMPRESSION_ONE | ||
1089 | bool "Compress single-level loops" | ||
1090 | help | ||
1091 | The trace buffer does not record single loops - helpful if trace | ||
1092 | is spinning on a while or do loop. | ||
1093 | |||
1094 | config DEBUG_BFIN_HWTRACE_COMPRESSION_TWO | ||
1095 | bool "Compress two-level loops" | ||
1096 | help | ||
1097 | The trace buffer does not record loops two levels deep. Helpful if | ||
1098 | the trace is spinning in a nested loop | ||
1099 | |||
1100 | endchoice | ||
1101 | |||
1102 | config DEBUG_BFIN_HWTRACE_COMPRESSION | ||
1103 | int | ||
1104 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1105 | default 0 if DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1106 | default 1 if DEBUG_BFIN_HWTRACE_COMPRESSION_ONE | ||
1107 | default 2 if DEBUG_BFIN_HWTRACE_COMPRESSION_TWO | ||
1108 | |||
1109 | |||
1110 | config DEBUG_BFIN_HWTRACE_EXPAND | ||
1111 | bool "Expand Trace Buffer greater than 16 entries" | ||
1112 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1113 | default n | ||
1114 | help | ||
1115 | By selecting this option, every time the 16 hardware entries in | ||
1116 | the Blackfin's HW Trace buffer are full, the kernel will move them | ||
1117 | into a software buffer, for dumping when there is an issue. This | ||
1118 | has a great impact on performance, (an interrupt every 16 change of | ||
1119 | flows) and should normally be turned off, except in those nasty | ||
1120 | debugging sessions | ||
1121 | |||
1122 | config DEBUG_BFIN_HWTRACE_EXPAND_LEN | ||
1123 | int "Size of Trace buffer (in power of 2k)" | ||
1124 | range 0 4 | ||
1125 | depends on DEBUG_BFIN_HWTRACE_EXPAND | ||
1126 | default 1 | ||
1127 | help | ||
1128 | This sets the size of the software buffer that the trace information | ||
1129 | is kept in. | ||
1130 | 0 for (2^0) 1k, or 256 entries, | ||
1131 | 1 for (2^1) 2k, or 512 entries, | ||
1132 | 2 for (2^2) 4k, or 1024 entries, | ||
1133 | 3 for (2^3) 8k, or 2048 entries, | ||
1134 | 4 for (2^4) 16k, or 4096 entries | ||
1135 | |||
976 | config DEBUG_BFIN_NO_KERN_HWTRACE | 1136 | config DEBUG_BFIN_NO_KERN_HWTRACE |
977 | bool "Trace user apps (turn off hwtrace in kernel)" | 1137 | bool "Trace user apps (turn off hwtrace in kernel)" |
1138 | depends on DEBUG_BFIN_HWTRACE_ON | ||
978 | default n | 1139 | default n |
979 | help | 1140 | help |
980 | Some pieces of the kernel contain a lot of flow changes which can | 1141 | Some pieces of the kernel contain a lot of flow changes which can |
@@ -985,6 +1146,20 @@ config DEBUG_BFIN_NO_KERN_HWTRACE | |||
985 | Say Y here to disable hardware tracing in some known "jumpy" pieces | 1146 | Say Y here to disable hardware tracing in some known "jumpy" pieces |
986 | of code so that the trace buffer will extend further back. | 1147 | of code so that the trace buffer will extend further back. |
987 | 1148 | ||
1149 | config EARLY_PRINTK | ||
1150 | bool "Early printk" | ||
1151 | default n | ||
1152 | help | ||
1153 | This option enables special console drivers which allow the kernel | ||
1154 | to print messages very early in the bootup process. | ||
1155 | |||
1156 | This is useful for kernel debugging when your machine crashes very | ||
1157 | early before the console code is initialized. After enabling this | ||
1158 | feature, you must add "earlyprintk=serial,uart0,57600" to the | ||
1159 | command line (bootargs). It is safe to say Y here in all cases, as | ||
1160 | all of this lives in the init section and is thrown away after the | ||
1161 | kernel boots completely. | ||
1162 | |||
988 | config DUAL_CORE_TEST_MODULE | 1163 | config DUAL_CORE_TEST_MODULE |
989 | tristate "Dual Core Test Module" | 1164 | tristate "Dual Core Test Module" |
990 | depends on (BF561) | 1165 | depends on (BF561) |
diff --git a/arch/blackfin/configs/BF533-EZKIT_defconfig b/arch/blackfin/configs/BF533-EZKIT_defconfig index 1cf1ab28dc66..57f58d5cd47a 100644 --- a/arch/blackfin/configs/BF533-EZKIT_defconfig +++ b/arch/blackfin/configs/BF533-EZKIT_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -40,7 +41,9 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
40 | # CONFIG_TASKSTATS is not set | 41 | # CONFIG_TASKSTATS is not set |
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | CONFIG_IKCONFIG=y |
45 | CONFIG_IKCONFIG_PROC=y | ||
46 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 47 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 48 | # CONFIG_RELAY is not set |
46 | CONFIG_BLK_DEV_INITRD=y | 49 | CONFIG_BLK_DEV_INITRD=y |
@@ -58,15 +61,20 @@ CONFIG_BUG=y | |||
58 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
59 | CONFIG_BASE_FULL=y | 62 | CONFIG_BASE_FULL=y |
60 | CONFIG_FUTEX=y | 63 | CONFIG_FUTEX=y |
64 | CONFIG_ANON_INODES=y | ||
65 | CONFIG_EPOLL=y | ||
66 | CONFIG_SIGNALFD=y | ||
67 | CONFIG_TIMERFD=y | ||
68 | CONFIG_EVENTFD=y | ||
69 | CONFIG_VM_EVENT_COUNTERS=y | ||
61 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 70 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 |
62 | CONFIG_BUDDY=y | ||
63 | # CONFIG_NP2 is not set | 71 | # CONFIG_NP2 is not set |
64 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
65 | CONFIG_VM_EVENT_COUNTERS=y | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | ||
66 | CONFIG_RT_MUTEXES=y | 75 | CONFIG_RT_MUTEXES=y |
67 | CONFIG_TINY_SHMEM=y | 76 | CONFIG_TINY_SHMEM=y |
68 | CONFIG_BASE_SMALL=0 | 77 | CONFIG_BASE_SMALL=0 |
69 | # CONFIG_SLOB is not set | ||
70 | 78 | ||
71 | # | 79 | # |
72 | # Loadable module support | 80 | # Loadable module support |
@@ -184,19 +192,17 @@ CONFIG_WDTIMER=13 | |||
184 | # CONFIG_CMDLINE_BOOL is not set | 192 | # CONFIG_CMDLINE_BOOL is not set |
185 | 193 | ||
186 | # | 194 | # |
187 | # Board Setup | 195 | # Clock/PLL Setup |
188 | # | 196 | # |
189 | CONFIG_CLKIN_HZ=27000000 | 197 | CONFIG_CLKIN_HZ=27000000 |
190 | CONFIG_MEM_SIZE=32 | 198 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
191 | CONFIG_MEM_ADD_WIDTH=9 | 199 | CONFIG_MAX_VCO_HZ=750000000 |
192 | CONFIG_BOOT_LOAD=0x1000 | 200 | CONFIG_MIN_VCO_HZ=50000000 |
193 | 201 | CONFIG_MAX_SCLK_HZ=133000000 | |
194 | # | 202 | CONFIG_MIN_SCLK_HZ=27000000 |
195 | # Blackfin Kernel Optimizations | ||
196 | # | ||
197 | 203 | ||
198 | # | 204 | # |
199 | # Timer Tick | 205 | # Kernel Timer/Scheduler |
200 | # | 206 | # |
201 | # CONFIG_HZ_100 is not set | 207 | # CONFIG_HZ_100 is not set |
202 | CONFIG_HZ_250=y | 208 | CONFIG_HZ_250=y |
@@ -205,6 +211,20 @@ CONFIG_HZ_250=y | |||
205 | CONFIG_HZ=250 | 211 | CONFIG_HZ=250 |
206 | 212 | ||
207 | # | 213 | # |
214 | # Memory Setup | ||
215 | # | ||
216 | CONFIG_MEM_SIZE=32 | ||
217 | CONFIG_MEM_ADD_WIDTH=9 | ||
218 | CONFIG_BOOT_LOAD=0x1000 | ||
219 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
220 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
221 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
222 | |||
223 | # | ||
224 | # Blackfin Kernel Optimizations | ||
225 | # | ||
226 | |||
227 | # | ||
208 | # Memory Optimizations | 228 | # Memory Optimizations |
209 | # | 229 | # |
210 | CONFIG_I_ENTRY_L1=y | 230 | CONFIG_I_ENTRY_L1=y |
@@ -243,20 +263,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
243 | # | 263 | # |
244 | # Cache Support | 264 | # Cache Support |
245 | # | 265 | # |
246 | CONFIG_BLKFIN_CACHE=y | 266 | CONFIG_BFIN_ICACHE=y |
247 | CONFIG_BLKFIN_DCACHE=y | 267 | CONFIG_BFIN_DCACHE=y |
248 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 268 | # CONFIG_BFIN_DCACHE_BANKA is not set |
249 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 269 | # CONFIG_BFIN_ICACHE_LOCK is not set |
250 | # CONFIG_BLKFIN_WB is not set | 270 | # CONFIG_BFIN_WB is not set |
251 | CONFIG_BLKFIN_WT=y | 271 | CONFIG_BFIN_WT=y |
252 | CONFIG_L1_MAX_PIECE=16 | 272 | CONFIG_L1_MAX_PIECE=16 |
253 | 273 | ||
254 | # | 274 | # |
255 | # Clock Settings | ||
256 | # | ||
257 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
258 | |||
259 | # | ||
260 | # Asynchonous Memory Configuration | 275 | # Asynchonous Memory Configuration |
261 | # | 276 | # |
262 | 277 | ||
@@ -277,12 +292,13 @@ CONFIG_C_AMBEN_ALL=y | |||
277 | CONFIG_BANK_0=0x7BB0 | 292 | CONFIG_BANK_0=0x7BB0 |
278 | CONFIG_BANK_1=0x7BB0 | 293 | CONFIG_BANK_1=0x7BB0 |
279 | CONFIG_BANK_2=0x7BB0 | 294 | CONFIG_BANK_2=0x7BB0 |
280 | CONFIG_BANK_3=0x99B3 | 295 | CONFIG_BANK_3=0xAAC3 |
281 | 296 | ||
282 | # | 297 | # |
283 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 298 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
284 | # | 299 | # |
285 | # CONFIG_PCI is not set | 300 | # CONFIG_PCI is not set |
301 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
286 | 302 | ||
287 | # | 303 | # |
288 | # PCCARD (PCMCIA/CardBus) support | 304 | # PCCARD (PCMCIA/CardBus) support |
@@ -290,10 +306,6 @@ CONFIG_BANK_3=0x99B3 | |||
290 | # CONFIG_PCCARD is not set | 306 | # CONFIG_PCCARD is not set |
291 | 307 | ||
292 | # | 308 | # |
293 | # PCI Hotplug Support | ||
294 | # | ||
295 | |||
296 | # | ||
297 | # Executable file formats | 309 | # Executable file formats |
298 | # | 310 | # |
299 | CONFIG_BINFMT_ELF_FDPIC=y | 311 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -327,7 +339,6 @@ CONFIG_NET=y | |||
327 | # | 339 | # |
328 | # Networking options | 340 | # Networking options |
329 | # | 341 | # |
330 | # CONFIG_NETDEBUG is not set | ||
331 | CONFIG_PACKET=y | 342 | CONFIG_PACKET=y |
332 | # CONFIG_PACKET_MMAP is not set | 343 | # CONFIG_PACKET_MMAP is not set |
333 | CONFIG_UNIX=y | 344 | CONFIG_UNIX=y |
@@ -368,20 +379,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # CONFIG_NETLABEL is not set | 379 | # CONFIG_NETLABEL is not set |
369 | # CONFIG_NETWORK_SECMARK is not set | 380 | # CONFIG_NETWORK_SECMARK is not set |
370 | # CONFIG_NETFILTER is not set | 381 | # CONFIG_NETFILTER is not set |
371 | |||
372 | # | ||
373 | # DCCP Configuration (EXPERIMENTAL) | ||
374 | # | ||
375 | # CONFIG_IP_DCCP is not set | 382 | # CONFIG_IP_DCCP is not set |
376 | |||
377 | # | ||
378 | # SCTP Configuration (EXPERIMENTAL) | ||
379 | # | ||
380 | # CONFIG_IP_SCTP is not set | 383 | # CONFIG_IP_SCTP is not set |
381 | |||
382 | # | ||
383 | # TIPC Configuration (EXPERIMENTAL) | ||
384 | # | ||
385 | # CONFIG_TIPC is not set | 384 | # CONFIG_TIPC is not set |
386 | # CONFIG_ATM is not set | 385 | # CONFIG_ATM is not set |
387 | # CONFIG_BRIDGE is not set | 386 | # CONFIG_BRIDGE is not set |
@@ -448,7 +447,16 @@ CONFIG_IRTTY_SIR=m | |||
448 | # FIR device drivers | 447 | # FIR device drivers |
449 | # | 448 | # |
450 | # CONFIG_BT is not set | 449 | # CONFIG_BT is not set |
450 | # CONFIG_AF_RXRPC is not set | ||
451 | |||
452 | # | ||
453 | # Wireless | ||
454 | # | ||
455 | # CONFIG_CFG80211 is not set | ||
456 | # CONFIG_WIRELESS_EXT is not set | ||
457 | # CONFIG_MAC80211 is not set | ||
451 | # CONFIG_IEEE80211 is not set | 458 | # CONFIG_IEEE80211 is not set |
459 | # CONFIG_RFKILL is not set | ||
452 | 460 | ||
453 | # | 461 | # |
454 | # Device Drivers | 462 | # Device Drivers |
@@ -466,10 +474,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
466 | # Connector - unified userspace <-> kernelspace linker | 474 | # Connector - unified userspace <-> kernelspace linker |
467 | # | 475 | # |
468 | # CONFIG_CONNECTOR is not set | 476 | # CONFIG_CONNECTOR is not set |
469 | |||
470 | # | ||
471 | # Memory Technology Devices (MTD) | ||
472 | # | ||
473 | CONFIG_MTD=y | 477 | CONFIG_MTD=y |
474 | # CONFIG_MTD_DEBUG is not set | 478 | # CONFIG_MTD_DEBUG is not set |
475 | # CONFIG_MTD_CONCAT is not set | 479 | # CONFIG_MTD_CONCAT is not set |
@@ -513,7 +517,6 @@ CONFIG_MTD_MW320D=m | |||
513 | CONFIG_MTD_RAM=y | 517 | CONFIG_MTD_RAM=y |
514 | CONFIG_MTD_ROM=m | 518 | CONFIG_MTD_ROM=m |
515 | # CONFIG_MTD_ABSENT is not set | 519 | # CONFIG_MTD_ABSENT is not set |
516 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
517 | 520 | ||
518 | # | 521 | # |
519 | # Mapping drivers for chip access | 522 | # Mapping drivers for chip access |
@@ -550,16 +553,13 @@ CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | |||
550 | # CONFIG_MTD_DOC2000 is not set | 553 | # CONFIG_MTD_DOC2000 is not set |
551 | # CONFIG_MTD_DOC2001 is not set | 554 | # CONFIG_MTD_DOC2001 is not set |
552 | # CONFIG_MTD_DOC2001PLUS is not set | 555 | # CONFIG_MTD_DOC2001PLUS is not set |
553 | |||
554 | # | ||
555 | # NAND Flash Device Drivers | ||
556 | # | ||
557 | # CONFIG_MTD_NAND is not set | 556 | # CONFIG_MTD_NAND is not set |
557 | # CONFIG_MTD_ONENAND is not set | ||
558 | 558 | ||
559 | # | 559 | # |
560 | # OneNAND Flash Device Drivers | 560 | # UBI - Unsorted block images |
561 | # | 561 | # |
562 | # CONFIG_MTD_ONENAND is not set | 562 | # CONFIG_MTD_UBI is not set |
563 | 563 | ||
564 | # | 564 | # |
565 | # Parallel port support | 565 | # Parallel port support |
@@ -587,10 +587,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
587 | # | 587 | # |
588 | # Misc devices | 588 | # Misc devices |
589 | # | 589 | # |
590 | |||
591 | # | ||
592 | # ATA/ATAPI/MFM/RLL support | ||
593 | # | ||
594 | # CONFIG_IDE is not set | 590 | # CONFIG_IDE is not set |
595 | 591 | ||
596 | # | 592 | # |
@@ -599,10 +595,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
599 | # CONFIG_RAID_ATTRS is not set | 595 | # CONFIG_RAID_ATTRS is not set |
600 | # CONFIG_SCSI is not set | 596 | # CONFIG_SCSI is not set |
601 | # CONFIG_SCSI_NETLINK is not set | 597 | # CONFIG_SCSI_NETLINK is not set |
602 | |||
603 | # | ||
604 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
605 | # | ||
606 | # CONFIG_ATA is not set | 598 | # CONFIG_ATA is not set |
607 | 599 | ||
608 | # | 600 | # |
@@ -611,19 +603,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
611 | # CONFIG_MD is not set | 603 | # CONFIG_MD is not set |
612 | 604 | ||
613 | # | 605 | # |
614 | # Fusion MPT device support | ||
615 | # | ||
616 | # CONFIG_FUSION is not set | ||
617 | |||
618 | # | ||
619 | # IEEE 1394 (FireWire) support | ||
620 | # | ||
621 | |||
622 | # | ||
623 | # I2O device support | ||
624 | # | ||
625 | |||
626 | # | ||
627 | # Network device support | 606 | # Network device support |
628 | # | 607 | # |
629 | CONFIG_NETDEVICES=y | 608 | CONFIG_NETDEVICES=y |
@@ -631,10 +610,6 @@ CONFIG_NETDEVICES=y | |||
631 | # CONFIG_BONDING is not set | 610 | # CONFIG_BONDING is not set |
632 | # CONFIG_EQUALIZER is not set | 611 | # CONFIG_EQUALIZER is not set |
633 | # CONFIG_TUN is not set | 612 | # CONFIG_TUN is not set |
634 | |||
635 | # | ||
636 | # PHY device support | ||
637 | # | ||
638 | # CONFIG_PHYLIB is not set | 613 | # CONFIG_PHYLIB is not set |
639 | 614 | ||
640 | # | 615 | # |
@@ -644,27 +619,15 @@ CONFIG_NET_ETHERNET=y | |||
644 | CONFIG_MII=y | 619 | CONFIG_MII=y |
645 | CONFIG_SMC91X=y | 620 | CONFIG_SMC91X=y |
646 | # CONFIG_SMSC911X is not set | 621 | # CONFIG_SMSC911X is not set |
622 | # CONFIG_DM9000 is not set | ||
623 | CONFIG_NETDEV_1000=y | ||
624 | CONFIG_NETDEV_10000=y | ||
647 | 625 | ||
648 | # | 626 | # |
649 | # Ethernet (1000 Mbit) | 627 | # Wireless LAN |
650 | # | ||
651 | |||
652 | # | ||
653 | # Ethernet (10000 Mbit) | ||
654 | # | ||
655 | |||
656 | # | ||
657 | # Token Ring devices | ||
658 | # | ||
659 | |||
660 | # | ||
661 | # Wireless LAN (non-hamradio) | ||
662 | # | ||
663 | # CONFIG_NET_RADIO is not set | ||
664 | |||
665 | # | ||
666 | # Wan interfaces | ||
667 | # | 628 | # |
629 | # CONFIG_WLAN_PRE80211 is not set | ||
630 | # CONFIG_WLAN_80211 is not set | ||
668 | # CONFIG_WAN is not set | 631 | # CONFIG_WAN is not set |
669 | # CONFIG_PPP is not set | 632 | # CONFIG_PPP is not set |
670 | # CONFIG_SLIP is not set | 633 | # CONFIG_SLIP is not set |
@@ -688,6 +651,7 @@ CONFIG_SMC91X=y | |||
688 | # | 651 | # |
689 | CONFIG_INPUT=m | 652 | CONFIG_INPUT=m |
690 | # CONFIG_INPUT_FF_MEMLESS is not set | 653 | # CONFIG_INPUT_FF_MEMLESS is not set |
654 | # CONFIG_INPUT_POLLDEV is not set | ||
691 | 655 | ||
692 | # | 656 | # |
693 | # Userland interfaces | 657 | # Userland interfaces |
@@ -704,6 +668,7 @@ CONFIG_INPUT_EVDEV=m | |||
704 | # CONFIG_INPUT_KEYBOARD is not set | 668 | # CONFIG_INPUT_KEYBOARD is not set |
705 | # CONFIG_INPUT_MOUSE is not set | 669 | # CONFIG_INPUT_MOUSE is not set |
706 | # CONFIG_INPUT_JOYSTICK is not set | 670 | # CONFIG_INPUT_JOYSTICK is not set |
671 | # CONFIG_INPUT_TABLET is not set | ||
707 | # CONFIG_INPUT_TOUCHSCREEN is not set | 672 | # CONFIG_INPUT_TOUCHSCREEN is not set |
708 | # CONFIG_INPUT_MISC is not set | 673 | # CONFIG_INPUT_MISC is not set |
709 | 674 | ||
@@ -718,7 +683,7 @@ CONFIG_INPUT_EVDEV=m | |||
718 | # | 683 | # |
719 | # CONFIG_AD9960 is not set | 684 | # CONFIG_AD9960 is not set |
720 | # CONFIG_SPI_ADC_BF533 is not set | 685 | # CONFIG_SPI_ADC_BF533 is not set |
721 | # CONFIG_BF5xx_PFLAGS is not set | 686 | # CONFIG_BFIN_PFLAGS is not set |
722 | # CONFIG_BF5xx_PPIFCD is not set | 687 | # CONFIG_BF5xx_PPIFCD is not set |
723 | # CONFIG_BF5xx_TIMERS is not set | 688 | # CONFIG_BF5xx_TIMERS is not set |
724 | # CONFIG_BF5xx_PPI is not set | 689 | # CONFIG_BF5xx_PPI is not set |
@@ -758,10 +723,6 @@ CONFIG_UNIX98_PTYS=y | |||
758 | # IPMI | 723 | # IPMI |
759 | # | 724 | # |
760 | # CONFIG_IPMI_HANDLER is not set | 725 | # CONFIG_IPMI_HANDLER is not set |
761 | |||
762 | # | ||
763 | # Watchdog Cards | ||
764 | # | ||
765 | CONFIG_WATCHDOG=y | 726 | CONFIG_WATCHDOG=y |
766 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 727 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
767 | 728 | ||
@@ -773,7 +734,6 @@ CONFIG_BFIN_WDT=y | |||
773 | CONFIG_HW_RANDOM=y | 734 | CONFIG_HW_RANDOM=y |
774 | # CONFIG_GEN_RTC is not set | 735 | # CONFIG_GEN_RTC is not set |
775 | CONFIG_BLACKFIN_DPMC=y | 736 | CONFIG_BLACKFIN_DPMC=y |
776 | # CONFIG_DTLK is not set | ||
777 | # CONFIG_R3964 is not set | 737 | # CONFIG_R3964 is not set |
778 | # CONFIG_RAW_DRIVER is not set | 738 | # CONFIG_RAW_DRIVER is not set |
779 | 739 | ||
@@ -781,10 +741,6 @@ CONFIG_BLACKFIN_DPMC=y | |||
781 | # TPM devices | 741 | # TPM devices |
782 | # | 742 | # |
783 | # CONFIG_TCG_TPM is not set | 743 | # CONFIG_TCG_TPM is not set |
784 | |||
785 | # | ||
786 | # I2C support | ||
787 | # | ||
788 | # CONFIG_I2C is not set | 744 | # CONFIG_I2C is not set |
789 | 745 | ||
790 | # | 746 | # |
@@ -803,22 +759,22 @@ CONFIG_SPI_BFIN=y | |||
803 | # SPI Protocol Masters | 759 | # SPI Protocol Masters |
804 | # | 760 | # |
805 | # CONFIG_SPI_AT25 is not set | 761 | # CONFIG_SPI_AT25 is not set |
762 | # CONFIG_SPI_SPIDEV is not set | ||
806 | 763 | ||
807 | # | 764 | # |
808 | # Dallas's 1-wire bus | 765 | # Dallas's 1-wire bus |
809 | # | 766 | # |
810 | # CONFIG_W1 is not set | 767 | # CONFIG_W1 is not set |
811 | |||
812 | # | ||
813 | # Hardware Monitoring support | ||
814 | # | ||
815 | CONFIG_HWMON=y | 768 | CONFIG_HWMON=y |
816 | # CONFIG_HWMON_VID is not set | 769 | # CONFIG_HWMON_VID is not set |
817 | # CONFIG_SENSORS_ABITUGURU is not set | 770 | # CONFIG_SENSORS_ABITUGURU is not set |
818 | # CONFIG_SENSORS_F71805F is not set | 771 | # CONFIG_SENSORS_F71805F is not set |
819 | # CONFIG_SENSORS_LM70 is not set | 772 | # CONFIG_SENSORS_LM70 is not set |
820 | # CONFIG_SENSORS_PC87427 is not set | 773 | # CONFIG_SENSORS_PC87427 is not set |
774 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
775 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
821 | # CONFIG_SENSORS_VT1211 is not set | 776 | # CONFIG_SENSORS_VT1211 is not set |
777 | # CONFIG_SENSORS_W83627HF is not set | ||
822 | # CONFIG_HWMON_DEBUG_CHIP is not set | 778 | # CONFIG_HWMON_DEBUG_CHIP is not set |
823 | 779 | ||
824 | # | 780 | # |
@@ -830,16 +786,19 @@ CONFIG_HWMON=y | |||
830 | # Multimedia devices | 786 | # Multimedia devices |
831 | # | 787 | # |
832 | # CONFIG_VIDEO_DEV is not set | 788 | # CONFIG_VIDEO_DEV is not set |
789 | # CONFIG_DVB_CORE is not set | ||
790 | CONFIG_DAB=y | ||
833 | 791 | ||
834 | # | 792 | # |
835 | # Digital Video Broadcasting Devices | 793 | # Graphics support |
836 | # | 794 | # |
837 | # CONFIG_DVB is not set | 795 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
838 | 796 | ||
839 | # | 797 | # |
840 | # Graphics support | 798 | # Display device support |
841 | # | 799 | # |
842 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 800 | # CONFIG_DISPLAY_SUPPORT is not set |
801 | # CONFIG_VGASTATE is not set | ||
843 | # CONFIG_FB is not set | 802 | # CONFIG_FB is not set |
844 | 803 | ||
845 | # | 804 | # |
@@ -862,18 +821,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
862 | # CONFIG_USB is not set | 821 | # CONFIG_USB is not set |
863 | 822 | ||
864 | # | 823 | # |
865 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 824 | # Enable Host or Gadget support to see Inventra options |
866 | # | 825 | # |
867 | 826 | ||
868 | # | 827 | # |
869 | # USB Gadget Support | 828 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
870 | # | 829 | # |
871 | # CONFIG_USB_GADGET is not set | ||
872 | 830 | ||
873 | # | 831 | # |
874 | # MMC/SD Card support | 832 | # USB Gadget Support |
875 | # | 833 | # |
876 | # CONFIG_SPI_MMC is not set | 834 | # CONFIG_USB_GADGET is not set |
877 | # CONFIG_MMC is not set | 835 | # CONFIG_MMC is not set |
878 | 836 | ||
879 | # | 837 | # |
@@ -913,17 +871,29 @@ CONFIG_RTC_INTF_SYSFS=y | |||
913 | CONFIG_RTC_INTF_PROC=y | 871 | CONFIG_RTC_INTF_PROC=y |
914 | CONFIG_RTC_INTF_DEV=y | 872 | CONFIG_RTC_INTF_DEV=y |
915 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | 873 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set |
874 | # CONFIG_RTC_DRV_TEST is not set | ||
875 | |||
876 | # | ||
877 | # I2C RTC drivers | ||
878 | # | ||
879 | |||
880 | # | ||
881 | # SPI RTC drivers | ||
882 | # | ||
883 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
884 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
916 | 885 | ||
917 | # | 886 | # |
918 | # RTC drivers | 887 | # Platform RTC drivers |
919 | # | 888 | # |
920 | # CONFIG_RTC_DRV_DS1553 is not set | 889 | # CONFIG_RTC_DRV_DS1553 is not set |
921 | # CONFIG_RTC_DRV_DS1742 is not set | 890 | # CONFIG_RTC_DRV_DS1742 is not set |
922 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
923 | # CONFIG_RTC_DRV_M48T86 is not set | 891 | # CONFIG_RTC_DRV_M48T86 is not set |
924 | # CONFIG_RTC_DRV_TEST is not set | ||
925 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
926 | # CONFIG_RTC_DRV_V3020 is not set | 892 | # CONFIG_RTC_DRV_V3020 is not set |
893 | |||
894 | # | ||
895 | # on-CPU RTC drivers | ||
896 | # | ||
927 | CONFIG_RTC_DRV_BFIN=y | 897 | CONFIG_RTC_DRV_BFIN=y |
928 | 898 | ||
929 | # | 899 | # |
@@ -940,14 +910,6 @@ CONFIG_RTC_DRV_BFIN=y | |||
940 | # | 910 | # |
941 | 911 | ||
942 | # | 912 | # |
943 | # Auxiliary Display support | ||
944 | # | ||
945 | |||
946 | # | ||
947 | # Virtualization | ||
948 | # | ||
949 | |||
950 | # | ||
951 | # PBX support | 913 | # PBX support |
952 | # | 914 | # |
953 | # CONFIG_PBX is not set | 915 | # CONFIG_PBX is not set |
@@ -1047,6 +1009,7 @@ CONFIG_LOCKD=m | |||
1047 | CONFIG_LOCKD_V4=y | 1009 | CONFIG_LOCKD_V4=y |
1048 | CONFIG_NFS_COMMON=y | 1010 | CONFIG_NFS_COMMON=y |
1049 | CONFIG_SUNRPC=m | 1011 | CONFIG_SUNRPC=m |
1012 | # CONFIG_SUNRPC_BIND34 is not set | ||
1050 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1013 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1051 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1014 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1052 | CONFIG_SMB_FS=m | 1015 | CONFIG_SMB_FS=m |
@@ -1124,14 +1087,20 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1124 | CONFIG_ENABLE_MUST_CHECK=y | 1087 | CONFIG_ENABLE_MUST_CHECK=y |
1125 | # CONFIG_MAGIC_SYSRQ is not set | 1088 | # CONFIG_MAGIC_SYSRQ is not set |
1126 | # CONFIG_UNUSED_SYMBOLS is not set | 1089 | # CONFIG_UNUSED_SYMBOLS is not set |
1127 | # CONFIG_DEBUG_FS is not set | 1090 | CONFIG_DEBUG_FS=y |
1128 | # CONFIG_HEADERS_CHECK is not set | 1091 | # CONFIG_HEADERS_CHECK is not set |
1129 | # CONFIG_DEBUG_KERNEL is not set | 1092 | # CONFIG_DEBUG_KERNEL is not set |
1130 | CONFIG_LOG_BUF_SHIFT=14 | ||
1131 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1093 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1132 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | 1094 | CONFIG_DEBUG_MMRS=y |
1133 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1095 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1096 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1097 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1098 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1099 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1100 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1101 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1134 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1102 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1103 | CONFIG_EARLY_PRINTK=y | ||
1135 | CONFIG_CPLB_INFO=y | 1104 | CONFIG_CPLB_INFO=y |
1136 | CONFIG_ACCESS_CHECK=y | 1105 | CONFIG_ACCESS_CHECK=y |
1137 | 1106 | ||
@@ -1154,6 +1123,7 @@ CONFIG_SECURITY_CAPABILITIES=m | |||
1154 | CONFIG_BITREVERSE=y | 1123 | CONFIG_BITREVERSE=y |
1155 | CONFIG_CRC_CCITT=m | 1124 | CONFIG_CRC_CCITT=m |
1156 | # CONFIG_CRC16 is not set | 1125 | # CONFIG_CRC16 is not set |
1126 | # CONFIG_CRC_ITU_T is not set | ||
1157 | CONFIG_CRC32=y | 1127 | CONFIG_CRC32=y |
1158 | # CONFIG_LIBCRC32C is not set | 1128 | # CONFIG_LIBCRC32C is not set |
1159 | CONFIG_ZLIB_INFLATE=y | 1129 | CONFIG_ZLIB_INFLATE=y |
@@ -1161,3 +1131,4 @@ CONFIG_ZLIB_DEFLATE=m | |||
1161 | CONFIG_PLIST=y | 1131 | CONFIG_PLIST=y |
1162 | CONFIG_HAS_IOMEM=y | 1132 | CONFIG_HAS_IOMEM=y |
1163 | CONFIG_HAS_IOPORT=y | 1133 | CONFIG_HAS_IOPORT=y |
1134 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/BF533-STAMP_defconfig b/arch/blackfin/configs/BF533-STAMP_defconfig index 64b7f1b3b2af..306302baff06 100644 --- a/arch/blackfin/configs/BF533-STAMP_defconfig +++ b/arch/blackfin/configs/BF533-STAMP_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -40,7 +41,9 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
40 | # CONFIG_TASKSTATS is not set | 41 | # CONFIG_TASKSTATS is not set |
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | CONFIG_IKCONFIG=y |
45 | CONFIG_IKCONFIG_PROC=y | ||
46 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 47 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 48 | # CONFIG_RELAY is not set |
46 | CONFIG_BLK_DEV_INITRD=y | 49 | CONFIG_BLK_DEV_INITRD=y |
@@ -58,15 +61,20 @@ CONFIG_BUG=y | |||
58 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
59 | CONFIG_BASE_FULL=y | 62 | CONFIG_BASE_FULL=y |
60 | CONFIG_FUTEX=y | 63 | CONFIG_FUTEX=y |
64 | CONFIG_ANON_INODES=y | ||
65 | CONFIG_EPOLL=y | ||
66 | CONFIG_SIGNALFD=y | ||
67 | CONFIG_TIMERFD=y | ||
68 | CONFIG_EVENTFD=y | ||
69 | CONFIG_VM_EVENT_COUNTERS=y | ||
61 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 70 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 |
62 | CONFIG_BUDDY=y | ||
63 | # CONFIG_NP2 is not set | 71 | # CONFIG_NP2 is not set |
64 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
65 | CONFIG_VM_EVENT_COUNTERS=y | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | ||
66 | CONFIG_RT_MUTEXES=y | 75 | CONFIG_RT_MUTEXES=y |
67 | CONFIG_TINY_SHMEM=y | 76 | CONFIG_TINY_SHMEM=y |
68 | CONFIG_BASE_SMALL=0 | 77 | CONFIG_BASE_SMALL=0 |
69 | # CONFIG_SLOB is not set | ||
70 | 78 | ||
71 | # | 79 | # |
72 | # Loadable module support | 80 | # Loadable module support |
@@ -185,9 +193,27 @@ CONFIG_WDTIMER=13 | |||
185 | # CONFIG_CMDLINE_BOOL is not set | 193 | # CONFIG_CMDLINE_BOOL is not set |
186 | 194 | ||
187 | # | 195 | # |
188 | # Board Setup | 196 | # Clock/PLL Setup |
189 | # | 197 | # |
190 | CONFIG_CLKIN_HZ=11059200 | 198 | CONFIG_CLKIN_HZ=11059200 |
199 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
200 | CONFIG_MAX_VCO_HZ=750000000 | ||
201 | CONFIG_MIN_VCO_HZ=50000000 | ||
202 | CONFIG_MAX_SCLK_HZ=133000000 | ||
203 | CONFIG_MIN_SCLK_HZ=27000000 | ||
204 | |||
205 | # | ||
206 | # Kernel Timer/Scheduler | ||
207 | # | ||
208 | # CONFIG_HZ_100 is not set | ||
209 | CONFIG_HZ_250=y | ||
210 | # CONFIG_HZ_300 is not set | ||
211 | # CONFIG_HZ_1000 is not set | ||
212 | CONFIG_HZ=250 | ||
213 | |||
214 | # | ||
215 | # Memory Setup | ||
216 | # | ||
191 | CONFIG_MEM_SIZE=128 | 217 | CONFIG_MEM_SIZE=128 |
192 | CONFIG_MEM_ADD_WIDTH=11 | 218 | CONFIG_MEM_ADD_WIDTH=11 |
193 | CONFIG_ENET_FLASH_PIN=0 | 219 | CONFIG_ENET_FLASH_PIN=0 |
@@ -198,6 +224,9 @@ CONFIG_BOOT_LOAD=0x1000 | |||
198 | # | 224 | # |
199 | # CONFIG_BFIN_ALIVE_LED is not set | 225 | # CONFIG_BFIN_ALIVE_LED is not set |
200 | # CONFIG_BFIN_IDLE_LED is not set | 226 | # CONFIG_BFIN_IDLE_LED is not set |
227 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
228 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
229 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
201 | CONFIG_BFIN_ALIVE_LED_PORT=0xFFC00700 | 230 | CONFIG_BFIN_ALIVE_LED_PORT=0xFFC00700 |
202 | CONFIG_BFIN_ALIVE_LED_DPORT=0xFFC00730 | 231 | CONFIG_BFIN_ALIVE_LED_DPORT=0xFFC00730 |
203 | CONFIG_BFIN_IDLE_LED_PORT=0xFFC00700 | 232 | CONFIG_BFIN_IDLE_LED_PORT=0xFFC00700 |
@@ -208,15 +237,6 @@ CONFIG_BFIN_IDLE_LED_DPORT=0xFFC00730 | |||
208 | # | 237 | # |
209 | 238 | ||
210 | # | 239 | # |
211 | # Timer Tick | ||
212 | # | ||
213 | # CONFIG_HZ_100 is not set | ||
214 | CONFIG_HZ_250=y | ||
215 | # CONFIG_HZ_300 is not set | ||
216 | # CONFIG_HZ_1000 is not set | ||
217 | CONFIG_HZ=250 | ||
218 | |||
219 | # | ||
220 | # Memory Optimizations | 240 | # Memory Optimizations |
221 | # | 241 | # |
222 | CONFIG_I_ENTRY_L1=y | 242 | CONFIG_I_ENTRY_L1=y |
@@ -255,20 +275,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
255 | # | 275 | # |
256 | # Cache Support | 276 | # Cache Support |
257 | # | 277 | # |
258 | CONFIG_BLKFIN_CACHE=y | 278 | CONFIG_BFIN_ICACHE=y |
259 | CONFIG_BLKFIN_DCACHE=y | 279 | CONFIG_BFIN_DCACHE=y |
260 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 280 | # CONFIG_BFIN_DCACHE_BANKA is not set |
261 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 281 | # CONFIG_BFIN_ICACHE_LOCK is not set |
262 | # CONFIG_BLKFIN_WB is not set | 282 | # CONFIG_BFIN_WB is not set |
263 | CONFIG_BLKFIN_WT=y | 283 | CONFIG_BFIN_WT=y |
264 | CONFIG_L1_MAX_PIECE=16 | 284 | CONFIG_L1_MAX_PIECE=16 |
265 | 285 | ||
266 | # | 286 | # |
267 | # Clock Settings | ||
268 | # | ||
269 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
270 | |||
271 | # | ||
272 | # Asynchonous Memory Configuration | 287 | # Asynchonous Memory Configuration |
273 | # | 288 | # |
274 | 289 | ||
@@ -289,12 +304,13 @@ CONFIG_C_AMBEN_ALL=y | |||
289 | CONFIG_BANK_0=0x7BB0 | 304 | CONFIG_BANK_0=0x7BB0 |
290 | CONFIG_BANK_1=0x7BB0 | 305 | CONFIG_BANK_1=0x7BB0 |
291 | CONFIG_BANK_2=0x7BB0 | 306 | CONFIG_BANK_2=0x7BB0 |
292 | CONFIG_BANK_3=0x99B3 | 307 | CONFIG_BANK_3=0xAAC3 |
293 | 308 | ||
294 | # | 309 | # |
295 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 310 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
296 | # | 311 | # |
297 | # CONFIG_PCI is not set | 312 | # CONFIG_PCI is not set |
313 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
298 | 314 | ||
299 | # | 315 | # |
300 | # PCCARD (PCMCIA/CardBus) support | 316 | # PCCARD (PCMCIA/CardBus) support |
@@ -302,10 +318,6 @@ CONFIG_BANK_3=0x99B3 | |||
302 | # CONFIG_PCCARD is not set | 318 | # CONFIG_PCCARD is not set |
303 | 319 | ||
304 | # | 320 | # |
305 | # PCI Hotplug Support | ||
306 | # | ||
307 | |||
308 | # | ||
309 | # Executable file formats | 321 | # Executable file formats |
310 | # | 322 | # |
311 | CONFIG_BINFMT_ELF_FDPIC=y | 323 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -339,7 +351,6 @@ CONFIG_NET=y | |||
339 | # | 351 | # |
340 | # Networking options | 352 | # Networking options |
341 | # | 353 | # |
342 | # CONFIG_NETDEBUG is not set | ||
343 | CONFIG_PACKET=y | 354 | CONFIG_PACKET=y |
344 | # CONFIG_PACKET_MMAP is not set | 355 | # CONFIG_PACKET_MMAP is not set |
345 | CONFIG_UNIX=y | 356 | CONFIG_UNIX=y |
@@ -380,20 +391,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
380 | # CONFIG_NETLABEL is not set | 391 | # CONFIG_NETLABEL is not set |
381 | # CONFIG_NETWORK_SECMARK is not set | 392 | # CONFIG_NETWORK_SECMARK is not set |
382 | # CONFIG_NETFILTER is not set | 393 | # CONFIG_NETFILTER is not set |
383 | |||
384 | # | ||
385 | # DCCP Configuration (EXPERIMENTAL) | ||
386 | # | ||
387 | # CONFIG_IP_DCCP is not set | 394 | # CONFIG_IP_DCCP is not set |
388 | |||
389 | # | ||
390 | # SCTP Configuration (EXPERIMENTAL) | ||
391 | # | ||
392 | # CONFIG_IP_SCTP is not set | 395 | # CONFIG_IP_SCTP is not set |
393 | |||
394 | # | ||
395 | # TIPC Configuration (EXPERIMENTAL) | ||
396 | # | ||
397 | # CONFIG_TIPC is not set | 396 | # CONFIG_TIPC is not set |
398 | # CONFIG_ATM is not set | 397 | # CONFIG_ATM is not set |
399 | # CONFIG_BRIDGE is not set | 398 | # CONFIG_BRIDGE is not set |
@@ -460,7 +459,16 @@ CONFIG_IRTTY_SIR=m | |||
460 | # FIR device drivers | 459 | # FIR device drivers |
461 | # | 460 | # |
462 | # CONFIG_BT is not set | 461 | # CONFIG_BT is not set |
462 | # CONFIG_AF_RXRPC is not set | ||
463 | |||
464 | # | ||
465 | # Wireless | ||
466 | # | ||
467 | # CONFIG_CFG80211 is not set | ||
468 | # CONFIG_WIRELESS_EXT is not set | ||
469 | # CONFIG_MAC80211 is not set | ||
463 | # CONFIG_IEEE80211 is not set | 470 | # CONFIG_IEEE80211 is not set |
471 | # CONFIG_RFKILL is not set | ||
464 | 472 | ||
465 | # | 473 | # |
466 | # Device Drivers | 474 | # Device Drivers |
@@ -478,10 +486,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
478 | # Connector - unified userspace <-> kernelspace linker | 486 | # Connector - unified userspace <-> kernelspace linker |
479 | # | 487 | # |
480 | # CONFIG_CONNECTOR is not set | 488 | # CONFIG_CONNECTOR is not set |
481 | |||
482 | # | ||
483 | # Memory Technology Devices (MTD) | ||
484 | # | ||
485 | CONFIG_MTD=y | 489 | CONFIG_MTD=y |
486 | # CONFIG_MTD_DEBUG is not set | 490 | # CONFIG_MTD_DEBUG is not set |
487 | # CONFIG_MTD_CONCAT is not set | 491 | # CONFIG_MTD_CONCAT is not set |
@@ -525,7 +529,6 @@ CONFIG_MTD_MW320D=m | |||
525 | CONFIG_MTD_RAM=y | 529 | CONFIG_MTD_RAM=y |
526 | CONFIG_MTD_ROM=m | 530 | CONFIG_MTD_ROM=m |
527 | # CONFIG_MTD_ABSENT is not set | 531 | # CONFIG_MTD_ABSENT is not set |
528 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
529 | 532 | ||
530 | # | 533 | # |
531 | # Mapping drivers for chip access | 534 | # Mapping drivers for chip access |
@@ -562,16 +565,13 @@ CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | |||
562 | # CONFIG_MTD_DOC2000 is not set | 565 | # CONFIG_MTD_DOC2000 is not set |
563 | # CONFIG_MTD_DOC2001 is not set | 566 | # CONFIG_MTD_DOC2001 is not set |
564 | # CONFIG_MTD_DOC2001PLUS is not set | 567 | # CONFIG_MTD_DOC2001PLUS is not set |
565 | |||
566 | # | ||
567 | # NAND Flash Device Drivers | ||
568 | # | ||
569 | # CONFIG_MTD_NAND is not set | 568 | # CONFIG_MTD_NAND is not set |
569 | # CONFIG_MTD_ONENAND is not set | ||
570 | 570 | ||
571 | # | 571 | # |
572 | # OneNAND Flash Device Drivers | 572 | # UBI - Unsorted block images |
573 | # | 573 | # |
574 | # CONFIG_MTD_ONENAND is not set | 574 | # CONFIG_MTD_UBI is not set |
575 | 575 | ||
576 | # | 576 | # |
577 | # Parallel port support | 577 | # Parallel port support |
@@ -599,10 +599,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
599 | # | 599 | # |
600 | # Misc devices | 600 | # Misc devices |
601 | # | 601 | # |
602 | |||
603 | # | ||
604 | # ATA/ATAPI/MFM/RLL support | ||
605 | # | ||
606 | # CONFIG_IDE is not set | 602 | # CONFIG_IDE is not set |
607 | 603 | ||
608 | # | 604 | # |
@@ -611,10 +607,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
611 | # CONFIG_RAID_ATTRS is not set | 607 | # CONFIG_RAID_ATTRS is not set |
612 | # CONFIG_SCSI is not set | 608 | # CONFIG_SCSI is not set |
613 | # CONFIG_SCSI_NETLINK is not set | 609 | # CONFIG_SCSI_NETLINK is not set |
614 | |||
615 | # | ||
616 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
617 | # | ||
618 | # CONFIG_ATA is not set | 610 | # CONFIG_ATA is not set |
619 | 611 | ||
620 | # | 612 | # |
@@ -623,19 +615,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
623 | # CONFIG_MD is not set | 615 | # CONFIG_MD is not set |
624 | 616 | ||
625 | # | 617 | # |
626 | # Fusion MPT device support | ||
627 | # | ||
628 | # CONFIG_FUSION is not set | ||
629 | |||
630 | # | ||
631 | # IEEE 1394 (FireWire) support | ||
632 | # | ||
633 | |||
634 | # | ||
635 | # I2O device support | ||
636 | # | ||
637 | |||
638 | # | ||
639 | # Network device support | 618 | # Network device support |
640 | # | 619 | # |
641 | CONFIG_NETDEVICES=y | 620 | CONFIG_NETDEVICES=y |
@@ -643,10 +622,6 @@ CONFIG_NETDEVICES=y | |||
643 | # CONFIG_BONDING is not set | 622 | # CONFIG_BONDING is not set |
644 | # CONFIG_EQUALIZER is not set | 623 | # CONFIG_EQUALIZER is not set |
645 | # CONFIG_TUN is not set | 624 | # CONFIG_TUN is not set |
646 | |||
647 | # | ||
648 | # PHY device support | ||
649 | # | ||
650 | # CONFIG_PHYLIB is not set | 625 | # CONFIG_PHYLIB is not set |
651 | 626 | ||
652 | # | 627 | # |
@@ -656,27 +631,15 @@ CONFIG_NET_ETHERNET=y | |||
656 | CONFIG_MII=y | 631 | CONFIG_MII=y |
657 | CONFIG_SMC91X=y | 632 | CONFIG_SMC91X=y |
658 | # CONFIG_SMSC911X is not set | 633 | # CONFIG_SMSC911X is not set |
634 | # CONFIG_DM9000 is not set | ||
635 | CONFIG_NETDEV_1000=y | ||
636 | CONFIG_NETDEV_10000=y | ||
659 | 637 | ||
660 | # | 638 | # |
661 | # Ethernet (1000 Mbit) | 639 | # Wireless LAN |
662 | # | ||
663 | |||
664 | # | ||
665 | # Ethernet (10000 Mbit) | ||
666 | # | ||
667 | |||
668 | # | ||
669 | # Token Ring devices | ||
670 | # | ||
671 | |||
672 | # | ||
673 | # Wireless LAN (non-hamradio) | ||
674 | # | ||
675 | # CONFIG_NET_RADIO is not set | ||
676 | |||
677 | # | ||
678 | # Wan interfaces | ||
679 | # | 640 | # |
641 | # CONFIG_WLAN_PRE80211 is not set | ||
642 | # CONFIG_WLAN_80211 is not set | ||
680 | # CONFIG_WAN is not set | 643 | # CONFIG_WAN is not set |
681 | # CONFIG_PPP is not set | 644 | # CONFIG_PPP is not set |
682 | # CONFIG_SLIP is not set | 645 | # CONFIG_SLIP is not set |
@@ -700,6 +663,7 @@ CONFIG_SMC91X=y | |||
700 | # | 663 | # |
701 | CONFIG_INPUT=y | 664 | CONFIG_INPUT=y |
702 | # CONFIG_INPUT_FF_MEMLESS is not set | 665 | # CONFIG_INPUT_FF_MEMLESS is not set |
666 | # CONFIG_INPUT_POLLDEV is not set | ||
703 | 667 | ||
704 | # | 668 | # |
705 | # Userland interfaces | 669 | # Userland interfaces |
@@ -716,8 +680,14 @@ CONFIG_INPUT_EVDEV=m | |||
716 | # CONFIG_INPUT_KEYBOARD is not set | 680 | # CONFIG_INPUT_KEYBOARD is not set |
717 | # CONFIG_INPUT_MOUSE is not set | 681 | # CONFIG_INPUT_MOUSE is not set |
718 | # CONFIG_INPUT_JOYSTICK is not set | 682 | # CONFIG_INPUT_JOYSTICK is not set |
683 | # CONFIG_INPUT_TABLET is not set | ||
719 | # CONFIG_INPUT_TOUCHSCREEN is not set | 684 | # CONFIG_INPUT_TOUCHSCREEN is not set |
720 | CONFIG_INPUT_MISC=y | 685 | CONFIG_INPUT_MISC=y |
686 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
687 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
688 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
689 | # CONFIG_INPUT_POWERMATE is not set | ||
690 | # CONFIG_INPUT_YEALINK is not set | ||
721 | # CONFIG_INPUT_UINPUT is not set | 691 | # CONFIG_INPUT_UINPUT is not set |
722 | # CONFIG_BF53X_PFBUTTONS is not set | 692 | # CONFIG_BF53X_PFBUTTONS is not set |
723 | CONFIG_TWI_KEYPAD=m | 693 | CONFIG_TWI_KEYPAD=m |
@@ -734,7 +704,7 @@ CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=39 | |||
734 | # | 704 | # |
735 | # CONFIG_AD9960 is not set | 705 | # CONFIG_AD9960 is not set |
736 | # CONFIG_SPI_ADC_BF533 is not set | 706 | # CONFIG_SPI_ADC_BF533 is not set |
737 | # CONFIG_BF5xx_PFLAGS is not set | 707 | # CONFIG_BFIN_PFLAGS is not set |
738 | # CONFIG_BF5xx_PPIFCD is not set | 708 | # CONFIG_BF5xx_PPIFCD is not set |
739 | # CONFIG_BF5xx_TIMERS is not set | 709 | # CONFIG_BF5xx_TIMERS is not set |
740 | # CONFIG_BF5xx_PPI is not set | 710 | # CONFIG_BF5xx_PPI is not set |
@@ -777,10 +747,6 @@ CONFIG_UNIX98_PTYS=y | |||
777 | # IPMI | 747 | # IPMI |
778 | # | 748 | # |
779 | # CONFIG_IPMI_HANDLER is not set | 749 | # CONFIG_IPMI_HANDLER is not set |
780 | |||
781 | # | ||
782 | # Watchdog Cards | ||
783 | # | ||
784 | CONFIG_WATCHDOG=y | 750 | CONFIG_WATCHDOG=y |
785 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 751 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
786 | 752 | ||
@@ -792,7 +758,6 @@ CONFIG_BFIN_WDT=y | |||
792 | CONFIG_HW_RANDOM=y | 758 | CONFIG_HW_RANDOM=y |
793 | # CONFIG_GEN_RTC is not set | 759 | # CONFIG_GEN_RTC is not set |
794 | CONFIG_BLACKFIN_DPMC=y | 760 | CONFIG_BLACKFIN_DPMC=y |
795 | # CONFIG_DTLK is not set | ||
796 | # CONFIG_R3964 is not set | 761 | # CONFIG_R3964 is not set |
797 | # CONFIG_RAW_DRIVER is not set | 762 | # CONFIG_RAW_DRIVER is not set |
798 | 763 | ||
@@ -800,11 +765,8 @@ CONFIG_BLACKFIN_DPMC=y | |||
800 | # TPM devices | 765 | # TPM devices |
801 | # | 766 | # |
802 | # CONFIG_TCG_TPM is not set | 767 | # CONFIG_TCG_TPM is not set |
803 | |||
804 | # | ||
805 | # I2C support | ||
806 | # | ||
807 | CONFIG_I2C=m | 768 | CONFIG_I2C=m |
769 | CONFIG_I2C_BOARDINFO=y | ||
808 | CONFIG_I2C_CHARDEV=m | 770 | CONFIG_I2C_CHARDEV=m |
809 | 771 | ||
810 | # | 772 | # |
@@ -818,10 +780,11 @@ CONFIG_I2C_ALGOBIT=m | |||
818 | # I2C Hardware Bus support | 780 | # I2C Hardware Bus support |
819 | # | 781 | # |
820 | # CONFIG_I2C_BLACKFIN_GPIO is not set | 782 | # CONFIG_I2C_BLACKFIN_GPIO is not set |
783 | # CONFIG_I2C_GPIO is not set | ||
821 | # CONFIG_I2C_OCORES is not set | 784 | # CONFIG_I2C_OCORES is not set |
822 | # CONFIG_I2C_PARPORT_LIGHT is not set | 785 | # CONFIG_I2C_PARPORT_LIGHT is not set |
786 | # CONFIG_I2C_SIMTEC is not set | ||
823 | # CONFIG_I2C_STUB is not set | 787 | # CONFIG_I2C_STUB is not set |
824 | # CONFIG_I2C_PCA_ISA is not set | ||
825 | 788 | ||
826 | # | 789 | # |
827 | # Miscellaneous I2C Chip support | 790 | # Miscellaneous I2C Chip support |
@@ -857,18 +820,16 @@ CONFIG_SPI_BFIN=y | |||
857 | # SPI Protocol Masters | 820 | # SPI Protocol Masters |
858 | # | 821 | # |
859 | # CONFIG_SPI_AT25 is not set | 822 | # CONFIG_SPI_AT25 is not set |
823 | # CONFIG_SPI_SPIDEV is not set | ||
860 | 824 | ||
861 | # | 825 | # |
862 | # Dallas's 1-wire bus | 826 | # Dallas's 1-wire bus |
863 | # | 827 | # |
864 | # CONFIG_W1 is not set | 828 | # CONFIG_W1 is not set |
865 | |||
866 | # | ||
867 | # Hardware Monitoring support | ||
868 | # | ||
869 | CONFIG_HWMON=y | 829 | CONFIG_HWMON=y |
870 | # CONFIG_HWMON_VID is not set | 830 | # CONFIG_HWMON_VID is not set |
871 | # CONFIG_SENSORS_ABITUGURU is not set | 831 | # CONFIG_SENSORS_ABITUGURU is not set |
832 | # CONFIG_SENSORS_AD7418 is not set | ||
872 | # CONFIG_SENSORS_ADM1021 is not set | 833 | # CONFIG_SENSORS_ADM1021 is not set |
873 | # CONFIG_SENSORS_ADM1025 is not set | 834 | # CONFIG_SENSORS_ADM1025 is not set |
874 | # CONFIG_SENSORS_ADM1026 is not set | 835 | # CONFIG_SENSORS_ADM1026 is not set |
@@ -896,6 +857,7 @@ CONFIG_HWMON=y | |||
896 | # CONFIG_SENSORS_LM90 is not set | 857 | # CONFIG_SENSORS_LM90 is not set |
897 | # CONFIG_SENSORS_LM92 is not set | 858 | # CONFIG_SENSORS_LM92 is not set |
898 | # CONFIG_SENSORS_MAX1619 is not set | 859 | # CONFIG_SENSORS_MAX1619 is not set |
860 | # CONFIG_SENSORS_MAX6650 is not set | ||
899 | # CONFIG_SENSORS_PC87360 is not set | 861 | # CONFIG_SENSORS_PC87360 is not set |
900 | # CONFIG_SENSORS_PC87427 is not set | 862 | # CONFIG_SENSORS_PC87427 is not set |
901 | # CONFIG_SENSORS_SMSC47M1 is not set | 863 | # CONFIG_SENSORS_SMSC47M1 is not set |
@@ -920,22 +882,30 @@ CONFIG_HWMON=y | |||
920 | # Multimedia devices | 882 | # Multimedia devices |
921 | # | 883 | # |
922 | # CONFIG_VIDEO_DEV is not set | 884 | # CONFIG_VIDEO_DEV is not set |
885 | # CONFIG_DVB_CORE is not set | ||
886 | CONFIG_DAB=y | ||
923 | 887 | ||
924 | # | 888 | # |
925 | # Digital Video Broadcasting Devices | 889 | # Graphics support |
926 | # | 890 | # |
927 | # CONFIG_DVB is not set | 891 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
928 | 892 | ||
929 | # | 893 | # |
930 | # Graphics support | 894 | # Display device support |
931 | # | 895 | # |
932 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 896 | # CONFIG_DISPLAY_SUPPORT is not set |
897 | # CONFIG_VGASTATE is not set | ||
933 | CONFIG_FB=m | 898 | CONFIG_FB=m |
934 | CONFIG_FIRMWARE_EDID=y | 899 | CONFIG_FIRMWARE_EDID=y |
935 | # CONFIG_FB_DDC is not set | 900 | # CONFIG_FB_DDC is not set |
936 | CONFIG_FB_CFB_FILLRECT=m | 901 | CONFIG_FB_CFB_FILLRECT=m |
937 | CONFIG_FB_CFB_COPYAREA=m | 902 | CONFIG_FB_CFB_COPYAREA=m |
938 | CONFIG_FB_CFB_IMAGEBLIT=m | 903 | CONFIG_FB_CFB_IMAGEBLIT=m |
904 | # CONFIG_FB_SYS_FILLRECT is not set | ||
905 | # CONFIG_FB_SYS_COPYAREA is not set | ||
906 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
907 | # CONFIG_FB_SYS_FOPS is not set | ||
908 | CONFIG_FB_DEFERRED_IO=y | ||
939 | # CONFIG_FB_SVGALIB is not set | 909 | # CONFIG_FB_SVGALIB is not set |
940 | # CONFIG_FB_MACMODES is not set | 910 | # CONFIG_FB_MACMODES is not set |
941 | # CONFIG_FB_BACKLIGHT is not set | 911 | # CONFIG_FB_BACKLIGHT is not set |
@@ -957,10 +927,6 @@ CONFIG_ADV7393_1XMEM=y | |||
957 | # CONFIG_ADV7393_2XMEM is not set | 927 | # CONFIG_ADV7393_2XMEM is not set |
958 | # CONFIG_FB_S1D13XXX is not set | 928 | # CONFIG_FB_S1D13XXX is not set |
959 | # CONFIG_FB_VIRTUAL is not set | 929 | # CONFIG_FB_VIRTUAL is not set |
960 | |||
961 | # | ||
962 | # Logo configuration | ||
963 | # | ||
964 | # CONFIG_LOGO is not set | 930 | # CONFIG_LOGO is not set |
965 | 931 | ||
966 | # | 932 | # |
@@ -1001,7 +967,6 @@ CONFIG_SND_BLACKFIN_AD1836_TDM=y | |||
1001 | # CONFIG_SND_BLACKFIN_AD1836_I2S is not set | 967 | # CONFIG_SND_BLACKFIN_AD1836_I2S is not set |
1002 | CONFIG_SND_BLACKFIN_AD1836_MULSUB=y | 968 | CONFIG_SND_BLACKFIN_AD1836_MULSUB=y |
1003 | # CONFIG_SND_BLACKFIN_AD1836_5P1 is not set | 969 | # CONFIG_SND_BLACKFIN_AD1836_5P1 is not set |
1004 | CONFIG_SND_BLACKFIN_AD1981B=m | ||
1005 | CONFIG_SND_BLACKFIN_SPORT=0 | 970 | CONFIG_SND_BLACKFIN_SPORT=0 |
1006 | CONFIG_SND_BLACKFIN_SPI_PFBIT=4 | 971 | CONFIG_SND_BLACKFIN_SPI_PFBIT=4 |
1007 | CONFIG_SND_BFIN_AD73311=m | 972 | CONFIG_SND_BFIN_AD73311=m |
@@ -1009,11 +974,16 @@ CONFIG_SND_BFIN_SPORT=0 | |||
1009 | CONFIG_SND_BFIN_AD73311_SE=4 | 974 | CONFIG_SND_BFIN_AD73311_SE=4 |
1010 | 975 | ||
1011 | # | 976 | # |
1012 | # SoC audio support | 977 | # System on Chip audio support |
1013 | # | 978 | # |
1014 | # CONFIG_SND_SOC is not set | 979 | # CONFIG_SND_SOC is not set |
1015 | 980 | ||
1016 | # | 981 | # |
982 | # SoC Audio for the ADI Blackfin | ||
983 | # | ||
984 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | ||
985 | |||
986 | # | ||
1017 | # Open Sound System | 987 | # Open Sound System |
1018 | # | 988 | # |
1019 | # CONFIG_SOUND_PRIME is not set | 989 | # CONFIG_SOUND_PRIME is not set |
@@ -1033,18 +1003,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
1033 | # CONFIG_USB is not set | 1003 | # CONFIG_USB is not set |
1034 | 1004 | ||
1035 | # | 1005 | # |
1036 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 1006 | # Enable Host or Gadget support to see Inventra options |
1037 | # | 1007 | # |
1038 | 1008 | ||
1039 | # | 1009 | # |
1040 | # USB Gadget Support | 1010 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
1041 | # | 1011 | # |
1042 | # CONFIG_USB_GADGET is not set | ||
1043 | 1012 | ||
1044 | # | 1013 | # |
1045 | # MMC/SD Card support | 1014 | # USB Gadget Support |
1046 | # | 1015 | # |
1047 | # CONFIG_SPI_MMC is not set | 1016 | # CONFIG_USB_GADGET is not set |
1048 | # CONFIG_MMC is not set | 1017 | # CONFIG_MMC is not set |
1049 | 1018 | ||
1050 | # | 1019 | # |
@@ -1084,44 +1053,50 @@ CONFIG_RTC_INTF_SYSFS=y | |||
1084 | CONFIG_RTC_INTF_PROC=y | 1053 | CONFIG_RTC_INTF_PROC=y |
1085 | CONFIG_RTC_INTF_DEV=y | 1054 | CONFIG_RTC_INTF_DEV=y |
1086 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | 1055 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set |
1056 | # CONFIG_RTC_DRV_TEST is not set | ||
1087 | 1057 | ||
1088 | # | 1058 | # |
1089 | # RTC drivers | 1059 | # I2C RTC drivers |
1090 | # | 1060 | # |
1091 | # CONFIG_RTC_DRV_X1205 is not set | ||
1092 | # CONFIG_RTC_DRV_DS1307 is not set | 1061 | # CONFIG_RTC_DRV_DS1307 is not set |
1093 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1094 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1095 | # CONFIG_RTC_DRV_DS1672 is not set | 1062 | # CONFIG_RTC_DRV_DS1672 is not set |
1096 | # CONFIG_RTC_DRV_DS1742 is not set | 1063 | # CONFIG_RTC_DRV_MAX6900 is not set |
1064 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1065 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1066 | # CONFIG_RTC_DRV_X1205 is not set | ||
1097 | # CONFIG_RTC_DRV_PCF8563 is not set | 1067 | # CONFIG_RTC_DRV_PCF8563 is not set |
1068 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1069 | |||
1070 | # | ||
1071 | # SPI RTC drivers | ||
1072 | # | ||
1098 | # CONFIG_RTC_DRV_RS5C348 is not set | 1073 | # CONFIG_RTC_DRV_RS5C348 is not set |
1099 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1100 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1101 | # CONFIG_RTC_DRV_TEST is not set | ||
1102 | # CONFIG_RTC_DRV_MAX6902 is not set | 1074 | # CONFIG_RTC_DRV_MAX6902 is not set |
1103 | # CONFIG_RTC_DRV_V3020 is not set | ||
1104 | CONFIG_RTC_DRV_BFIN=y | ||
1105 | 1075 | ||
1106 | # | 1076 | # |
1107 | # DMA Engine support | 1077 | # Platform RTC drivers |
1108 | # | 1078 | # |
1109 | # CONFIG_DMA_ENGINE is not set | 1079 | # CONFIG_RTC_DRV_DS1553 is not set |
1080 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1081 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1082 | # CONFIG_RTC_DRV_V3020 is not set | ||
1110 | 1083 | ||
1111 | # | 1084 | # |
1112 | # DMA Clients | 1085 | # on-CPU RTC drivers |
1113 | # | 1086 | # |
1087 | CONFIG_RTC_DRV_BFIN=y | ||
1114 | 1088 | ||
1115 | # | 1089 | # |
1116 | # DMA Devices | 1090 | # DMA Engine support |
1117 | # | 1091 | # |
1092 | # CONFIG_DMA_ENGINE is not set | ||
1118 | 1093 | ||
1119 | # | 1094 | # |
1120 | # Auxiliary Display support | 1095 | # DMA Clients |
1121 | # | 1096 | # |
1122 | 1097 | ||
1123 | # | 1098 | # |
1124 | # Virtualization | 1099 | # DMA Devices |
1125 | # | 1100 | # |
1126 | 1101 | ||
1127 | # | 1102 | # |
@@ -1224,6 +1199,7 @@ CONFIG_LOCKD=m | |||
1224 | CONFIG_LOCKD_V4=y | 1199 | CONFIG_LOCKD_V4=y |
1225 | CONFIG_NFS_COMMON=y | 1200 | CONFIG_NFS_COMMON=y |
1226 | CONFIG_SUNRPC=m | 1201 | CONFIG_SUNRPC=m |
1202 | # CONFIG_SUNRPC_BIND34 is not set | ||
1227 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1203 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1228 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1204 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1229 | CONFIG_SMB_FS=m | 1205 | CONFIG_SMB_FS=m |
@@ -1301,14 +1277,20 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1301 | CONFIG_ENABLE_MUST_CHECK=y | 1277 | CONFIG_ENABLE_MUST_CHECK=y |
1302 | # CONFIG_MAGIC_SYSRQ is not set | 1278 | # CONFIG_MAGIC_SYSRQ is not set |
1303 | # CONFIG_UNUSED_SYMBOLS is not set | 1279 | # CONFIG_UNUSED_SYMBOLS is not set |
1304 | # CONFIG_DEBUG_FS is not set | 1280 | CONFIG_DEBUG_FS=y |
1305 | # CONFIG_HEADERS_CHECK is not set | 1281 | # CONFIG_HEADERS_CHECK is not set |
1306 | # CONFIG_DEBUG_KERNEL is not set | 1282 | # CONFIG_DEBUG_KERNEL is not set |
1307 | CONFIG_LOG_BUF_SHIFT=14 | ||
1308 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1283 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1309 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | 1284 | CONFIG_DEBUG_MMRS=y |
1310 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1285 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1286 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1287 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1288 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1289 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1290 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1291 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1311 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1292 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1293 | CONFIG_EARLY_PRINTK=y | ||
1312 | CONFIG_CPLB_INFO=y | 1294 | CONFIG_CPLB_INFO=y |
1313 | CONFIG_ACCESS_CHECK=y | 1295 | CONFIG_ACCESS_CHECK=y |
1314 | 1296 | ||
@@ -1331,6 +1313,7 @@ CONFIG_SECURITY_CAPABILITIES=m | |||
1331 | CONFIG_BITREVERSE=y | 1313 | CONFIG_BITREVERSE=y |
1332 | CONFIG_CRC_CCITT=m | 1314 | CONFIG_CRC_CCITT=m |
1333 | # CONFIG_CRC16 is not set | 1315 | # CONFIG_CRC16 is not set |
1316 | # CONFIG_CRC_ITU_T is not set | ||
1334 | CONFIG_CRC32=y | 1317 | CONFIG_CRC32=y |
1335 | # CONFIG_LIBCRC32C is not set | 1318 | # CONFIG_LIBCRC32C is not set |
1336 | CONFIG_ZLIB_INFLATE=y | 1319 | CONFIG_ZLIB_INFLATE=y |
@@ -1338,3 +1321,4 @@ CONFIG_ZLIB_DEFLATE=m | |||
1338 | CONFIG_PLIST=y | 1321 | CONFIG_PLIST=y |
1339 | CONFIG_HAS_IOMEM=y | 1322 | CONFIG_HAS_IOMEM=y |
1340 | CONFIG_HAS_IOPORT=y | 1323 | CONFIG_HAS_IOPORT=y |
1324 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/BF537-STAMP_defconfig b/arch/blackfin/configs/BF537-STAMP_defconfig index ccf09dc09a18..828b604438eb 100644 --- a/arch/blackfin/configs/BF537-STAMP_defconfig +++ b/arch/blackfin/configs/BF537-STAMP_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -40,7 +41,9 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
40 | # CONFIG_TASKSTATS is not set | 41 | # CONFIG_TASKSTATS is not set |
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | CONFIG_IKCONFIG=y |
45 | CONFIG_IKCONFIG_PROC=y | ||
46 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 47 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 48 | # CONFIG_RELAY is not set |
46 | CONFIG_BLK_DEV_INITRD=y | 49 | CONFIG_BLK_DEV_INITRD=y |
@@ -58,15 +61,20 @@ CONFIG_BUG=y | |||
58 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
59 | CONFIG_BASE_FULL=y | 62 | CONFIG_BASE_FULL=y |
60 | CONFIG_FUTEX=y | 63 | CONFIG_FUTEX=y |
64 | CONFIG_ANON_INODES=y | ||
65 | CONFIG_EPOLL=y | ||
66 | CONFIG_SIGNALFD=y | ||
67 | CONFIG_TIMERFD=y | ||
68 | CONFIG_EVENTFD=y | ||
69 | CONFIG_VM_EVENT_COUNTERS=y | ||
61 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 70 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 |
62 | CONFIG_BUDDY=y | ||
63 | # CONFIG_NP2 is not set | 71 | # CONFIG_NP2 is not set |
64 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
65 | CONFIG_VM_EVENT_COUNTERS=y | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | ||
66 | CONFIG_RT_MUTEXES=y | 75 | CONFIG_RT_MUTEXES=y |
67 | CONFIG_TINY_SHMEM=y | 76 | CONFIG_TINY_SHMEM=y |
68 | CONFIG_BASE_SMALL=0 | 77 | CONFIG_BASE_SMALL=0 |
69 | # CONFIG_SLOB is not set | ||
70 | 78 | ||
71 | # | 79 | # |
72 | # Loadable module support | 80 | # Loadable module support |
@@ -148,13 +156,6 @@ CONFIG_IRQ_PLL_WAKEUP=7 | |||
148 | # | 156 | # |
149 | 157 | ||
150 | # | 158 | # |
151 | # PORT F/G Selection | ||
152 | # | ||
153 | CONFIG_BF537_PORT_F=y | ||
154 | # CONFIG_BF537_PORT_G is not set | ||
155 | # CONFIG_BF537_PORT_H is not set | ||
156 | |||
157 | # | ||
158 | # Interrupt Priority Assignment | 159 | # Interrupt Priority Assignment |
159 | # | 160 | # |
160 | 161 | ||
@@ -199,19 +200,17 @@ CONFIG_IRQ_WATCH=13 | |||
199 | # CONFIG_CMDLINE_BOOL is not set | 200 | # CONFIG_CMDLINE_BOOL is not set |
200 | 201 | ||
201 | # | 202 | # |
202 | # Board Setup | 203 | # Clock/PLL Setup |
203 | # | 204 | # |
204 | CONFIG_CLKIN_HZ=25000000 | 205 | CONFIG_CLKIN_HZ=25000000 |
205 | CONFIG_MEM_SIZE=64 | 206 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
206 | CONFIG_MEM_ADD_WIDTH=10 | 207 | CONFIG_MAX_VCO_HZ=600000000 |
207 | CONFIG_BOOT_LOAD=0x1000 | 208 | CONFIG_MIN_VCO_HZ=50000000 |
208 | 209 | CONFIG_MAX_SCLK_HZ=133000000 | |
209 | # | 210 | CONFIG_MIN_SCLK_HZ=27000000 |
210 | # Blackfin Kernel Optimizations | ||
211 | # | ||
212 | 211 | ||
213 | # | 212 | # |
214 | # Timer Tick | 213 | # Kernel Timer/Scheduler |
215 | # | 214 | # |
216 | # CONFIG_HZ_100 is not set | 215 | # CONFIG_HZ_100 is not set |
217 | CONFIG_HZ_250=y | 216 | CONFIG_HZ_250=y |
@@ -220,6 +219,20 @@ CONFIG_HZ_250=y | |||
220 | CONFIG_HZ=250 | 219 | CONFIG_HZ=250 |
221 | 220 | ||
222 | # | 221 | # |
222 | # Memory Setup | ||
223 | # | ||
224 | CONFIG_MEM_SIZE=64 | ||
225 | CONFIG_MEM_ADD_WIDTH=10 | ||
226 | CONFIG_BOOT_LOAD=0x1000 | ||
227 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
228 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
229 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
230 | |||
231 | # | ||
232 | # Blackfin Kernel Optimizations | ||
233 | # | ||
234 | |||
235 | # | ||
223 | # Memory Optimizations | 236 | # Memory Optimizations |
224 | # | 237 | # |
225 | CONFIG_I_ENTRY_L1=y | 238 | CONFIG_I_ENTRY_L1=y |
@@ -258,20 +271,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
258 | # | 271 | # |
259 | # Cache Support | 272 | # Cache Support |
260 | # | 273 | # |
261 | CONFIG_BLKFIN_CACHE=y | 274 | CONFIG_BFIN_ICACHE=y |
262 | CONFIG_BLKFIN_DCACHE=y | 275 | CONFIG_BFIN_DCACHE=y |
263 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 276 | # CONFIG_BFIN_DCACHE_BANKA is not set |
264 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 277 | # CONFIG_BFIN_ICACHE_LOCK is not set |
265 | # CONFIG_BLKFIN_WB is not set | 278 | # CONFIG_BFIN_WB is not set |
266 | CONFIG_BLKFIN_WT=y | 279 | CONFIG_BFIN_WT=y |
267 | CONFIG_L1_MAX_PIECE=16 | 280 | CONFIG_L1_MAX_PIECE=16 |
268 | 281 | ||
269 | # | 282 | # |
270 | # Clock Settings | ||
271 | # | ||
272 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
273 | |||
274 | # | ||
275 | # Asynchonous Memory Configuration | 283 | # Asynchonous Memory Configuration |
276 | # | 284 | # |
277 | 285 | ||
@@ -298,6 +306,7 @@ CONFIG_BANK_3=0x99B3 | |||
298 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 306 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
299 | # | 307 | # |
300 | # CONFIG_PCI is not set | 308 | # CONFIG_PCI is not set |
309 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
301 | 310 | ||
302 | # | 311 | # |
303 | # PCCARD (PCMCIA/CardBus) support | 312 | # PCCARD (PCMCIA/CardBus) support |
@@ -305,10 +314,6 @@ CONFIG_BANK_3=0x99B3 | |||
305 | # CONFIG_PCCARD is not set | 314 | # CONFIG_PCCARD is not set |
306 | 315 | ||
307 | # | 316 | # |
308 | # PCI Hotplug Support | ||
309 | # | ||
310 | |||
311 | # | ||
312 | # Executable file formats | 317 | # Executable file formats |
313 | # | 318 | # |
314 | CONFIG_BINFMT_ELF_FDPIC=y | 319 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -342,7 +347,6 @@ CONFIG_NET=y | |||
342 | # | 347 | # |
343 | # Networking options | 348 | # Networking options |
344 | # | 349 | # |
345 | # CONFIG_NETDEBUG is not set | ||
346 | CONFIG_PACKET=y | 350 | CONFIG_PACKET=y |
347 | # CONFIG_PACKET_MMAP is not set | 351 | # CONFIG_PACKET_MMAP is not set |
348 | CONFIG_UNIX=y | 352 | CONFIG_UNIX=y |
@@ -383,20 +387,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
383 | # CONFIG_NETLABEL is not set | 387 | # CONFIG_NETLABEL is not set |
384 | # CONFIG_NETWORK_SECMARK is not set | 388 | # CONFIG_NETWORK_SECMARK is not set |
385 | # CONFIG_NETFILTER is not set | 389 | # CONFIG_NETFILTER is not set |
386 | |||
387 | # | ||
388 | # DCCP Configuration (EXPERIMENTAL) | ||
389 | # | ||
390 | # CONFIG_IP_DCCP is not set | 390 | # CONFIG_IP_DCCP is not set |
391 | |||
392 | # | ||
393 | # SCTP Configuration (EXPERIMENTAL) | ||
394 | # | ||
395 | # CONFIG_IP_SCTP is not set | 391 | # CONFIG_IP_SCTP is not set |
396 | |||
397 | # | ||
398 | # TIPC Configuration (EXPERIMENTAL) | ||
399 | # | ||
400 | # CONFIG_TIPC is not set | 392 | # CONFIG_TIPC is not set |
401 | # CONFIG_ATM is not set | 393 | # CONFIG_ATM is not set |
402 | # CONFIG_BRIDGE is not set | 394 | # CONFIG_BRIDGE is not set |
@@ -463,7 +455,16 @@ CONFIG_IRTTY_SIR=m | |||
463 | # FIR device drivers | 455 | # FIR device drivers |
464 | # | 456 | # |
465 | # CONFIG_BT is not set | 457 | # CONFIG_BT is not set |
458 | # CONFIG_AF_RXRPC is not set | ||
459 | |||
460 | # | ||
461 | # Wireless | ||
462 | # | ||
463 | # CONFIG_CFG80211 is not set | ||
464 | # CONFIG_WIRELESS_EXT is not set | ||
465 | # CONFIG_MAC80211 is not set | ||
466 | # CONFIG_IEEE80211 is not set | 466 | # CONFIG_IEEE80211 is not set |
467 | # CONFIG_RFKILL is not set | ||
467 | 468 | ||
468 | # | 469 | # |
469 | # Device Drivers | 470 | # Device Drivers |
@@ -481,10 +482,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
481 | # Connector - unified userspace <-> kernelspace linker | 482 | # Connector - unified userspace <-> kernelspace linker |
482 | # | 483 | # |
483 | # CONFIG_CONNECTOR is not set | 484 | # CONFIG_CONNECTOR is not set |
484 | |||
485 | # | ||
486 | # Memory Technology Devices (MTD) | ||
487 | # | ||
488 | CONFIG_MTD=y | 485 | CONFIG_MTD=y |
489 | # CONFIG_MTD_DEBUG is not set | 486 | # CONFIG_MTD_DEBUG is not set |
490 | # CONFIG_MTD_CONCAT is not set | 487 | # CONFIG_MTD_CONCAT is not set |
@@ -528,7 +525,6 @@ CONFIG_MTD_MW320D=m | |||
528 | CONFIG_MTD_RAM=y | 525 | CONFIG_MTD_RAM=y |
529 | CONFIG_MTD_ROM=m | 526 | CONFIG_MTD_ROM=m |
530 | # CONFIG_MTD_ABSENT is not set | 527 | # CONFIG_MTD_ABSENT is not set |
531 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
532 | 528 | ||
533 | # | 529 | # |
534 | # Mapping drivers for chip access | 530 | # Mapping drivers for chip access |
@@ -565,13 +561,10 @@ CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | |||
565 | # CONFIG_MTD_DOC2000 is not set | 561 | # CONFIG_MTD_DOC2000 is not set |
566 | # CONFIG_MTD_DOC2001 is not set | 562 | # CONFIG_MTD_DOC2001 is not set |
567 | # CONFIG_MTD_DOC2001PLUS is not set | 563 | # CONFIG_MTD_DOC2001PLUS is not set |
568 | |||
569 | # | ||
570 | # NAND Flash Device Drivers | ||
571 | # | ||
572 | CONFIG_MTD_NAND=m | 564 | CONFIG_MTD_NAND=m |
573 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | 565 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set |
574 | # CONFIG_MTD_NAND_ECC_SMC is not set | 566 | # CONFIG_MTD_NAND_ECC_SMC is not set |
567 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
575 | CONFIG_MTD_NAND_BFIN=m | 568 | CONFIG_MTD_NAND_BFIN=m |
576 | CONFIG_BFIN_NAND_BASE=0x20212000 | 569 | CONFIG_BFIN_NAND_BASE=0x20212000 |
577 | CONFIG_BFIN_NAND_CLE=2 | 570 | CONFIG_BFIN_NAND_CLE=2 |
@@ -580,11 +573,13 @@ CONFIG_BFIN_NAND_READY=3 | |||
580 | CONFIG_MTD_NAND_IDS=m | 573 | CONFIG_MTD_NAND_IDS=m |
581 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 574 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
582 | # CONFIG_MTD_NAND_NANDSIM is not set | 575 | # CONFIG_MTD_NAND_NANDSIM is not set |
576 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
577 | # CONFIG_MTD_ONENAND is not set | ||
583 | 578 | ||
584 | # | 579 | # |
585 | # OneNAND Flash Device Drivers | 580 | # UBI - Unsorted block images |
586 | # | 581 | # |
587 | # CONFIG_MTD_ONENAND is not set | 582 | # CONFIG_MTD_UBI is not set |
588 | 583 | ||
589 | # | 584 | # |
590 | # Parallel port support | 585 | # Parallel port support |
@@ -612,10 +607,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
612 | # | 607 | # |
613 | # Misc devices | 608 | # Misc devices |
614 | # | 609 | # |
615 | |||
616 | # | ||
617 | # ATA/ATAPI/MFM/RLL support | ||
618 | # | ||
619 | # CONFIG_IDE is not set | 610 | # CONFIG_IDE is not set |
620 | 611 | ||
621 | # | 612 | # |
@@ -624,10 +615,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
624 | # CONFIG_RAID_ATTRS is not set | 615 | # CONFIG_RAID_ATTRS is not set |
625 | # CONFIG_SCSI is not set | 616 | # CONFIG_SCSI is not set |
626 | # CONFIG_SCSI_NETLINK is not set | 617 | # CONFIG_SCSI_NETLINK is not set |
627 | |||
628 | # | ||
629 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
630 | # | ||
631 | # CONFIG_ATA is not set | 618 | # CONFIG_ATA is not set |
632 | 619 | ||
633 | # | 620 | # |
@@ -636,19 +623,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
636 | # CONFIG_MD is not set | 623 | # CONFIG_MD is not set |
637 | 624 | ||
638 | # | 625 | # |
639 | # Fusion MPT device support | ||
640 | # | ||
641 | # CONFIG_FUSION is not set | ||
642 | |||
643 | # | ||
644 | # IEEE 1394 (FireWire) support | ||
645 | # | ||
646 | |||
647 | # | ||
648 | # I2O device support | ||
649 | # | ||
650 | |||
651 | # | ||
652 | # Network device support | 626 | # Network device support |
653 | # | 627 | # |
654 | CONFIG_NETDEVICES=y | 628 | CONFIG_NETDEVICES=y |
@@ -656,11 +630,20 @@ CONFIG_NETDEVICES=y | |||
656 | # CONFIG_BONDING is not set | 630 | # CONFIG_BONDING is not set |
657 | # CONFIG_EQUALIZER is not set | 631 | # CONFIG_EQUALIZER is not set |
658 | # CONFIG_TUN is not set | 632 | # CONFIG_TUN is not set |
633 | CONFIG_PHYLIB=y | ||
659 | 634 | ||
660 | # | 635 | # |
661 | # PHY device support | 636 | # MII PHY device drivers |
662 | # | 637 | # |
663 | # CONFIG_PHYLIB is not set | 638 | # CONFIG_MARVELL_PHY is not set |
639 | # CONFIG_DAVICOM_PHY is not set | ||
640 | # CONFIG_QSEMI_PHY is not set | ||
641 | # CONFIG_LXT_PHY is not set | ||
642 | # CONFIG_CICADA_PHY is not set | ||
643 | # CONFIG_VITESSE_PHY is not set | ||
644 | CONFIG_SMSC_PHY=y | ||
645 | # CONFIG_BROADCOM_PHY is not set | ||
646 | # CONFIG_FIXED_PHY is not set | ||
664 | 647 | ||
665 | # | 648 | # |
666 | # Ethernet (10 or 100Mbit) | 649 | # Ethernet (10 or 100Mbit) |
@@ -674,27 +657,15 @@ CONFIG_BFIN_TX_DESC_NUM=10 | |||
674 | CONFIG_BFIN_RX_DESC_NUM=20 | 657 | CONFIG_BFIN_RX_DESC_NUM=20 |
675 | # CONFIG_BFIN_MAC_RMII is not set | 658 | # CONFIG_BFIN_MAC_RMII is not set |
676 | # CONFIG_SMSC911X is not set | 659 | # CONFIG_SMSC911X is not set |
660 | # CONFIG_DM9000 is not set | ||
661 | CONFIG_NETDEV_1000=y | ||
662 | CONFIG_NETDEV_10000=y | ||
677 | 663 | ||
678 | # | 664 | # |
679 | # Ethernet (1000 Mbit) | 665 | # Wireless LAN |
680 | # | ||
681 | |||
682 | # | ||
683 | # Ethernet (10000 Mbit) | ||
684 | # | ||
685 | |||
686 | # | ||
687 | # Token Ring devices | ||
688 | # | ||
689 | |||
690 | # | ||
691 | # Wireless LAN (non-hamradio) | ||
692 | # | ||
693 | # CONFIG_NET_RADIO is not set | ||
694 | |||
695 | # | ||
696 | # Wan interfaces | ||
697 | # | 666 | # |
667 | # CONFIG_WLAN_PRE80211 is not set | ||
668 | # CONFIG_WLAN_80211 is not set | ||
698 | # CONFIG_WAN is not set | 669 | # CONFIG_WAN is not set |
699 | # CONFIG_PPP is not set | 670 | # CONFIG_PPP is not set |
700 | # CONFIG_SLIP is not set | 671 | # CONFIG_SLIP is not set |
@@ -718,6 +689,7 @@ CONFIG_BFIN_RX_DESC_NUM=20 | |||
718 | # | 689 | # |
719 | CONFIG_INPUT=y | 690 | CONFIG_INPUT=y |
720 | # CONFIG_INPUT_FF_MEMLESS is not set | 691 | # CONFIG_INPUT_FF_MEMLESS is not set |
692 | # CONFIG_INPUT_POLLDEV is not set | ||
721 | 693 | ||
722 | # | 694 | # |
723 | # Userland interfaces | 695 | # Userland interfaces |
@@ -734,8 +706,14 @@ CONFIG_INPUT_EVDEV=m | |||
734 | # CONFIG_INPUT_KEYBOARD is not set | 706 | # CONFIG_INPUT_KEYBOARD is not set |
735 | # CONFIG_INPUT_MOUSE is not set | 707 | # CONFIG_INPUT_MOUSE is not set |
736 | # CONFIG_INPUT_JOYSTICK is not set | 708 | # CONFIG_INPUT_JOYSTICK is not set |
709 | # CONFIG_INPUT_TABLET is not set | ||
737 | # CONFIG_INPUT_TOUCHSCREEN is not set | 710 | # CONFIG_INPUT_TOUCHSCREEN is not set |
738 | CONFIG_INPUT_MISC=y | 711 | CONFIG_INPUT_MISC=y |
712 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
713 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
714 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
715 | # CONFIG_INPUT_POWERMATE is not set | ||
716 | # CONFIG_INPUT_YEALINK is not set | ||
739 | # CONFIG_INPUT_UINPUT is not set | 717 | # CONFIG_INPUT_UINPUT is not set |
740 | # CONFIG_BF53X_PFBUTTONS is not set | 718 | # CONFIG_BF53X_PFBUTTONS is not set |
741 | CONFIG_TWI_KEYPAD=m | 719 | CONFIG_TWI_KEYPAD=m |
@@ -752,7 +730,7 @@ CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=72 | |||
752 | # | 730 | # |
753 | # CONFIG_AD9960 is not set | 731 | # CONFIG_AD9960 is not set |
754 | # CONFIG_SPI_ADC_BF533 is not set | 732 | # CONFIG_SPI_ADC_BF533 is not set |
755 | # CONFIG_BF5xx_PFLAGS is not set | 733 | # CONFIG_BFIN_PFLAGS is not set |
756 | # CONFIG_BF5xx_PPIFCD is not set | 734 | # CONFIG_BF5xx_PPIFCD is not set |
757 | # CONFIG_BF5xx_TIMERS is not set | 735 | # CONFIG_BF5xx_TIMERS is not set |
758 | # CONFIG_BF5xx_PPI is not set | 736 | # CONFIG_BF5xx_PPI is not set |
@@ -803,10 +781,6 @@ CONFIG_CAN_BLACKFIN=m | |||
803 | # IPMI | 781 | # IPMI |
804 | # | 782 | # |
805 | # CONFIG_IPMI_HANDLER is not set | 783 | # CONFIG_IPMI_HANDLER is not set |
806 | |||
807 | # | ||
808 | # Watchdog Cards | ||
809 | # | ||
810 | CONFIG_WATCHDOG=y | 784 | CONFIG_WATCHDOG=y |
811 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 785 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
812 | 786 | ||
@@ -818,7 +792,6 @@ CONFIG_BFIN_WDT=y | |||
818 | CONFIG_HW_RANDOM=y | 792 | CONFIG_HW_RANDOM=y |
819 | # CONFIG_GEN_RTC is not set | 793 | # CONFIG_GEN_RTC is not set |
820 | CONFIG_BLACKFIN_DPMC=y | 794 | CONFIG_BLACKFIN_DPMC=y |
821 | # CONFIG_DTLK is not set | ||
822 | # CONFIG_R3964 is not set | 795 | # CONFIG_R3964 is not set |
823 | # CONFIG_RAW_DRIVER is not set | 796 | # CONFIG_RAW_DRIVER is not set |
824 | 797 | ||
@@ -826,11 +799,8 @@ CONFIG_BLACKFIN_DPMC=y | |||
826 | # TPM devices | 799 | # TPM devices |
827 | # | 800 | # |
828 | # CONFIG_TCG_TPM is not set | 801 | # CONFIG_TCG_TPM is not set |
829 | |||
830 | # | ||
831 | # I2C support | ||
832 | # | ||
833 | CONFIG_I2C=m | 802 | CONFIG_I2C=m |
803 | CONFIG_I2C_BOARDINFO=y | ||
834 | CONFIG_I2C_CHARDEV=m | 804 | CONFIG_I2C_CHARDEV=m |
835 | 805 | ||
836 | # | 806 | # |
@@ -846,10 +816,11 @@ CONFIG_I2C_CHARDEV=m | |||
846 | # CONFIG_I2C_BLACKFIN_GPIO is not set | 816 | # CONFIG_I2C_BLACKFIN_GPIO is not set |
847 | CONFIG_I2C_BLACKFIN_TWI=m | 817 | CONFIG_I2C_BLACKFIN_TWI=m |
848 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | 818 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 |
819 | # CONFIG_I2C_GPIO is not set | ||
849 | # CONFIG_I2C_OCORES is not set | 820 | # CONFIG_I2C_OCORES is not set |
850 | # CONFIG_I2C_PARPORT_LIGHT is not set | 821 | # CONFIG_I2C_PARPORT_LIGHT is not set |
822 | # CONFIG_I2C_SIMTEC is not set | ||
851 | # CONFIG_I2C_STUB is not set | 823 | # CONFIG_I2C_STUB is not set |
852 | # CONFIG_I2C_PCA_ISA is not set | ||
853 | 824 | ||
854 | # | 825 | # |
855 | # Miscellaneous I2C Chip support | 826 | # Miscellaneous I2C Chip support |
@@ -885,18 +856,16 @@ CONFIG_SPI_BFIN=y | |||
885 | # SPI Protocol Masters | 856 | # SPI Protocol Masters |
886 | # | 857 | # |
887 | # CONFIG_SPI_AT25 is not set | 858 | # CONFIG_SPI_AT25 is not set |
859 | # CONFIG_SPI_SPIDEV is not set | ||
888 | 860 | ||
889 | # | 861 | # |
890 | # Dallas's 1-wire bus | 862 | # Dallas's 1-wire bus |
891 | # | 863 | # |
892 | # CONFIG_W1 is not set | 864 | # CONFIG_W1 is not set |
893 | |||
894 | # | ||
895 | # Hardware Monitoring support | ||
896 | # | ||
897 | CONFIG_HWMON=y | 865 | CONFIG_HWMON=y |
898 | # CONFIG_HWMON_VID is not set | 866 | # CONFIG_HWMON_VID is not set |
899 | # CONFIG_SENSORS_ABITUGURU is not set | 867 | # CONFIG_SENSORS_ABITUGURU is not set |
868 | # CONFIG_SENSORS_AD7418 is not set | ||
900 | # CONFIG_SENSORS_ADM1021 is not set | 869 | # CONFIG_SENSORS_ADM1021 is not set |
901 | # CONFIG_SENSORS_ADM1025 is not set | 870 | # CONFIG_SENSORS_ADM1025 is not set |
902 | # CONFIG_SENSORS_ADM1026 is not set | 871 | # CONFIG_SENSORS_ADM1026 is not set |
@@ -924,6 +893,7 @@ CONFIG_HWMON=y | |||
924 | # CONFIG_SENSORS_LM90 is not set | 893 | # CONFIG_SENSORS_LM90 is not set |
925 | # CONFIG_SENSORS_LM92 is not set | 894 | # CONFIG_SENSORS_LM92 is not set |
926 | # CONFIG_SENSORS_MAX1619 is not set | 895 | # CONFIG_SENSORS_MAX1619 is not set |
896 | # CONFIG_SENSORS_MAX6650 is not set | ||
927 | # CONFIG_SENSORS_PC87360 is not set | 897 | # CONFIG_SENSORS_PC87360 is not set |
928 | # CONFIG_SENSORS_PC87427 is not set | 898 | # CONFIG_SENSORS_PC87427 is not set |
929 | # CONFIG_SENSORS_SMSC47M1 is not set | 899 | # CONFIG_SENSORS_SMSC47M1 is not set |
@@ -948,11 +918,8 @@ CONFIG_HWMON=y | |||
948 | # Multimedia devices | 918 | # Multimedia devices |
949 | # | 919 | # |
950 | # CONFIG_VIDEO_DEV is not set | 920 | # CONFIG_VIDEO_DEV is not set |
951 | 921 | # CONFIG_DVB_CORE is not set | |
952 | # | 922 | CONFIG_DAB=y |
953 | # Digital Video Broadcasting Devices | ||
954 | # | ||
955 | # CONFIG_DVB is not set | ||
956 | 923 | ||
957 | # | 924 | # |
958 | # Graphics support | 925 | # Graphics support |
@@ -960,12 +927,23 @@ CONFIG_HWMON=y | |||
960 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 927 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
961 | CONFIG_BACKLIGHT_CLASS_DEVICE=m | 928 | CONFIG_BACKLIGHT_CLASS_DEVICE=m |
962 | CONFIG_LCD_CLASS_DEVICE=m | 929 | CONFIG_LCD_CLASS_DEVICE=m |
930 | |||
931 | # | ||
932 | # Display device support | ||
933 | # | ||
934 | # CONFIG_DISPLAY_SUPPORT is not set | ||
935 | # CONFIG_VGASTATE is not set | ||
963 | CONFIG_FB=m | 936 | CONFIG_FB=m |
964 | CONFIG_FIRMWARE_EDID=y | 937 | CONFIG_FIRMWARE_EDID=y |
965 | # CONFIG_FB_DDC is not set | 938 | # CONFIG_FB_DDC is not set |
966 | CONFIG_FB_CFB_FILLRECT=m | 939 | CONFIG_FB_CFB_FILLRECT=m |
967 | CONFIG_FB_CFB_COPYAREA=m | 940 | CONFIG_FB_CFB_COPYAREA=m |
968 | CONFIG_FB_CFB_IMAGEBLIT=m | 941 | CONFIG_FB_CFB_IMAGEBLIT=m |
942 | # CONFIG_FB_SYS_FILLRECT is not set | ||
943 | # CONFIG_FB_SYS_COPYAREA is not set | ||
944 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
945 | # CONFIG_FB_SYS_FOPS is not set | ||
946 | CONFIG_FB_DEFERRED_IO=y | ||
969 | # CONFIG_FB_SVGALIB is not set | 947 | # CONFIG_FB_SVGALIB is not set |
970 | # CONFIG_FB_MACMODES is not set | 948 | # CONFIG_FB_MACMODES is not set |
971 | # CONFIG_FB_BACKLIGHT is not set | 949 | # CONFIG_FB_BACKLIGHT is not set |
@@ -991,10 +969,6 @@ CONFIG_LQ035_SLAVE_ADDR=0x58 | |||
991 | # CONFIG_FB_BFIN_BGR is not set | 969 | # CONFIG_FB_BFIN_BGR is not set |
992 | # CONFIG_FB_S1D13XXX is not set | 970 | # CONFIG_FB_S1D13XXX is not set |
993 | # CONFIG_FB_VIRTUAL is not set | 971 | # CONFIG_FB_VIRTUAL is not set |
994 | |||
995 | # | ||
996 | # Logo configuration | ||
997 | # | ||
998 | # CONFIG_LOGO is not set | 972 | # CONFIG_LOGO is not set |
999 | 973 | ||
1000 | # | 974 | # |
@@ -1035,7 +1009,6 @@ CONFIG_SND_BLACKFIN_AD1836_TDM=y | |||
1035 | # CONFIG_SND_BLACKFIN_AD1836_I2S is not set | 1009 | # CONFIG_SND_BLACKFIN_AD1836_I2S is not set |
1036 | CONFIG_SND_BLACKFIN_AD1836_MULSUB=y | 1010 | CONFIG_SND_BLACKFIN_AD1836_MULSUB=y |
1037 | # CONFIG_SND_BLACKFIN_AD1836_5P1 is not set | 1011 | # CONFIG_SND_BLACKFIN_AD1836_5P1 is not set |
1038 | CONFIG_SND_BLACKFIN_AD1981B=m | ||
1039 | CONFIG_SND_BLACKFIN_SPORT=0 | 1012 | CONFIG_SND_BLACKFIN_SPORT=0 |
1040 | CONFIG_SND_BLACKFIN_SPI_PFBIT=4 | 1013 | CONFIG_SND_BLACKFIN_SPI_PFBIT=4 |
1041 | CONFIG_SND_BFIN_AD73311=m | 1014 | CONFIG_SND_BFIN_AD73311=m |
@@ -1043,11 +1016,16 @@ CONFIG_SND_BFIN_SPORT=0 | |||
1043 | CONFIG_SND_BFIN_AD73311_SE=4 | 1016 | CONFIG_SND_BFIN_AD73311_SE=4 |
1044 | 1017 | ||
1045 | # | 1018 | # |
1046 | # SoC audio support | 1019 | # System on Chip audio support |
1047 | # | 1020 | # |
1048 | # CONFIG_SND_SOC is not set | 1021 | # CONFIG_SND_SOC is not set |
1049 | 1022 | ||
1050 | # | 1023 | # |
1024 | # SoC Audio for the ADI Blackfin | ||
1025 | # | ||
1026 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | ||
1027 | |||
1028 | # | ||
1051 | # Open Sound System | 1029 | # Open Sound System |
1052 | # | 1030 | # |
1053 | # CONFIG_SOUND_PRIME is not set | 1031 | # CONFIG_SOUND_PRIME is not set |
@@ -1067,18 +1045,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
1067 | # CONFIG_USB is not set | 1045 | # CONFIG_USB is not set |
1068 | 1046 | ||
1069 | # | 1047 | # |
1070 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 1048 | # Enable Host or Gadget support to see Inventra options |
1071 | # | 1049 | # |
1072 | 1050 | ||
1073 | # | 1051 | # |
1074 | # USB Gadget Support | 1052 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
1075 | # | 1053 | # |
1076 | # CONFIG_USB_GADGET is not set | ||
1077 | 1054 | ||
1078 | # | 1055 | # |
1079 | # MMC/SD Card support | 1056 | # USB Gadget Support |
1080 | # | 1057 | # |
1081 | # CONFIG_SPI_MMC is not set | 1058 | # CONFIG_USB_GADGET is not set |
1082 | # CONFIG_MMC is not set | 1059 | # CONFIG_MMC is not set |
1083 | 1060 | ||
1084 | # | 1061 | # |
@@ -1118,44 +1095,50 @@ CONFIG_RTC_INTF_SYSFS=y | |||
1118 | CONFIG_RTC_INTF_PROC=y | 1095 | CONFIG_RTC_INTF_PROC=y |
1119 | CONFIG_RTC_INTF_DEV=y | 1096 | CONFIG_RTC_INTF_DEV=y |
1120 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | 1097 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set |
1098 | # CONFIG_RTC_DRV_TEST is not set | ||
1121 | 1099 | ||
1122 | # | 1100 | # |
1123 | # RTC drivers | 1101 | # I2C RTC drivers |
1124 | # | 1102 | # |
1125 | # CONFIG_RTC_DRV_X1205 is not set | ||
1126 | # CONFIG_RTC_DRV_DS1307 is not set | 1103 | # CONFIG_RTC_DRV_DS1307 is not set |
1127 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1128 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1129 | # CONFIG_RTC_DRV_DS1672 is not set | 1104 | # CONFIG_RTC_DRV_DS1672 is not set |
1130 | # CONFIG_RTC_DRV_DS1742 is not set | 1105 | # CONFIG_RTC_DRV_MAX6900 is not set |
1106 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1107 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1108 | # CONFIG_RTC_DRV_X1205 is not set | ||
1131 | # CONFIG_RTC_DRV_PCF8563 is not set | 1109 | # CONFIG_RTC_DRV_PCF8563 is not set |
1110 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1111 | |||
1112 | # | ||
1113 | # SPI RTC drivers | ||
1114 | # | ||
1132 | # CONFIG_RTC_DRV_RS5C348 is not set | 1115 | # CONFIG_RTC_DRV_RS5C348 is not set |
1133 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1134 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1135 | # CONFIG_RTC_DRV_TEST is not set | ||
1136 | # CONFIG_RTC_DRV_MAX6902 is not set | 1116 | # CONFIG_RTC_DRV_MAX6902 is not set |
1137 | # CONFIG_RTC_DRV_V3020 is not set | ||
1138 | CONFIG_RTC_DRV_BFIN=y | ||
1139 | 1117 | ||
1140 | # | 1118 | # |
1141 | # DMA Engine support | 1119 | # Platform RTC drivers |
1142 | # | 1120 | # |
1143 | # CONFIG_DMA_ENGINE is not set | 1121 | # CONFIG_RTC_DRV_DS1553 is not set |
1122 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1123 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1124 | # CONFIG_RTC_DRV_V3020 is not set | ||
1144 | 1125 | ||
1145 | # | 1126 | # |
1146 | # DMA Clients | 1127 | # on-CPU RTC drivers |
1147 | # | 1128 | # |
1129 | CONFIG_RTC_DRV_BFIN=y | ||
1148 | 1130 | ||
1149 | # | 1131 | # |
1150 | # DMA Devices | 1132 | # DMA Engine support |
1151 | # | 1133 | # |
1134 | # CONFIG_DMA_ENGINE is not set | ||
1152 | 1135 | ||
1153 | # | 1136 | # |
1154 | # Auxiliary Display support | 1137 | # DMA Clients |
1155 | # | 1138 | # |
1156 | 1139 | ||
1157 | # | 1140 | # |
1158 | # Virtualization | 1141 | # DMA Devices |
1159 | # | 1142 | # |
1160 | 1143 | ||
1161 | # | 1144 | # |
@@ -1258,6 +1241,7 @@ CONFIG_LOCKD=m | |||
1258 | CONFIG_LOCKD_V4=y | 1241 | CONFIG_LOCKD_V4=y |
1259 | CONFIG_NFS_COMMON=y | 1242 | CONFIG_NFS_COMMON=y |
1260 | CONFIG_SUNRPC=m | 1243 | CONFIG_SUNRPC=m |
1244 | # CONFIG_SUNRPC_BIND34 is not set | ||
1261 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1245 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1262 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1246 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1263 | CONFIG_SMB_FS=m | 1247 | CONFIG_SMB_FS=m |
@@ -1335,14 +1319,20 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1335 | CONFIG_ENABLE_MUST_CHECK=y | 1319 | CONFIG_ENABLE_MUST_CHECK=y |
1336 | # CONFIG_MAGIC_SYSRQ is not set | 1320 | # CONFIG_MAGIC_SYSRQ is not set |
1337 | # CONFIG_UNUSED_SYMBOLS is not set | 1321 | # CONFIG_UNUSED_SYMBOLS is not set |
1338 | # CONFIG_DEBUG_FS is not set | 1322 | CONFIG_DEBUG_FS=y |
1339 | # CONFIG_HEADERS_CHECK is not set | 1323 | # CONFIG_HEADERS_CHECK is not set |
1340 | # CONFIG_DEBUG_KERNEL is not set | 1324 | # CONFIG_DEBUG_KERNEL is not set |
1341 | CONFIG_LOG_BUF_SHIFT=14 | ||
1342 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1325 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1343 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | 1326 | CONFIG_DEBUG_MMRS=y |
1344 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1327 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1328 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1329 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1330 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1331 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1332 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1333 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1345 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1334 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1335 | CONFIG_EARLY_PRINTK=y | ||
1346 | CONFIG_CPLB_INFO=y | 1336 | CONFIG_CPLB_INFO=y |
1347 | CONFIG_ACCESS_CHECK=y | 1337 | CONFIG_ACCESS_CHECK=y |
1348 | 1338 | ||
@@ -1365,6 +1355,7 @@ CONFIG_SECURITY_CAPABILITIES=m | |||
1365 | CONFIG_BITREVERSE=y | 1355 | CONFIG_BITREVERSE=y |
1366 | CONFIG_CRC_CCITT=m | 1356 | CONFIG_CRC_CCITT=m |
1367 | # CONFIG_CRC16 is not set | 1357 | # CONFIG_CRC16 is not set |
1358 | # CONFIG_CRC_ITU_T is not set | ||
1368 | CONFIG_CRC32=y | 1359 | CONFIG_CRC32=y |
1369 | # CONFIG_LIBCRC32C is not set | 1360 | # CONFIG_LIBCRC32C is not set |
1370 | CONFIG_ZLIB_INFLATE=y | 1361 | CONFIG_ZLIB_INFLATE=y |
@@ -1372,3 +1363,4 @@ CONFIG_ZLIB_DEFLATE=m | |||
1372 | CONFIG_PLIST=y | 1363 | CONFIG_PLIST=y |
1373 | CONFIG_HAS_IOMEM=y | 1364 | CONFIG_HAS_IOMEM=y |
1374 | CONFIG_HAS_IOPORT=y | 1365 | CONFIG_HAS_IOPORT=y |
1366 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/BF548-EZKIT_defconfig b/arch/blackfin/configs/BF548-EZKIT_defconfig index ac8390fafa9c..e80f3d59c283 100644 --- a/arch/blackfin/configs/BF548-EZKIT_defconfig +++ b/arch/blackfin/configs/BF548-EZKIT_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -40,7 +41,9 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
40 | # CONFIG_TASKSTATS is not set | 41 | # CONFIG_TASKSTATS is not set |
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | CONFIG_IKCONFIG=y |
45 | CONFIG_IKCONFIG_PROC=y | ||
46 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 47 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 48 | # CONFIG_RELAY is not set |
46 | CONFIG_BLK_DEV_INITRD=y | 49 | CONFIG_BLK_DEV_INITRD=y |
@@ -51,7 +54,6 @@ CONFIG_EMBEDDED=y | |||
51 | CONFIG_UID16=y | 54 | CONFIG_UID16=y |
52 | CONFIG_SYSCTL_SYSCALL=y | 55 | CONFIG_SYSCTL_SYSCALL=y |
53 | CONFIG_KALLSYMS=y | 56 | CONFIG_KALLSYMS=y |
54 | # CONFIG_KALLSYMS_ALL is not set | ||
55 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 57 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
56 | CONFIG_HOTPLUG=y | 58 | CONFIG_HOTPLUG=y |
57 | CONFIG_PRINTK=y | 59 | CONFIG_PRINTK=y |
@@ -59,14 +61,20 @@ CONFIG_BUG=y | |||
59 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
60 | CONFIG_BASE_FULL=y | 62 | CONFIG_BASE_FULL=y |
61 | CONFIG_FUTEX=y | 63 | CONFIG_FUTEX=y |
64 | CONFIG_ANON_INODES=y | ||
65 | CONFIG_EPOLL=y | ||
66 | CONFIG_SIGNALFD=y | ||
67 | CONFIG_TIMERFD=y | ||
68 | CONFIG_EVENTFD=y | ||
69 | CONFIG_VM_EVENT_COUNTERS=y | ||
62 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 70 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 |
63 | # CONFIG_NP2 is not set | 71 | # CONFIG_NP2 is not set |
64 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
65 | CONFIG_VM_EVENT_COUNTERS=y | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | ||
66 | CONFIG_RT_MUTEXES=y | 75 | CONFIG_RT_MUTEXES=y |
67 | CONFIG_TINY_SHMEM=y | 76 | CONFIG_TINY_SHMEM=y |
68 | CONFIG_BASE_SMALL=0 | 77 | CONFIG_BASE_SMALL=0 |
69 | # CONFIG_SLOB is not set | ||
70 | 78 | ||
71 | # | 79 | # |
72 | # Loadable module support | 80 | # Loadable module support |
@@ -165,6 +173,7 @@ CONFIG_IRQ_UART1_TX=10 | |||
165 | # | 173 | # |
166 | # BF548 Specific Configuration | 174 | # BF548 Specific Configuration |
167 | # | 175 | # |
176 | # CONFIG_DEB_DMA_URGENT is not set | ||
168 | 177 | ||
169 | # | 178 | # |
170 | # Interrupt Priority Assignment | 179 | # Interrupt Priority Assignment |
@@ -242,24 +251,35 @@ CONFIG_IRQ_PINT2=11 | |||
242 | CONFIG_IRQ_PINT3=11 | 251 | CONFIG_IRQ_PINT3=11 |
243 | 252 | ||
244 | # | 253 | # |
245 | # Board customizations | 254 | # Pin Interrupt to Port Assignment |
246 | # | 255 | # |
247 | # CONFIG_CMDLINE_BOOL is not set | ||
248 | 256 | ||
249 | # | 257 | # |
250 | # Board Setup | 258 | # Assignment |
251 | # | 259 | # |
252 | CONFIG_CLKIN_HZ=25000000 | 260 | CONFIG_PINTx_REASSIGN=y |
253 | CONFIG_MEM_SIZE=64 | 261 | CONFIG_PINT0_ASSIGN=0x00000101 |
254 | CONFIG_MEM_ADD_WIDTH=10 | 262 | CONFIG_PINT1_ASSIGN=0x01010000 |
255 | CONFIG_BOOT_LOAD=0x1000 | 263 | CONFIG_PINT2_ASSIGN=0x07000101 |
264 | CONFIG_PINT3_ASSIGN=0x02020303 | ||
256 | 265 | ||
257 | # | 266 | # |
258 | # Blackfin Kernel Optimizations | 267 | # Board customizations |
259 | # | 268 | # |
269 | # CONFIG_CMDLINE_BOOL is not set | ||
260 | 270 | ||
261 | # | 271 | # |
262 | # Timer Tick | 272 | # Clock/PLL Setup |
273 | # | ||
274 | CONFIG_CLKIN_HZ=25000000 | ||
275 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
276 | CONFIG_MAX_VCO_HZ=533000000 | ||
277 | CONFIG_MIN_VCO_HZ=50000000 | ||
278 | CONFIG_MAX_SCLK_HZ=133000000 | ||
279 | CONFIG_MIN_SCLK_HZ=27000000 | ||
280 | |||
281 | # | ||
282 | # Kernel Timer/Scheduler | ||
263 | # | 283 | # |
264 | # CONFIG_HZ_100 is not set | 284 | # CONFIG_HZ_100 is not set |
265 | CONFIG_HZ_250=y | 285 | CONFIG_HZ_250=y |
@@ -268,6 +288,20 @@ CONFIG_HZ_250=y | |||
268 | CONFIG_HZ=250 | 288 | CONFIG_HZ=250 |
269 | 289 | ||
270 | # | 290 | # |
291 | # Memory Setup | ||
292 | # | ||
293 | CONFIG_MEM_SIZE=64 | ||
294 | CONFIG_MEM_ADD_WIDTH=10 | ||
295 | CONFIG_BOOT_LOAD=0x1000 | ||
296 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
297 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
298 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
299 | |||
300 | # | ||
301 | # Blackfin Kernel Optimizations | ||
302 | # | ||
303 | |||
304 | # | ||
271 | # Memory Optimizations | 305 | # Memory Optimizations |
272 | # | 306 | # |
273 | CONFIG_I_ENTRY_L1=y | 307 | CONFIG_I_ENTRY_L1=y |
@@ -275,12 +309,12 @@ CONFIG_EXCPT_IRQ_SYSC_L1=y | |||
275 | CONFIG_DO_IRQ_L1=y | 309 | CONFIG_DO_IRQ_L1=y |
276 | CONFIG_CORE_TIMER_IRQ_L1=y | 310 | CONFIG_CORE_TIMER_IRQ_L1=y |
277 | CONFIG_IDLE_L1=y | 311 | CONFIG_IDLE_L1=y |
278 | CONFIG_SCHEDULE_L1=y | 312 | # CONFIG_SCHEDULE_L1 is not set |
279 | CONFIG_ARITHMETIC_OPS_L1=y | 313 | CONFIG_ARITHMETIC_OPS_L1=y |
280 | CONFIG_ACCESS_OK_L1=y | 314 | CONFIG_ACCESS_OK_L1=y |
281 | CONFIG_MEMSET_L1=y | 315 | # CONFIG_MEMSET_L1 is not set |
282 | CONFIG_MEMCPY_L1=y | 316 | # CONFIG_MEMCPY_L1 is not set |
283 | CONFIG_SYS_BFIN_SPINLOCK_L1=y | 317 | # CONFIG_SYS_BFIN_SPINLOCK_L1 is not set |
284 | # CONFIG_IP_CHECKSUM_L1 is not set | 318 | # CONFIG_IP_CHECKSUM_L1 is not set |
285 | CONFIG_CACHELINE_ALIGNED_L1=y | 319 | CONFIG_CACHELINE_ALIGNED_L1=y |
286 | # CONFIG_SYSCALL_TAB_L1 is not set | 320 | # CONFIG_SYSCALL_TAB_L1 is not set |
@@ -306,20 +340,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
306 | # | 340 | # |
307 | # Cache Support | 341 | # Cache Support |
308 | # | 342 | # |
309 | CONFIG_BLKFIN_CACHE=y | 343 | CONFIG_BFIN_ICACHE=y |
310 | CONFIG_BLKFIN_DCACHE=y | 344 | CONFIG_BFIN_DCACHE=y |
311 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 345 | # CONFIG_BFIN_DCACHE_BANKA is not set |
312 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 346 | # CONFIG_BFIN_ICACHE_LOCK is not set |
313 | # CONFIG_BLKFIN_WB is not set | 347 | # CONFIG_BFIN_WB is not set |
314 | CONFIG_BLKFIN_WT=y | 348 | CONFIG_BFIN_WT=y |
315 | CONFIG_L1_MAX_PIECE=16 | 349 | CONFIG_L1_MAX_PIECE=16 |
316 | 350 | ||
317 | # | 351 | # |
318 | # Clock Settings | ||
319 | # | ||
320 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
321 | |||
322 | # | ||
323 | # Asynchonous Memory Configuration | 352 | # Asynchonous Memory Configuration |
324 | # | 353 | # |
325 | 354 | ||
@@ -327,7 +356,6 @@ CONFIG_L1_MAX_PIECE=16 | |||
327 | # EBIU_AMBCTL Global Control | 356 | # EBIU_AMBCTL Global Control |
328 | # | 357 | # |
329 | CONFIG_C_AMCKEN=y | 358 | CONFIG_C_AMCKEN=y |
330 | CONFIG_C_CDPRIO=y | ||
331 | # CONFIG_C_AMBEN is not set | 359 | # CONFIG_C_AMBEN is not set |
332 | # CONFIG_C_AMBEN_B0 is not set | 360 | # CONFIG_C_AMBEN_B0 is not set |
333 | # CONFIG_C_AMBEN_B0_B1 is not set | 361 | # CONFIG_C_AMBEN_B0_B1 is not set |
@@ -338,7 +366,7 @@ CONFIG_C_AMBEN_ALL=y | |||
338 | # EBIU_AMBCTL Control | 366 | # EBIU_AMBCTL Control |
339 | # | 367 | # |
340 | CONFIG_BANK_0=0x7BB0 | 368 | CONFIG_BANK_0=0x7BB0 |
341 | CONFIG_BANK_1=0x7BB0 | 369 | CONFIG_BANK_1=0x5554 |
342 | CONFIG_BANK_2=0x7BB0 | 370 | CONFIG_BANK_2=0x7BB0 |
343 | CONFIG_BANK_3=0x99B3 | 371 | CONFIG_BANK_3=0x99B3 |
344 | 372 | ||
@@ -346,6 +374,7 @@ CONFIG_BANK_3=0x99B3 | |||
346 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 374 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
347 | # | 375 | # |
348 | # CONFIG_PCI is not set | 376 | # CONFIG_PCI is not set |
377 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
349 | 378 | ||
350 | # | 379 | # |
351 | # PCCARD (PCMCIA/CardBus) support | 380 | # PCCARD (PCMCIA/CardBus) support |
@@ -353,10 +382,6 @@ CONFIG_BANK_3=0x99B3 | |||
353 | # CONFIG_PCCARD is not set | 382 | # CONFIG_PCCARD is not set |
354 | 383 | ||
355 | # | 384 | # |
356 | # PCI Hotplug Support | ||
357 | # | ||
358 | |||
359 | # | ||
360 | # Executable file formats | 385 | # Executable file formats |
361 | # | 386 | # |
362 | CONFIG_BINFMT_ELF_FDPIC=y | 387 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -383,7 +408,6 @@ CONFIG_NET=y | |||
383 | # | 408 | # |
384 | # Networking options | 409 | # Networking options |
385 | # | 410 | # |
386 | # CONFIG_NETDEBUG is not set | ||
387 | CONFIG_PACKET=y | 411 | CONFIG_PACKET=y |
388 | # CONFIG_PACKET_MMAP is not set | 412 | # CONFIG_PACKET_MMAP is not set |
389 | CONFIG_UNIX=y | 413 | CONFIG_UNIX=y |
@@ -424,20 +448,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
424 | # CONFIG_NETLABEL is not set | 448 | # CONFIG_NETLABEL is not set |
425 | # CONFIG_NETWORK_SECMARK is not set | 449 | # CONFIG_NETWORK_SECMARK is not set |
426 | # CONFIG_NETFILTER is not set | 450 | # CONFIG_NETFILTER is not set |
427 | |||
428 | # | ||
429 | # DCCP Configuration (EXPERIMENTAL) | ||
430 | # | ||
431 | # CONFIG_IP_DCCP is not set | 451 | # CONFIG_IP_DCCP is not set |
432 | |||
433 | # | ||
434 | # SCTP Configuration (EXPERIMENTAL) | ||
435 | # | ||
436 | # CONFIG_IP_SCTP is not set | 452 | # CONFIG_IP_SCTP is not set |
437 | |||
438 | # | ||
439 | # TIPC Configuration (EXPERIMENTAL) | ||
440 | # | ||
441 | # CONFIG_TIPC is not set | 453 | # CONFIG_TIPC is not set |
442 | # CONFIG_ATM is not set | 454 | # CONFIG_ATM is not set |
443 | # CONFIG_BRIDGE is not set | 455 | # CONFIG_BRIDGE is not set |
@@ -463,7 +475,16 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
463 | # CONFIG_HAMRADIO is not set | 475 | # CONFIG_HAMRADIO is not set |
464 | # CONFIG_IRDA is not set | 476 | # CONFIG_IRDA is not set |
465 | # CONFIG_BT is not set | 477 | # CONFIG_BT is not set |
478 | # CONFIG_AF_RXRPC is not set | ||
479 | |||
480 | # | ||
481 | # Wireless | ||
482 | # | ||
483 | # CONFIG_CFG80211 is not set | ||
484 | # CONFIG_WIRELESS_EXT is not set | ||
485 | # CONFIG_MAC80211 is not set | ||
466 | # CONFIG_IEEE80211 is not set | 486 | # CONFIG_IEEE80211 is not set |
487 | # CONFIG_RFKILL is not set | ||
467 | 488 | ||
468 | # | 489 | # |
469 | # Device Drivers | 490 | # Device Drivers |
@@ -475,29 +496,23 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
475 | CONFIG_STANDALONE=y | 496 | CONFIG_STANDALONE=y |
476 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 497 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
477 | # CONFIG_FW_LOADER is not set | 498 | # CONFIG_FW_LOADER is not set |
478 | # CONFIG_DEBUG_DRIVER is not set | ||
479 | # CONFIG_DEBUG_DEVRES is not set | ||
480 | # CONFIG_SYS_HYPERVISOR is not set | 499 | # CONFIG_SYS_HYPERVISOR is not set |
481 | 500 | ||
482 | # | 501 | # |
483 | # Connector - unified userspace <-> kernelspace linker | 502 | # Connector - unified userspace <-> kernelspace linker |
484 | # | 503 | # |
485 | # CONFIG_CONNECTOR is not set | 504 | # CONFIG_CONNECTOR is not set |
486 | |||
487 | # | ||
488 | # Memory Technology Devices (MTD) | ||
489 | # | ||
490 | CONFIG_MTD=y | 505 | CONFIG_MTD=y |
491 | # CONFIG_MTD_DEBUG is not set | 506 | # CONFIG_MTD_DEBUG is not set |
492 | # CONFIG_MTD_CONCAT is not set | 507 | # CONFIG_MTD_CONCAT is not set |
493 | CONFIG_MTD_PARTITIONS=y | 508 | CONFIG_MTD_PARTITIONS=y |
494 | # CONFIG_MTD_REDBOOT_PARTS is not set | 509 | # CONFIG_MTD_REDBOOT_PARTS is not set |
495 | # CONFIG_MTD_CMDLINE_PARTS is not set | 510 | CONFIG_MTD_CMDLINE_PARTS=y |
496 | 511 | ||
497 | # | 512 | # |
498 | # User Modules And Translation Layers | 513 | # User Modules And Translation Layers |
499 | # | 514 | # |
500 | # CONFIG_MTD_CHAR is not set | 515 | CONFIG_MTD_CHAR=y |
501 | CONFIG_MTD_BLKDEVS=y | 516 | CONFIG_MTD_BLKDEVS=y |
502 | CONFIG_MTD_BLOCK=y | 517 | CONFIG_MTD_BLOCK=y |
503 | # CONFIG_FTL is not set | 518 | # CONFIG_FTL is not set |
@@ -509,8 +524,10 @@ CONFIG_MTD_BLOCK=y | |||
509 | # | 524 | # |
510 | # RAM/ROM/Flash chip drivers | 525 | # RAM/ROM/Flash chip drivers |
511 | # | 526 | # |
512 | # CONFIG_MTD_CFI is not set | 527 | CONFIG_MTD_CFI=y |
513 | # CONFIG_MTD_JEDECPROBE is not set | 528 | # CONFIG_MTD_JEDECPROBE is not set |
529 | CONFIG_MTD_GEN_PROBE=y | ||
530 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
514 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | 531 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
515 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | 532 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
516 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | 533 | CONFIG_MTD_MAP_BANK_WIDTH_4=y |
@@ -521,22 +538,32 @@ CONFIG_MTD_CFI_I1=y | |||
521 | CONFIG_MTD_CFI_I2=y | 538 | CONFIG_MTD_CFI_I2=y |
522 | # CONFIG_MTD_CFI_I4 is not set | 539 | # CONFIG_MTD_CFI_I4 is not set |
523 | # CONFIG_MTD_CFI_I8 is not set | 540 | # CONFIG_MTD_CFI_I8 is not set |
541 | CONFIG_MTD_CFI_INTELEXT=y | ||
542 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
543 | # CONFIG_MTD_CFI_STAA is not set | ||
544 | # CONFIG_MTD_MW320D is not set | ||
545 | CONFIG_MTD_CFI_UTIL=y | ||
524 | CONFIG_MTD_RAM=y | 546 | CONFIG_MTD_RAM=y |
525 | # CONFIG_MTD_ROM is not set | 547 | # CONFIG_MTD_ROM is not set |
526 | # CONFIG_MTD_ABSENT is not set | 548 | # CONFIG_MTD_ABSENT is not set |
527 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
528 | 549 | ||
529 | # | 550 | # |
530 | # Mapping drivers for chip access | 551 | # Mapping drivers for chip access |
531 | # | 552 | # |
532 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 553 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
554 | CONFIG_MTD_PHYSMAP=y | ||
555 | CONFIG_MTD_PHYSMAP_START=0x20000000 | ||
556 | CONFIG_MTD_PHYSMAP_LEN=0x400000 | ||
557 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
533 | # CONFIG_MTD_BF5xx is not set | 558 | # CONFIG_MTD_BF5xx is not set |
534 | CONFIG_MTD_UCLINUX=y | 559 | # CONFIG_MTD_UCLINUX is not set |
535 | # CONFIG_MTD_PLATRAM is not set | 560 | # CONFIG_MTD_PLATRAM is not set |
536 | 561 | ||
537 | # | 562 | # |
538 | # Self-contained MTD device drivers | 563 | # Self-contained MTD device drivers |
539 | # | 564 | # |
565 | # CONFIG_MTD_DATAFLASH is not set | ||
566 | # CONFIG_MTD_M25P80 is not set | ||
540 | # CONFIG_MTD_SLRAM is not set | 567 | # CONFIG_MTD_SLRAM is not set |
541 | # CONFIG_MTD_PHRAM is not set | 568 | # CONFIG_MTD_PHRAM is not set |
542 | # CONFIG_MTD_MTDRAM is not set | 569 | # CONFIG_MTD_MTDRAM is not set |
@@ -548,16 +575,23 @@ CONFIG_MTD_UCLINUX=y | |||
548 | # CONFIG_MTD_DOC2000 is not set | 575 | # CONFIG_MTD_DOC2000 is not set |
549 | # CONFIG_MTD_DOC2001 is not set | 576 | # CONFIG_MTD_DOC2001 is not set |
550 | # CONFIG_MTD_DOC2001PLUS is not set | 577 | # CONFIG_MTD_DOC2001PLUS is not set |
578 | CONFIG_MTD_NAND=y | ||
579 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
580 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
581 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
582 | # CONFIG_MTD_NAND_BFIN is not set | ||
583 | CONFIG_MTD_NAND_IDS=y | ||
584 | CONFIG_MTD_NAND_BF5XX=y | ||
585 | CONFIG_MTD_NAND_BF5XX_HWECC=y | ||
586 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
587 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
588 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
589 | # CONFIG_MTD_ONENAND is not set | ||
551 | 590 | ||
552 | # | 591 | # |
553 | # NAND Flash Device Drivers | 592 | # UBI - Unsorted block images |
554 | # | ||
555 | # CONFIG_MTD_NAND is not set | ||
556 | |||
557 | # | ||
558 | # OneNAND Flash Device Drivers | ||
559 | # | 593 | # |
560 | # CONFIG_MTD_ONENAND is not set | 594 | # CONFIG_MTD_UBI is not set |
561 | 595 | ||
562 | # | 596 | # |
563 | # Parallel port support | 597 | # Parallel port support |
@@ -585,41 +619,61 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
585 | # | 619 | # |
586 | # Misc devices | 620 | # Misc devices |
587 | # | 621 | # |
588 | |||
589 | # | ||
590 | # ATA/ATAPI/MFM/RLL support | ||
591 | # | ||
592 | # CONFIG_IDE is not set | 622 | # CONFIG_IDE is not set |
593 | 623 | ||
594 | # | 624 | # |
595 | # SCSI device support | 625 | # SCSI device support |
596 | # | 626 | # |
597 | # CONFIG_RAID_ATTRS is not set | 627 | # CONFIG_RAID_ATTRS is not set |
598 | # CONFIG_SCSI is not set | 628 | CONFIG_SCSI=y |
629 | # CONFIG_SCSI_TGT is not set | ||
599 | # CONFIG_SCSI_NETLINK is not set | 630 | # CONFIG_SCSI_NETLINK is not set |
631 | CONFIG_SCSI_PROC_FS=y | ||
600 | 632 | ||
601 | # | 633 | # |
602 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | 634 | # SCSI support type (disk, tape, CD-ROM) |
603 | # | 635 | # |
604 | # CONFIG_ATA is not set | 636 | CONFIG_BLK_DEV_SD=y |
637 | # CONFIG_CHR_DEV_ST is not set | ||
638 | # CONFIG_CHR_DEV_OSST is not set | ||
639 | CONFIG_BLK_DEV_SR=y | ||
640 | # CONFIG_BLK_DEV_SR_VENDOR is not set | ||
641 | # CONFIG_CHR_DEV_SG is not set | ||
642 | # CONFIG_CHR_DEV_SCH is not set | ||
605 | 643 | ||
606 | # | 644 | # |
607 | # Multi-device support (RAID and LVM) | 645 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
608 | # | 646 | # |
609 | # CONFIG_MD is not set | 647 | # CONFIG_SCSI_MULTI_LUN is not set |
648 | # CONFIG_SCSI_CONSTANTS is not set | ||
649 | # CONFIG_SCSI_LOGGING is not set | ||
650 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
651 | CONFIG_SCSI_WAIT_SCAN=m | ||
610 | 652 | ||
611 | # | 653 | # |
612 | # Fusion MPT device support | 654 | # SCSI Transports |
613 | # | 655 | # |
614 | # CONFIG_FUSION is not set | 656 | # CONFIG_SCSI_SPI_ATTRS is not set |
657 | # CONFIG_SCSI_FC_ATTRS is not set | ||
658 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
659 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
660 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
615 | 661 | ||
616 | # | 662 | # |
617 | # IEEE 1394 (FireWire) support | 663 | # SCSI low-level drivers |
618 | # | 664 | # |
665 | # CONFIG_ISCSI_TCP is not set | ||
666 | # CONFIG_SCSI_DEBUG is not set | ||
667 | CONFIG_ATA=y | ||
668 | # CONFIG_ATA_NONSTANDARD is not set | ||
669 | # CONFIG_PATA_PLATFORM is not set | ||
670 | CONFIG_PATA_BF54X=y | ||
671 | CONFIG_PATA_BF54X_DMA=y | ||
619 | 672 | ||
620 | # | 673 | # |
621 | # I2O device support | 674 | # Multi-device support (RAID and LVM) |
622 | # | 675 | # |
676 | # CONFIG_MD is not set | ||
623 | 677 | ||
624 | # | 678 | # |
625 | # Network device support | 679 | # Network device support |
@@ -629,10 +683,6 @@ CONFIG_NETDEVICES=y | |||
629 | # CONFIG_BONDING is not set | 683 | # CONFIG_BONDING is not set |
630 | # CONFIG_EQUALIZER is not set | 684 | # CONFIG_EQUALIZER is not set |
631 | # CONFIG_TUN is not set | 685 | # CONFIG_TUN is not set |
632 | |||
633 | # | ||
634 | # PHY device support | ||
635 | # | ||
636 | # CONFIG_PHYLIB is not set | 686 | # CONFIG_PHYLIB is not set |
637 | 687 | ||
638 | # | 688 | # |
@@ -641,28 +691,16 @@ CONFIG_NETDEVICES=y | |||
641 | CONFIG_NET_ETHERNET=y | 691 | CONFIG_NET_ETHERNET=y |
642 | CONFIG_MII=y | 692 | CONFIG_MII=y |
643 | # CONFIG_SMC91X is not set | 693 | # CONFIG_SMC91X is not set |
644 | # CONFIG_SMSC911X is not set | 694 | CONFIG_SMSC911X=y |
645 | 695 | # CONFIG_DM9000 is not set | |
646 | # | 696 | CONFIG_NETDEV_1000=y |
647 | # Ethernet (1000 Mbit) | 697 | CONFIG_NETDEV_10000=y |
648 | # | ||
649 | |||
650 | # | ||
651 | # Ethernet (10000 Mbit) | ||
652 | # | ||
653 | 698 | ||
654 | # | 699 | # |
655 | # Token Ring devices | 700 | # Wireless LAN |
656 | # | ||
657 | |||
658 | # | ||
659 | # Wireless LAN (non-hamradio) | ||
660 | # | ||
661 | # CONFIG_NET_RADIO is not set | ||
662 | |||
663 | # | ||
664 | # Wan interfaces | ||
665 | # | 701 | # |
702 | # CONFIG_WLAN_PRE80211 is not set | ||
703 | # CONFIG_WLAN_80211 is not set | ||
666 | # CONFIG_WAN is not set | 704 | # CONFIG_WAN is not set |
667 | # CONFIG_PPP is not set | 705 | # CONFIG_PPP is not set |
668 | # CONFIG_SLIP is not set | 706 | # CONFIG_SLIP is not set |
@@ -686,6 +724,7 @@ CONFIG_MII=y | |||
686 | # | 724 | # |
687 | CONFIG_INPUT=y | 725 | CONFIG_INPUT=y |
688 | # CONFIG_INPUT_FF_MEMLESS is not set | 726 | # CONFIG_INPUT_FF_MEMLESS is not set |
727 | # CONFIG_INPUT_POLLDEV is not set | ||
689 | 728 | ||
690 | # | 729 | # |
691 | # Userland interfaces | 730 | # Userland interfaces |
@@ -702,10 +741,17 @@ CONFIG_INPUT=y | |||
702 | # CONFIG_INPUT_KEYBOARD is not set | 741 | # CONFIG_INPUT_KEYBOARD is not set |
703 | # CONFIG_INPUT_MOUSE is not set | 742 | # CONFIG_INPUT_MOUSE is not set |
704 | # CONFIG_INPUT_JOYSTICK is not set | 743 | # CONFIG_INPUT_JOYSTICK is not set |
744 | # CONFIG_INPUT_TABLET is not set | ||
705 | # CONFIG_INPUT_TOUCHSCREEN is not set | 745 | # CONFIG_INPUT_TOUCHSCREEN is not set |
706 | CONFIG_INPUT_MISC=y | 746 | CONFIG_INPUT_MISC=y |
747 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
748 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
749 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
750 | # CONFIG_INPUT_POWERMATE is not set | ||
751 | # CONFIG_INPUT_YEALINK is not set | ||
707 | # CONFIG_INPUT_UINPUT is not set | 752 | # CONFIG_INPUT_UINPUT is not set |
708 | # CONFIG_BF53X_PFBUTTONS is not set | 753 | # CONFIG_BF53X_PFBUTTONS is not set |
754 | # CONFIG_TWI_KEYPAD is not set | ||
709 | 755 | ||
710 | # | 756 | # |
711 | # Hardware I/O ports | 757 | # Hardware I/O ports |
@@ -718,12 +764,15 @@ CONFIG_INPUT_MISC=y | |||
718 | # | 764 | # |
719 | # CONFIG_AD9960 is not set | 765 | # CONFIG_AD9960 is not set |
720 | # CONFIG_SPI_ADC_BF533 is not set | 766 | # CONFIG_SPI_ADC_BF533 is not set |
721 | # CONFIG_BF5xx_PFLAGS is not set | 767 | # CONFIG_BFIN_PFLAGS is not set |
722 | # CONFIG_BF5xx_PPIFCD is not set | 768 | # CONFIG_BF5xx_PPIFCD is not set |
723 | # CONFIG_BF5xx_TIMERS is not set | 769 | # CONFIG_BF5xx_TIMERS is not set |
724 | # CONFIG_BF5xx_PPI is not set | 770 | # CONFIG_BF5xx_PPI is not set |
725 | # CONFIG_BFIN_SPORT is not set | 771 | # CONFIG_BFIN_SPORT is not set |
726 | # CONFIG_BFIN_TIMER_LATENCY is not set | 772 | # CONFIG_BFIN_TIMER_LATENCY is not set |
773 | # CONFIG_TWI_LCD is not set | ||
774 | # CONFIG_AD5304 is not set | ||
775 | # CONFIG_BF5xx_TEA5764 is not set | ||
727 | # CONFIG_BF5xx_FBDMA is not set | 776 | # CONFIG_BF5xx_FBDMA is not set |
728 | # CONFIG_VT is not set | 777 | # CONFIG_VT is not set |
729 | # CONFIG_SERIAL_NONSTANDARD is not set | 778 | # CONFIG_SERIAL_NONSTANDARD is not set |
@@ -760,14 +809,9 @@ CONFIG_UNIX98_PTYS=y | |||
760 | # IPMI | 809 | # IPMI |
761 | # | 810 | # |
762 | # CONFIG_IPMI_HANDLER is not set | 811 | # CONFIG_IPMI_HANDLER is not set |
763 | |||
764 | # | ||
765 | # Watchdog Cards | ||
766 | # | ||
767 | # CONFIG_WATCHDOG is not set | 812 | # CONFIG_WATCHDOG is not set |
768 | CONFIG_HW_RANDOM=y | 813 | CONFIG_HW_RANDOM=y |
769 | # CONFIG_GEN_RTC is not set | 814 | # CONFIG_GEN_RTC is not set |
770 | # CONFIG_DTLK is not set | ||
771 | # CONFIG_R3964 is not set | 815 | # CONFIG_R3964 is not set |
772 | # CONFIG_RAW_DRIVER is not set | 816 | # CONFIG_RAW_DRIVER is not set |
773 | 817 | ||
@@ -775,32 +819,114 @@ CONFIG_HW_RANDOM=y | |||
775 | # TPM devices | 819 | # TPM devices |
776 | # | 820 | # |
777 | # CONFIG_TCG_TPM is not set | 821 | # CONFIG_TCG_TPM is not set |
822 | CONFIG_I2C=y | ||
823 | CONFIG_I2C_BOARDINFO=y | ||
824 | CONFIG_I2C_CHARDEV=y | ||
825 | |||
826 | # | ||
827 | # I2C Algorithms | ||
828 | # | ||
829 | # CONFIG_I2C_ALGOBIT is not set | ||
830 | # CONFIG_I2C_ALGOPCF is not set | ||
831 | # CONFIG_I2C_ALGOPCA is not set | ||
778 | 832 | ||
779 | # | 833 | # |
780 | # I2C support | 834 | # I2C Hardware Bus support |
781 | # | 835 | # |
782 | # CONFIG_I2C is not set | 836 | # CONFIG_I2C_BLACKFIN_GPIO is not set |
837 | CONFIG_I2C_BLACKFIN_TWI=y | ||
838 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | ||
839 | # CONFIG_I2C_GPIO is not set | ||
840 | # CONFIG_I2C_OCORES is not set | ||
841 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
842 | # CONFIG_I2C_SIMTEC is not set | ||
843 | # CONFIG_I2C_STUB is not set | ||
844 | |||
845 | # | ||
846 | # Miscellaneous I2C Chip support | ||
847 | # | ||
848 | # CONFIG_SENSORS_DS1337 is not set | ||
849 | # CONFIG_SENSORS_DS1374 is not set | ||
850 | # CONFIG_SENSORS_AD5252 is not set | ||
851 | # CONFIG_SENSORS_EEPROM is not set | ||
852 | # CONFIG_SENSORS_PCF8574 is not set | ||
853 | # CONFIG_SENSORS_PCF8575 is not set | ||
854 | # CONFIG_SENSORS_PCA9543 is not set | ||
855 | # CONFIG_SENSORS_PCA9539 is not set | ||
856 | # CONFIG_SENSORS_PCF8591 is not set | ||
857 | # CONFIG_SENSORS_MAX6875 is not set | ||
858 | # CONFIG_I2C_DEBUG_CORE is not set | ||
859 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
860 | # CONFIG_I2C_DEBUG_BUS is not set | ||
861 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
783 | 862 | ||
784 | # | 863 | # |
785 | # SPI support | 864 | # SPI support |
786 | # | 865 | # |
787 | # CONFIG_SPI is not set | 866 | CONFIG_SPI=y |
788 | # CONFIG_SPI_MASTER is not set | 867 | CONFIG_SPI_MASTER=y |
789 | 868 | ||
790 | # | 869 | # |
791 | # Dallas's 1-wire bus | 870 | # SPI Master Controller Drivers |
792 | # | 871 | # |
793 | # CONFIG_W1 is not set | 872 | CONFIG_SPI_BFIN=y |
873 | # CONFIG_SPI_BITBANG is not set | ||
874 | |||
875 | # | ||
876 | # SPI Protocol Masters | ||
877 | # | ||
878 | # CONFIG_SPI_AT25 is not set | ||
879 | # CONFIG_SPI_SPIDEV is not set | ||
794 | 880 | ||
795 | # | 881 | # |
796 | # Hardware Monitoring support | 882 | # Dallas's 1-wire bus |
797 | # | 883 | # |
884 | # CONFIG_W1 is not set | ||
798 | CONFIG_HWMON=y | 885 | CONFIG_HWMON=y |
799 | # CONFIG_HWMON_VID is not set | 886 | # CONFIG_HWMON_VID is not set |
800 | # CONFIG_SENSORS_ABITUGURU is not set | 887 | # CONFIG_SENSORS_ABITUGURU is not set |
888 | # CONFIG_SENSORS_AD7418 is not set | ||
889 | # CONFIG_SENSORS_ADM1021 is not set | ||
890 | # CONFIG_SENSORS_ADM1025 is not set | ||
891 | # CONFIG_SENSORS_ADM1026 is not set | ||
892 | # CONFIG_SENSORS_ADM1029 is not set | ||
893 | # CONFIG_SENSORS_ADM1031 is not set | ||
894 | # CONFIG_SENSORS_ADM9240 is not set | ||
895 | # CONFIG_SENSORS_ASB100 is not set | ||
896 | # CONFIG_SENSORS_ATXP1 is not set | ||
897 | # CONFIG_SENSORS_DS1621 is not set | ||
801 | # CONFIG_SENSORS_F71805F is not set | 898 | # CONFIG_SENSORS_F71805F is not set |
899 | # CONFIG_SENSORS_FSCHER is not set | ||
900 | # CONFIG_SENSORS_FSCPOS is not set | ||
901 | # CONFIG_SENSORS_GL518SM is not set | ||
902 | # CONFIG_SENSORS_GL520SM is not set | ||
903 | # CONFIG_SENSORS_IT87 is not set | ||
904 | # CONFIG_SENSORS_LM63 is not set | ||
905 | # CONFIG_SENSORS_LM70 is not set | ||
906 | # CONFIG_SENSORS_LM75 is not set | ||
907 | # CONFIG_SENSORS_LM77 is not set | ||
908 | # CONFIG_SENSORS_LM78 is not set | ||
909 | # CONFIG_SENSORS_LM80 is not set | ||
910 | # CONFIG_SENSORS_LM83 is not set | ||
911 | # CONFIG_SENSORS_LM85 is not set | ||
912 | # CONFIG_SENSORS_LM87 is not set | ||
913 | # CONFIG_SENSORS_LM90 is not set | ||
914 | # CONFIG_SENSORS_LM92 is not set | ||
915 | # CONFIG_SENSORS_MAX1619 is not set | ||
916 | # CONFIG_SENSORS_MAX6650 is not set | ||
917 | # CONFIG_SENSORS_PC87360 is not set | ||
802 | # CONFIG_SENSORS_PC87427 is not set | 918 | # CONFIG_SENSORS_PC87427 is not set |
919 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
920 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
921 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
803 | # CONFIG_SENSORS_VT1211 is not set | 922 | # CONFIG_SENSORS_VT1211 is not set |
923 | # CONFIG_SENSORS_W83781D is not set | ||
924 | # CONFIG_SENSORS_W83791D is not set | ||
925 | # CONFIG_SENSORS_W83792D is not set | ||
926 | # CONFIG_SENSORS_W83793 is not set | ||
927 | # CONFIG_SENSORS_W83L785TS is not set | ||
928 | # CONFIG_SENSORS_W83627HF is not set | ||
929 | # CONFIG_SENSORS_W83627EHF is not set | ||
804 | # CONFIG_HWMON_DEBUG_CHIP is not set | 930 | # CONFIG_HWMON_DEBUG_CHIP is not set |
805 | 931 | ||
806 | # | 932 | # |
@@ -812,16 +938,19 @@ CONFIG_HWMON=y | |||
812 | # Multimedia devices | 938 | # Multimedia devices |
813 | # | 939 | # |
814 | # CONFIG_VIDEO_DEV is not set | 940 | # CONFIG_VIDEO_DEV is not set |
941 | # CONFIG_DVB_CORE is not set | ||
942 | CONFIG_DAB=y | ||
815 | 943 | ||
816 | # | 944 | # |
817 | # Digital Video Broadcasting Devices | 945 | # Graphics support |
818 | # | 946 | # |
819 | # CONFIG_DVB is not set | 947 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
820 | 948 | ||
821 | # | 949 | # |
822 | # Graphics support | 950 | # Display device support |
823 | # | 951 | # |
824 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 952 | # CONFIG_DISPLAY_SUPPORT is not set |
953 | # CONFIG_VGASTATE is not set | ||
825 | # CONFIG_FB is not set | 954 | # CONFIG_FB is not set |
826 | 955 | ||
827 | # | 956 | # |
@@ -844,6 +973,10 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
844 | # CONFIG_USB is not set | 973 | # CONFIG_USB is not set |
845 | 974 | ||
846 | # | 975 | # |
976 | # Enable Host or Gadget support to see Inventra options | ||
977 | # | ||
978 | |||
979 | # | ||
847 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 980 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
848 | # | 981 | # |
849 | 982 | ||
@@ -851,11 +984,20 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
851 | # USB Gadget Support | 984 | # USB Gadget Support |
852 | # | 985 | # |
853 | # CONFIG_USB_GADGET is not set | 986 | # CONFIG_USB_GADGET is not set |
987 | CONFIG_MMC=m | ||
988 | # CONFIG_MMC_DEBUG is not set | ||
989 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
990 | |||
991 | # | ||
992 | # MMC/SD Card Drivers | ||
993 | # | ||
994 | CONFIG_MMC_BLOCK=m | ||
854 | 995 | ||
855 | # | 996 | # |
856 | # MMC/SD Card support | 997 | # MMC/SD Host Controller Drivers |
857 | # | 998 | # |
858 | # CONFIG_MMC is not set | 999 | CONFIG_SDH_BFIN=m |
1000 | # CONFIG_SPI_MMC is not set | ||
859 | 1001 | ||
860 | # | 1002 | # |
861 | # LED devices | 1003 | # LED devices |
@@ -894,15 +1036,37 @@ CONFIG_RTC_INTF_SYSFS=y | |||
894 | CONFIG_RTC_INTF_PROC=y | 1036 | CONFIG_RTC_INTF_PROC=y |
895 | CONFIG_RTC_INTF_DEV=y | 1037 | CONFIG_RTC_INTF_DEV=y |
896 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | 1038 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set |
1039 | # CONFIG_RTC_DRV_TEST is not set | ||
897 | 1040 | ||
898 | # | 1041 | # |
899 | # RTC drivers | 1042 | # I2C RTC drivers |
1043 | # | ||
1044 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1045 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1046 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1047 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1048 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1049 | # CONFIG_RTC_DRV_X1205 is not set | ||
1050 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1051 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1052 | |||
1053 | # | ||
1054 | # SPI RTC drivers | ||
1055 | # | ||
1056 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1057 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1058 | |||
1059 | # | ||
1060 | # Platform RTC drivers | ||
900 | # | 1061 | # |
901 | # CONFIG_RTC_DRV_DS1553 is not set | 1062 | # CONFIG_RTC_DRV_DS1553 is not set |
902 | # CONFIG_RTC_DRV_DS1742 is not set | 1063 | # CONFIG_RTC_DRV_DS1742 is not set |
903 | # CONFIG_RTC_DRV_M48T86 is not set | 1064 | # CONFIG_RTC_DRV_M48T86 is not set |
904 | # CONFIG_RTC_DRV_TEST is not set | ||
905 | # CONFIG_RTC_DRV_V3020 is not set | 1065 | # CONFIG_RTC_DRV_V3020 is not set |
1066 | |||
1067 | # | ||
1068 | # on-CPU RTC drivers | ||
1069 | # | ||
906 | CONFIG_RTC_DRV_BFIN=y | 1070 | CONFIG_RTC_DRV_BFIN=y |
907 | 1071 | ||
908 | # | 1072 | # |
@@ -919,14 +1083,6 @@ CONFIG_RTC_DRV_BFIN=y | |||
919 | # | 1083 | # |
920 | 1084 | ||
921 | # | 1085 | # |
922 | # Auxiliary Display support | ||
923 | # | ||
924 | |||
925 | # | ||
926 | # Virtualization | ||
927 | # | ||
928 | |||
929 | # | ||
930 | # PBX support | 1086 | # PBX support |
931 | # | 1087 | # |
932 | # CONFIG_PBX is not set | 1088 | # CONFIG_PBX is not set |
@@ -991,8 +1147,25 @@ CONFIG_RAMFS=y | |||
991 | # CONFIG_BEFS_FS is not set | 1147 | # CONFIG_BEFS_FS is not set |
992 | # CONFIG_BFS_FS is not set | 1148 | # CONFIG_BFS_FS is not set |
993 | # CONFIG_EFS_FS is not set | 1149 | # CONFIG_EFS_FS is not set |
994 | # CONFIG_YAFFS_FS is not set | 1150 | CONFIG_YAFFS_FS=m |
995 | # CONFIG_JFFS2_FS is not set | 1151 | CONFIG_YAFFS_YAFFS1=y |
1152 | # CONFIG_YAFFS_DOES_ECC is not set | ||
1153 | CONFIG_YAFFS_YAFFS2=y | ||
1154 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
1155 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
1156 | CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10 | ||
1157 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
1158 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
1159 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
1160 | CONFIG_JFFS2_FS=m | ||
1161 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1162 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1163 | # CONFIG_JFFS2_SUMMARY is not set | ||
1164 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1165 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1166 | CONFIG_JFFS2_ZLIB=y | ||
1167 | CONFIG_JFFS2_RTIME=y | ||
1168 | # CONFIG_JFFS2_RUBIN is not set | ||
996 | # CONFIG_CRAMFS is not set | 1169 | # CONFIG_CRAMFS is not set |
997 | # CONFIG_VXFS_FS is not set | 1170 | # CONFIG_VXFS_FS is not set |
998 | # CONFIG_HPFS_FS is not set | 1171 | # CONFIG_HPFS_FS is not set |
@@ -1040,36 +1213,20 @@ CONFIG_MSDOS_PARTITION=y | |||
1040 | CONFIG_ENABLE_MUST_CHECK=y | 1213 | CONFIG_ENABLE_MUST_CHECK=y |
1041 | CONFIG_MAGIC_SYSRQ=y | 1214 | CONFIG_MAGIC_SYSRQ=y |
1042 | # CONFIG_UNUSED_SYMBOLS is not set | 1215 | # CONFIG_UNUSED_SYMBOLS is not set |
1043 | # CONFIG_DEBUG_FS is not set | 1216 | CONFIG_DEBUG_FS=y |
1044 | # CONFIG_HEADERS_CHECK is not set | 1217 | # CONFIG_HEADERS_CHECK is not set |
1045 | CONFIG_DEBUG_KERNEL=y | 1218 | # CONFIG_DEBUG_KERNEL is not set |
1046 | # CONFIG_DEBUG_SHIRQ is not set | ||
1047 | CONFIG_LOG_BUF_SHIFT=14 | ||
1048 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1049 | # CONFIG_SCHEDSTATS is not set | ||
1050 | # CONFIG_TIMER_STATS is not set | ||
1051 | # CONFIG_DEBUG_SLAB is not set | ||
1052 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
1053 | # CONFIG_RT_MUTEX_TESTER is not set | ||
1054 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1055 | # CONFIG_DEBUG_MUTEXES is not set | ||
1056 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1057 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1058 | # CONFIG_DEBUG_KOBJECT is not set | ||
1059 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1219 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1060 | CONFIG_DEBUG_INFO=y | 1220 | CONFIG_DEBUG_MMRS=y |
1061 | # CONFIG_DEBUG_VM is not set | ||
1062 | # CONFIG_DEBUG_LIST is not set | ||
1063 | CONFIG_FRAME_POINTER=y | ||
1064 | CONFIG_FORCED_INLINING=y | ||
1065 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1066 | # CONFIG_FAULT_INJECTION is not set | ||
1067 | CONFIG_DEBUG_HWERR=y | ||
1068 | # CONFIG_DEBUG_ICACHE_CHECK is not set | ||
1069 | # CONFIG_DEBUG_KERNEL_START is not set | ||
1070 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | ||
1071 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1221 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1222 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1223 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1224 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1225 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1226 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1227 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1072 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1228 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1229 | CONFIG_EARLY_PRINTK=y | ||
1073 | CONFIG_CPLB_INFO=y | 1230 | CONFIG_CPLB_INFO=y |
1074 | CONFIG_ACCESS_CHECK=y | 1231 | CONFIG_ACCESS_CHECK=y |
1075 | 1232 | ||
@@ -1092,9 +1249,12 @@ CONFIG_SECURITY_CAPABILITIES=y | |||
1092 | CONFIG_BITREVERSE=y | 1249 | CONFIG_BITREVERSE=y |
1093 | # CONFIG_CRC_CCITT is not set | 1250 | # CONFIG_CRC_CCITT is not set |
1094 | # CONFIG_CRC16 is not set | 1251 | # CONFIG_CRC16 is not set |
1252 | # CONFIG_CRC_ITU_T is not set | ||
1095 | CONFIG_CRC32=y | 1253 | CONFIG_CRC32=y |
1096 | # CONFIG_LIBCRC32C is not set | 1254 | # CONFIG_LIBCRC32C is not set |
1097 | CONFIG_ZLIB_INFLATE=y | 1255 | CONFIG_ZLIB_INFLATE=y |
1256 | CONFIG_ZLIB_DEFLATE=m | ||
1098 | CONFIG_PLIST=y | 1257 | CONFIG_PLIST=y |
1099 | CONFIG_HAS_IOMEM=y | 1258 | CONFIG_HAS_IOMEM=y |
1100 | CONFIG_HAS_IOPORT=y | 1259 | CONFIG_HAS_IOPORT=y |
1260 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/BF561-EZKIT_defconfig b/arch/blackfin/configs/BF561-EZKIT_defconfig index 51c0b6f97798..85e647f87759 100644 --- a/arch/blackfin/configs/BF561-EZKIT_defconfig +++ b/arch/blackfin/configs/BF561-EZKIT_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -40,7 +41,9 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
40 | # CONFIG_TASKSTATS is not set | 41 | # CONFIG_TASKSTATS is not set |
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | CONFIG_IKCONFIG=y |
45 | CONFIG_IKCONFIG_PROC=y | ||
46 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 47 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 48 | # CONFIG_RELAY is not set |
46 | CONFIG_BLK_DEV_INITRD=y | 49 | CONFIG_BLK_DEV_INITRD=y |
@@ -58,15 +61,20 @@ CONFIG_BUG=y | |||
58 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
59 | CONFIG_BASE_FULL=y | 62 | CONFIG_BASE_FULL=y |
60 | CONFIG_FUTEX=y | 63 | CONFIG_FUTEX=y |
64 | CONFIG_ANON_INODES=y | ||
65 | CONFIG_EPOLL=y | ||
66 | CONFIG_SIGNALFD=y | ||
67 | CONFIG_TIMERFD=y | ||
68 | CONFIG_EVENTFD=y | ||
69 | CONFIG_VM_EVENT_COUNTERS=y | ||
61 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 70 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 |
62 | CONFIG_BUDDY=y | ||
63 | # CONFIG_NP2 is not set | 71 | # CONFIG_NP2 is not set |
64 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
65 | CONFIG_VM_EVENT_COUNTERS=y | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | ||
66 | CONFIG_RT_MUTEXES=y | 75 | CONFIG_RT_MUTEXES=y |
67 | CONFIG_TINY_SHMEM=y | 76 | CONFIG_TINY_SHMEM=y |
68 | CONFIG_BASE_SMALL=0 | 77 | CONFIG_BASE_SMALL=0 |
69 | # CONFIG_SLOB is not set | ||
70 | 78 | ||
71 | # | 79 | # |
72 | # Loadable module support | 80 | # Loadable module support |
@@ -229,19 +237,17 @@ CONFIG_IRQ_WDTIMER=13 | |||
229 | # CONFIG_CMDLINE_BOOL is not set | 237 | # CONFIG_CMDLINE_BOOL is not set |
230 | 238 | ||
231 | # | 239 | # |
232 | # Board Setup | 240 | # Clock/PLL Setup |
233 | # | 241 | # |
234 | CONFIG_CLKIN_HZ=30000000 | 242 | CONFIG_CLKIN_HZ=30000000 |
235 | CONFIG_MEM_SIZE=64 | 243 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
236 | CONFIG_MEM_ADD_WIDTH=9 | 244 | CONFIG_MAX_VCO_HZ=600000000 |
237 | CONFIG_BOOT_LOAD=0x1000 | 245 | CONFIG_MIN_VCO_HZ=50000000 |
238 | 246 | CONFIG_MAX_SCLK_HZ=133000000 | |
239 | # | 247 | CONFIG_MIN_SCLK_HZ=27000000 |
240 | # Blackfin Kernel Optimizations | ||
241 | # | ||
242 | 248 | ||
243 | # | 249 | # |
244 | # Timer Tick | 250 | # Kernel Timer/Scheduler |
245 | # | 251 | # |
246 | # CONFIG_HZ_100 is not set | 252 | # CONFIG_HZ_100 is not set |
247 | CONFIG_HZ_250=y | 253 | CONFIG_HZ_250=y |
@@ -250,6 +256,20 @@ CONFIG_HZ_250=y | |||
250 | CONFIG_HZ=250 | 256 | CONFIG_HZ=250 |
251 | 257 | ||
252 | # | 258 | # |
259 | # Memory Setup | ||
260 | # | ||
261 | CONFIG_MEM_SIZE=64 | ||
262 | CONFIG_MEM_ADD_WIDTH=9 | ||
263 | CONFIG_BOOT_LOAD=0x1000 | ||
264 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
265 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
266 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
267 | |||
268 | # | ||
269 | # Blackfin Kernel Optimizations | ||
270 | # | ||
271 | |||
272 | # | ||
253 | # Memory Optimizations | 273 | # Memory Optimizations |
254 | # | 274 | # |
255 | CONFIG_I_ENTRY_L1=y | 275 | CONFIG_I_ENTRY_L1=y |
@@ -288,20 +308,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
288 | # | 308 | # |
289 | # Cache Support | 309 | # Cache Support |
290 | # | 310 | # |
291 | CONFIG_BLKFIN_CACHE=y | 311 | CONFIG_BFIN_ICACHE=y |
292 | CONFIG_BLKFIN_DCACHE=y | 312 | CONFIG_BFIN_DCACHE=y |
293 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 313 | # CONFIG_BFIN_DCACHE_BANKA is not set |
294 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 314 | # CONFIG_BFIN_ICACHE_LOCK is not set |
295 | # CONFIG_BLKFIN_WB is not set | 315 | # CONFIG_BFIN_WB is not set |
296 | CONFIG_BLKFIN_WT=y | 316 | CONFIG_BFIN_WT=y |
297 | CONFIG_L1_MAX_PIECE=16 | 317 | CONFIG_L1_MAX_PIECE=16 |
298 | 318 | ||
299 | # | 319 | # |
300 | # Clock Settings | ||
301 | # | ||
302 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
303 | |||
304 | # | ||
305 | # Asynchonous Memory Configuration | 320 | # Asynchonous Memory Configuration |
306 | # | 321 | # |
307 | 322 | ||
@@ -326,12 +341,13 @@ CONFIG_C_AMBEN_ALL=y | |||
326 | CONFIG_BANK_0=0x7BB0 | 341 | CONFIG_BANK_0=0x7BB0 |
327 | CONFIG_BANK_1=0x7BB0 | 342 | CONFIG_BANK_1=0x7BB0 |
328 | CONFIG_BANK_2=0x7BB0 | 343 | CONFIG_BANK_2=0x7BB0 |
329 | CONFIG_BANK_3=0x99B3 | 344 | CONFIG_BANK_3=0xAAC3 |
330 | 345 | ||
331 | # | 346 | # |
332 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 347 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
333 | # | 348 | # |
334 | # CONFIG_PCI is not set | 349 | # CONFIG_PCI is not set |
350 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
335 | 351 | ||
336 | # | 352 | # |
337 | # PCCARD (PCMCIA/CardBus) support | 353 | # PCCARD (PCMCIA/CardBus) support |
@@ -339,10 +355,6 @@ CONFIG_BANK_3=0x99B3 | |||
339 | # CONFIG_PCCARD is not set | 355 | # CONFIG_PCCARD is not set |
340 | 356 | ||
341 | # | 357 | # |
342 | # PCI Hotplug Support | ||
343 | # | ||
344 | |||
345 | # | ||
346 | # Executable file formats | 358 | # Executable file formats |
347 | # | 359 | # |
348 | CONFIG_BINFMT_ELF_FDPIC=y | 360 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -364,7 +376,6 @@ CONFIG_NET=y | |||
364 | # | 376 | # |
365 | # Networking options | 377 | # Networking options |
366 | # | 378 | # |
367 | # CONFIG_NETDEBUG is not set | ||
368 | CONFIG_PACKET=y | 379 | CONFIG_PACKET=y |
369 | # CONFIG_PACKET_MMAP is not set | 380 | # CONFIG_PACKET_MMAP is not set |
370 | CONFIG_UNIX=y | 381 | CONFIG_UNIX=y |
@@ -405,20 +416,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
405 | # CONFIG_NETLABEL is not set | 416 | # CONFIG_NETLABEL is not set |
406 | # CONFIG_NETWORK_SECMARK is not set | 417 | # CONFIG_NETWORK_SECMARK is not set |
407 | # CONFIG_NETFILTER is not set | 418 | # CONFIG_NETFILTER is not set |
408 | |||
409 | # | ||
410 | # DCCP Configuration (EXPERIMENTAL) | ||
411 | # | ||
412 | # CONFIG_IP_DCCP is not set | 419 | # CONFIG_IP_DCCP is not set |
413 | |||
414 | # | ||
415 | # SCTP Configuration (EXPERIMENTAL) | ||
416 | # | ||
417 | # CONFIG_IP_SCTP is not set | 420 | # CONFIG_IP_SCTP is not set |
418 | |||
419 | # | ||
420 | # TIPC Configuration (EXPERIMENTAL) | ||
421 | # | ||
422 | # CONFIG_TIPC is not set | 421 | # CONFIG_TIPC is not set |
423 | # CONFIG_ATM is not set | 422 | # CONFIG_ATM is not set |
424 | # CONFIG_BRIDGE is not set | 423 | # CONFIG_BRIDGE is not set |
@@ -485,7 +484,16 @@ CONFIG_IRTTY_SIR=m | |||
485 | # FIR device drivers | 484 | # FIR device drivers |
486 | # | 485 | # |
487 | # CONFIG_BT is not set | 486 | # CONFIG_BT is not set |
487 | # CONFIG_AF_RXRPC is not set | ||
488 | |||
489 | # | ||
490 | # Wireless | ||
491 | # | ||
492 | # CONFIG_CFG80211 is not set | ||
493 | # CONFIG_WIRELESS_EXT is not set | ||
494 | # CONFIG_MAC80211 is not set | ||
488 | # CONFIG_IEEE80211 is not set | 495 | # CONFIG_IEEE80211 is not set |
496 | # CONFIG_RFKILL is not set | ||
489 | 497 | ||
490 | # | 498 | # |
491 | # Device Drivers | 499 | # Device Drivers |
@@ -503,10 +511,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
503 | # Connector - unified userspace <-> kernelspace linker | 511 | # Connector - unified userspace <-> kernelspace linker |
504 | # | 512 | # |
505 | # CONFIG_CONNECTOR is not set | 513 | # CONFIG_CONNECTOR is not set |
506 | |||
507 | # | ||
508 | # Memory Technology Devices (MTD) | ||
509 | # | ||
510 | CONFIG_MTD=y | 514 | CONFIG_MTD=y |
511 | # CONFIG_MTD_DEBUG is not set | 515 | # CONFIG_MTD_DEBUG is not set |
512 | # CONFIG_MTD_CONCAT is not set | 516 | # CONFIG_MTD_CONCAT is not set |
@@ -550,7 +554,6 @@ CONFIG_MTD_MW320D=m | |||
550 | CONFIG_MTD_RAM=y | 554 | CONFIG_MTD_RAM=y |
551 | CONFIG_MTD_ROM=m | 555 | CONFIG_MTD_ROM=m |
552 | # CONFIG_MTD_ABSENT is not set | 556 | # CONFIG_MTD_ABSENT is not set |
553 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
554 | 557 | ||
555 | # | 558 | # |
556 | # Mapping drivers for chip access | 559 | # Mapping drivers for chip access |
@@ -588,16 +591,13 @@ CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | |||
588 | # CONFIG_MTD_DOC2000 is not set | 591 | # CONFIG_MTD_DOC2000 is not set |
589 | # CONFIG_MTD_DOC2001 is not set | 592 | # CONFIG_MTD_DOC2001 is not set |
590 | # CONFIG_MTD_DOC2001PLUS is not set | 593 | # CONFIG_MTD_DOC2001PLUS is not set |
591 | |||
592 | # | ||
593 | # NAND Flash Device Drivers | ||
594 | # | ||
595 | # CONFIG_MTD_NAND is not set | 594 | # CONFIG_MTD_NAND is not set |
595 | # CONFIG_MTD_ONENAND is not set | ||
596 | 596 | ||
597 | # | 597 | # |
598 | # OneNAND Flash Device Drivers | 598 | # UBI - Unsorted block images |
599 | # | 599 | # |
600 | # CONFIG_MTD_ONENAND is not set | 600 | # CONFIG_MTD_UBI is not set |
601 | 601 | ||
602 | # | 602 | # |
603 | # Parallel port support | 603 | # Parallel port support |
@@ -625,10 +625,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
625 | # | 625 | # |
626 | # Misc devices | 626 | # Misc devices |
627 | # | 627 | # |
628 | |||
629 | # | ||
630 | # ATA/ATAPI/MFM/RLL support | ||
631 | # | ||
632 | # CONFIG_IDE is not set | 628 | # CONFIG_IDE is not set |
633 | 629 | ||
634 | # | 630 | # |
@@ -637,10 +633,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
637 | # CONFIG_RAID_ATTRS is not set | 633 | # CONFIG_RAID_ATTRS is not set |
638 | # CONFIG_SCSI is not set | 634 | # CONFIG_SCSI is not set |
639 | # CONFIG_SCSI_NETLINK is not set | 635 | # CONFIG_SCSI_NETLINK is not set |
640 | |||
641 | # | ||
642 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
643 | # | ||
644 | # CONFIG_ATA is not set | 636 | # CONFIG_ATA is not set |
645 | 637 | ||
646 | # | 638 | # |
@@ -649,19 +641,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
649 | # CONFIG_MD is not set | 641 | # CONFIG_MD is not set |
650 | 642 | ||
651 | # | 643 | # |
652 | # Fusion MPT device support | ||
653 | # | ||
654 | # CONFIG_FUSION is not set | ||
655 | |||
656 | # | ||
657 | # IEEE 1394 (FireWire) support | ||
658 | # | ||
659 | |||
660 | # | ||
661 | # I2O device support | ||
662 | # | ||
663 | |||
664 | # | ||
665 | # Network device support | 644 | # Network device support |
666 | # | 645 | # |
667 | CONFIG_NETDEVICES=y | 646 | CONFIG_NETDEVICES=y |
@@ -669,10 +648,6 @@ CONFIG_NETDEVICES=y | |||
669 | # CONFIG_BONDING is not set | 648 | # CONFIG_BONDING is not set |
670 | # CONFIG_EQUALIZER is not set | 649 | # CONFIG_EQUALIZER is not set |
671 | # CONFIG_TUN is not set | 650 | # CONFIG_TUN is not set |
672 | |||
673 | # | ||
674 | # PHY device support | ||
675 | # | ||
676 | # CONFIG_PHYLIB is not set | 651 | # CONFIG_PHYLIB is not set |
677 | 652 | ||
678 | # | 653 | # |
@@ -682,27 +657,15 @@ CONFIG_NET_ETHERNET=y | |||
682 | CONFIG_MII=y | 657 | CONFIG_MII=y |
683 | CONFIG_SMC91X=y | 658 | CONFIG_SMC91X=y |
684 | # CONFIG_SMSC911X is not set | 659 | # CONFIG_SMSC911X is not set |
660 | # CONFIG_DM9000 is not set | ||
661 | CONFIG_NETDEV_1000=y | ||
662 | CONFIG_NETDEV_10000=y | ||
685 | 663 | ||
686 | # | 664 | # |
687 | # Ethernet (1000 Mbit) | 665 | # Wireless LAN |
688 | # | ||
689 | |||
690 | # | ||
691 | # Ethernet (10000 Mbit) | ||
692 | # | ||
693 | |||
694 | # | ||
695 | # Token Ring devices | ||
696 | # | ||
697 | |||
698 | # | ||
699 | # Wireless LAN (non-hamradio) | ||
700 | # | ||
701 | # CONFIG_NET_RADIO is not set | ||
702 | |||
703 | # | ||
704 | # Wan interfaces | ||
705 | # | 666 | # |
667 | # CONFIG_WLAN_PRE80211 is not set | ||
668 | # CONFIG_WLAN_80211 is not set | ||
706 | # CONFIG_WAN is not set | 669 | # CONFIG_WAN is not set |
707 | # CONFIG_PPP is not set | 670 | # CONFIG_PPP is not set |
708 | # CONFIG_SLIP is not set | 671 | # CONFIG_SLIP is not set |
@@ -726,6 +689,7 @@ CONFIG_SMC91X=y | |||
726 | # | 689 | # |
727 | CONFIG_INPUT=m | 690 | CONFIG_INPUT=m |
728 | # CONFIG_INPUT_FF_MEMLESS is not set | 691 | # CONFIG_INPUT_FF_MEMLESS is not set |
692 | # CONFIG_INPUT_POLLDEV is not set | ||
729 | 693 | ||
730 | # | 694 | # |
731 | # Userland interfaces | 695 | # Userland interfaces |
@@ -742,6 +706,7 @@ CONFIG_INPUT_EVDEV=m | |||
742 | # CONFIG_INPUT_KEYBOARD is not set | 706 | # CONFIG_INPUT_KEYBOARD is not set |
743 | # CONFIG_INPUT_MOUSE is not set | 707 | # CONFIG_INPUT_MOUSE is not set |
744 | # CONFIG_INPUT_JOYSTICK is not set | 708 | # CONFIG_INPUT_JOYSTICK is not set |
709 | # CONFIG_INPUT_TABLET is not set | ||
745 | # CONFIG_INPUT_TOUCHSCREEN is not set | 710 | # CONFIG_INPUT_TOUCHSCREEN is not set |
746 | # CONFIG_INPUT_MISC is not set | 711 | # CONFIG_INPUT_MISC is not set |
747 | 712 | ||
@@ -756,7 +721,7 @@ CONFIG_INPUT_EVDEV=m | |||
756 | # | 721 | # |
757 | # CONFIG_AD9960 is not set | 722 | # CONFIG_AD9960 is not set |
758 | # CONFIG_SPI_ADC_BF533 is not set | 723 | # CONFIG_SPI_ADC_BF533 is not set |
759 | # CONFIG_BF5xx_PFLAGS is not set | 724 | # CONFIG_BFIN_PFLAGS is not set |
760 | # CONFIG_BF5xx_PPIFCD is not set | 725 | # CONFIG_BF5xx_PPIFCD is not set |
761 | # CONFIG_BF5xx_TIMERS is not set | 726 | # CONFIG_BF5xx_TIMERS is not set |
762 | # CONFIG_BF5xx_PPI is not set | 727 | # CONFIG_BF5xx_PPI is not set |
@@ -796,10 +761,6 @@ CONFIG_UNIX98_PTYS=y | |||
796 | # IPMI | 761 | # IPMI |
797 | # | 762 | # |
798 | # CONFIG_IPMI_HANDLER is not set | 763 | # CONFIG_IPMI_HANDLER is not set |
799 | |||
800 | # | ||
801 | # Watchdog Cards | ||
802 | # | ||
803 | CONFIG_WATCHDOG=y | 764 | CONFIG_WATCHDOG=y |
804 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 765 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
805 | 766 | ||
@@ -810,7 +771,6 @@ CONFIG_WATCHDOG=y | |||
810 | CONFIG_BFIN_WDT=y | 771 | CONFIG_BFIN_WDT=y |
811 | CONFIG_HW_RANDOM=y | 772 | CONFIG_HW_RANDOM=y |
812 | # CONFIG_GEN_RTC is not set | 773 | # CONFIG_GEN_RTC is not set |
813 | # CONFIG_DTLK is not set | ||
814 | # CONFIG_R3964 is not set | 774 | # CONFIG_R3964 is not set |
815 | # CONFIG_RAW_DRIVER is not set | 775 | # CONFIG_RAW_DRIVER is not set |
816 | 776 | ||
@@ -818,10 +778,6 @@ CONFIG_HW_RANDOM=y | |||
818 | # TPM devices | 778 | # TPM devices |
819 | # | 779 | # |
820 | # CONFIG_TCG_TPM is not set | 780 | # CONFIG_TCG_TPM is not set |
821 | |||
822 | # | ||
823 | # I2C support | ||
824 | # | ||
825 | # CONFIG_I2C is not set | 781 | # CONFIG_I2C is not set |
826 | 782 | ||
827 | # | 783 | # |
@@ -840,22 +796,22 @@ CONFIG_SPI_BFIN=y | |||
840 | # SPI Protocol Masters | 796 | # SPI Protocol Masters |
841 | # | 797 | # |
842 | # CONFIG_SPI_AT25 is not set | 798 | # CONFIG_SPI_AT25 is not set |
799 | # CONFIG_SPI_SPIDEV is not set | ||
843 | 800 | ||
844 | # | 801 | # |
845 | # Dallas's 1-wire bus | 802 | # Dallas's 1-wire bus |
846 | # | 803 | # |
847 | # CONFIG_W1 is not set | 804 | # CONFIG_W1 is not set |
848 | |||
849 | # | ||
850 | # Hardware Monitoring support | ||
851 | # | ||
852 | CONFIG_HWMON=y | 805 | CONFIG_HWMON=y |
853 | # CONFIG_HWMON_VID is not set | 806 | # CONFIG_HWMON_VID is not set |
854 | # CONFIG_SENSORS_ABITUGURU is not set | 807 | # CONFIG_SENSORS_ABITUGURU is not set |
855 | # CONFIG_SENSORS_F71805F is not set | 808 | # CONFIG_SENSORS_F71805F is not set |
856 | # CONFIG_SENSORS_LM70 is not set | 809 | # CONFIG_SENSORS_LM70 is not set |
857 | # CONFIG_SENSORS_PC87427 is not set | 810 | # CONFIG_SENSORS_PC87427 is not set |
811 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
812 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
858 | # CONFIG_SENSORS_VT1211 is not set | 813 | # CONFIG_SENSORS_VT1211 is not set |
814 | # CONFIG_SENSORS_W83627HF is not set | ||
859 | # CONFIG_HWMON_DEBUG_CHIP is not set | 815 | # CONFIG_HWMON_DEBUG_CHIP is not set |
860 | 816 | ||
861 | # | 817 | # |
@@ -867,16 +823,19 @@ CONFIG_HWMON=y | |||
867 | # Multimedia devices | 823 | # Multimedia devices |
868 | # | 824 | # |
869 | # CONFIG_VIDEO_DEV is not set | 825 | # CONFIG_VIDEO_DEV is not set |
826 | # CONFIG_DVB_CORE is not set | ||
827 | CONFIG_DAB=y | ||
870 | 828 | ||
871 | # | 829 | # |
872 | # Digital Video Broadcasting Devices | 830 | # Graphics support |
873 | # | 831 | # |
874 | # CONFIG_DVB is not set | 832 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
875 | 833 | ||
876 | # | 834 | # |
877 | # Graphics support | 835 | # Display device support |
878 | # | 836 | # |
879 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 837 | # CONFIG_DISPLAY_SUPPORT is not set |
838 | # CONFIG_VGASTATE is not set | ||
880 | # CONFIG_FB is not set | 839 | # CONFIG_FB is not set |
881 | 840 | ||
882 | # | 841 | # |
@@ -899,18 +858,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
899 | # CONFIG_USB is not set | 858 | # CONFIG_USB is not set |
900 | 859 | ||
901 | # | 860 | # |
902 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 861 | # Enable Host or Gadget support to see Inventra options |
903 | # | 862 | # |
904 | 863 | ||
905 | # | 864 | # |
906 | # USB Gadget Support | 865 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
907 | # | 866 | # |
908 | # CONFIG_USB_GADGET is not set | ||
909 | 867 | ||
910 | # | 868 | # |
911 | # MMC/SD Card support | 869 | # USB Gadget Support |
912 | # | 870 | # |
913 | # CONFIG_SPI_MMC is not set | 871 | # CONFIG_USB_GADGET is not set |
914 | # CONFIG_MMC is not set | 872 | # CONFIG_MMC is not set |
915 | 873 | ||
916 | # | 874 | # |
@@ -953,14 +911,6 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
953 | # | 911 | # |
954 | 912 | ||
955 | # | 913 | # |
956 | # Auxiliary Display support | ||
957 | # | ||
958 | |||
959 | # | ||
960 | # Virtualization | ||
961 | # | ||
962 | |||
963 | # | ||
964 | # PBX support | 914 | # PBX support |
965 | # | 915 | # |
966 | # CONFIG_PBX is not set | 916 | # CONFIG_PBX is not set |
@@ -1060,6 +1010,7 @@ CONFIG_LOCKD=m | |||
1060 | CONFIG_LOCKD_V4=y | 1010 | CONFIG_LOCKD_V4=y |
1061 | CONFIG_NFS_COMMON=y | 1011 | CONFIG_NFS_COMMON=y |
1062 | CONFIG_SUNRPC=m | 1012 | CONFIG_SUNRPC=m |
1013 | # CONFIG_SUNRPC_BIND34 is not set | ||
1063 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1014 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1064 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1015 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1065 | CONFIG_SMB_FS=m | 1016 | CONFIG_SMB_FS=m |
@@ -1137,14 +1088,20 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1137 | CONFIG_ENABLE_MUST_CHECK=y | 1088 | CONFIG_ENABLE_MUST_CHECK=y |
1138 | # CONFIG_MAGIC_SYSRQ is not set | 1089 | # CONFIG_MAGIC_SYSRQ is not set |
1139 | # CONFIG_UNUSED_SYMBOLS is not set | 1090 | # CONFIG_UNUSED_SYMBOLS is not set |
1140 | # CONFIG_DEBUG_FS is not set | 1091 | CONFIG_DEBUG_FS=y |
1141 | # CONFIG_HEADERS_CHECK is not set | 1092 | # CONFIG_HEADERS_CHECK is not set |
1142 | # CONFIG_DEBUG_KERNEL is not set | 1093 | # CONFIG_DEBUG_KERNEL is not set |
1143 | CONFIG_LOG_BUF_SHIFT=14 | ||
1144 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1094 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1145 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | 1095 | CONFIG_DEBUG_MMRS=y |
1146 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1096 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1097 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1098 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1099 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1100 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1101 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1102 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1147 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1103 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1104 | CONFIG_EARLY_PRINTK=y | ||
1148 | # CONFIG_DUAL_CORE_TEST_MODULE is not set | 1105 | # CONFIG_DUAL_CORE_TEST_MODULE is not set |
1149 | CONFIG_CPLB_INFO=y | 1106 | CONFIG_CPLB_INFO=y |
1150 | CONFIG_ACCESS_CHECK=y | 1107 | CONFIG_ACCESS_CHECK=y |
@@ -1168,6 +1125,7 @@ CONFIG_SECURITY_CAPABILITIES=m | |||
1168 | CONFIG_BITREVERSE=y | 1125 | CONFIG_BITREVERSE=y |
1169 | CONFIG_CRC_CCITT=m | 1126 | CONFIG_CRC_CCITT=m |
1170 | # CONFIG_CRC16 is not set | 1127 | # CONFIG_CRC16 is not set |
1128 | # CONFIG_CRC_ITU_T is not set | ||
1171 | CONFIG_CRC32=y | 1129 | CONFIG_CRC32=y |
1172 | # CONFIG_LIBCRC32C is not set | 1130 | # CONFIG_LIBCRC32C is not set |
1173 | CONFIG_ZLIB_INFLATE=y | 1131 | CONFIG_ZLIB_INFLATE=y |
@@ -1175,3 +1133,4 @@ CONFIG_ZLIB_DEFLATE=m | |||
1175 | CONFIG_PLIST=y | 1133 | CONFIG_PLIST=y |
1176 | CONFIG_HAS_IOMEM=y | 1134 | CONFIG_HAS_IOMEM=y |
1177 | CONFIG_HAS_IOPORT=y | 1135 | CONFIG_HAS_IOPORT=y |
1136 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/PNAV-10_defconfig b/arch/blackfin/configs/PNAV-10_defconfig index 983ed181c896..15e36aaf2186 100644 --- a/arch/blackfin/configs/PNAV-10_defconfig +++ b/arch/blackfin/configs/PNAV-10_defconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21.5 | 3 | # Linux kernel version: 2.6.22.6 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
@@ -15,8 +15,9 @@ CONFIG_GENERIC_HWEIGHT=y | |||
15 | CONFIG_GENERIC_HARDIRQS=y | 15 | CONFIG_GENERIC_HARDIRQS=y |
16 | CONFIG_GENERIC_IRQ_PROBE=y | 16 | CONFIG_GENERIC_IRQ_PROBE=y |
17 | # CONFIG_GENERIC_TIME is not set | 17 | # CONFIG_GENERIC_TIME is not set |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_GPIO=y |
19 | CONFIG_FORCE_MAX_ZONEORDER=14 | 19 | CONFIG_FORCE_MAX_ZONEORDER=14 |
20 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_IRQCHIP_DEMUX_GPIO=y | 21 | CONFIG_IRQCHIP_DEMUX_GPIO=y |
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
22 | 23 | ||
@@ -41,6 +42,7 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
41 | # CONFIG_UTS_NS is not set | 42 | # CONFIG_UTS_NS is not set |
42 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
43 | # CONFIG_IKCONFIG is not set | 44 | # CONFIG_IKCONFIG is not set |
45 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | 46 | CONFIG_SYSFS_DEPRECATED=y |
45 | # CONFIG_RELAY is not set | 47 | # CONFIG_RELAY is not set |
46 | # CONFIG_BLK_DEV_INITRD is not set | 48 | # CONFIG_BLK_DEV_INITRD is not set |
@@ -57,15 +59,20 @@ CONFIG_BUG=y | |||
57 | CONFIG_ELF_CORE=y | 59 | CONFIG_ELF_CORE=y |
58 | CONFIG_BASE_FULL=y | 60 | CONFIG_BASE_FULL=y |
59 | CONFIG_FUTEX=y | 61 | CONFIG_FUTEX=y |
62 | CONFIG_ANON_INODES=y | ||
63 | CONFIG_EPOLL=y | ||
64 | CONFIG_SIGNALFD=y | ||
65 | CONFIG_TIMERFD=y | ||
66 | CONFIG_EVENTFD=y | ||
67 | CONFIG_VM_EVENT_COUNTERS=y | ||
60 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=9 | 68 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=9 |
61 | CONFIG_BUDDY=y | ||
62 | # CONFIG_NP2 is not set | 69 | # CONFIG_NP2 is not set |
63 | CONFIG_SLAB=y | 70 | CONFIG_SLAB=y |
64 | CONFIG_VM_EVENT_COUNTERS=y | 71 | # CONFIG_SLUB is not set |
72 | # CONFIG_SLOB is not set | ||
65 | CONFIG_RT_MUTEXES=y | 73 | CONFIG_RT_MUTEXES=y |
66 | CONFIG_TINY_SHMEM=y | 74 | CONFIG_TINY_SHMEM=y |
67 | CONFIG_BASE_SMALL=0 | 75 | CONFIG_BASE_SMALL=0 |
68 | # CONFIG_SLOB is not set | ||
69 | 76 | ||
70 | # | 77 | # |
71 | # Loadable module support | 78 | # Loadable module support |
@@ -147,13 +154,6 @@ CONFIG_IRQ_PLL_WAKEUP=7 | |||
147 | # | 154 | # |
148 | 155 | ||
149 | # | 156 | # |
150 | # PORT F/G Selection | ||
151 | # | ||
152 | CONFIG_BF537_PORT_F=y | ||
153 | # CONFIG_BF537_PORT_G is not set | ||
154 | # CONFIG_BF537_PORT_H is not set | ||
155 | |||
156 | # | ||
157 | # Interrupt Priority Assignment | 157 | # Interrupt Priority Assignment |
158 | # | 158 | # |
159 | 159 | ||
@@ -198,19 +198,17 @@ CONFIG_IRQ_WATCH=13 | |||
198 | # CONFIG_CMDLINE_BOOL is not set | 198 | # CONFIG_CMDLINE_BOOL is not set |
199 | 199 | ||
200 | # | 200 | # |
201 | # Board Setup | 201 | # Clock/PLL Setup |
202 | # | 202 | # |
203 | CONFIG_CLKIN_HZ=24576000 | 203 | CONFIG_CLKIN_HZ=24576000 |
204 | CONFIG_MEM_SIZE=64 | 204 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
205 | CONFIG_MEM_ADD_WIDTH=10 | 205 | CONFIG_MAX_VCO_HZ=600000000 |
206 | CONFIG_BOOT_LOAD=0x1000 | 206 | CONFIG_MIN_VCO_HZ=50000000 |
207 | 207 | CONFIG_MAX_SCLK_HZ=133000000 | |
208 | # | 208 | CONFIG_MIN_SCLK_HZ=27000000 |
209 | # Blackfin Kernel Optimizations | ||
210 | # | ||
211 | 209 | ||
212 | # | 210 | # |
213 | # Timer Tick | 211 | # Kernel Timer/Scheduler |
214 | # | 212 | # |
215 | # CONFIG_HZ_100 is not set | 213 | # CONFIG_HZ_100 is not set |
216 | CONFIG_HZ_250=y | 214 | CONFIG_HZ_250=y |
@@ -219,6 +217,20 @@ CONFIG_HZ_250=y | |||
219 | CONFIG_HZ=250 | 217 | CONFIG_HZ=250 |
220 | 218 | ||
221 | # | 219 | # |
220 | # Memory Setup | ||
221 | # | ||
222 | CONFIG_MEM_SIZE=64 | ||
223 | CONFIG_MEM_ADD_WIDTH=10 | ||
224 | CONFIG_BOOT_LOAD=0x1000 | ||
225 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
226 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
227 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
228 | |||
229 | # | ||
230 | # Blackfin Kernel Optimizations | ||
231 | # | ||
232 | |||
233 | # | ||
222 | # Memory Optimizations | 234 | # Memory Optimizations |
223 | # | 235 | # |
224 | CONFIG_I_ENTRY_L1=y | 236 | CONFIG_I_ENTRY_L1=y |
@@ -257,20 +269,15 @@ CONFIG_DMA_UNCACHED_1M=y | |||
257 | # | 269 | # |
258 | # Cache Support | 270 | # Cache Support |
259 | # | 271 | # |
260 | CONFIG_BLKFIN_CACHE=y | 272 | CONFIG_BFIN_ICACHE=y |
261 | CONFIG_BLKFIN_DCACHE=y | 273 | CONFIG_BFIN_DCACHE=y |
262 | # CONFIG_BLKFIN_DCACHE_BANKA is not set | 274 | # CONFIG_BFIN_DCACHE_BANKA is not set |
263 | # CONFIG_BLKFIN_CACHE_LOCK is not set | 275 | # CONFIG_BFIN_ICACHE_LOCK is not set |
264 | CONFIG_BLKFIN_WB=y | 276 | CONFIG_BFIN_WB=y |
265 | # CONFIG_BLKFIN_WT is not set | 277 | # CONFIG_BFIN_WT is not set |
266 | CONFIG_L1_MAX_PIECE=16 | 278 | CONFIG_L1_MAX_PIECE=16 |
267 | 279 | ||
268 | # | 280 | # |
269 | # Clock Settings | ||
270 | # | ||
271 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
272 | |||
273 | # | ||
274 | # Asynchonous Memory Configuration | 281 | # Asynchonous Memory Configuration |
275 | # | 282 | # |
276 | 283 | ||
@@ -297,6 +304,7 @@ CONFIG_BANK_3=0x99B3 | |||
297 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 304 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
298 | # | 305 | # |
299 | # CONFIG_PCI is not set | 306 | # CONFIG_PCI is not set |
307 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
300 | 308 | ||
301 | # | 309 | # |
302 | # PCCARD (PCMCIA/CardBus) support | 310 | # PCCARD (PCMCIA/CardBus) support |
@@ -304,10 +312,6 @@ CONFIG_BANK_3=0x99B3 | |||
304 | # CONFIG_PCCARD is not set | 312 | # CONFIG_PCCARD is not set |
305 | 313 | ||
306 | # | 314 | # |
307 | # PCI Hotplug Support | ||
308 | # | ||
309 | |||
310 | # | ||
311 | # Executable file formats | 315 | # Executable file formats |
312 | # | 316 | # |
313 | CONFIG_BINFMT_ELF_FDPIC=y | 317 | CONFIG_BINFMT_ELF_FDPIC=y |
@@ -334,7 +338,6 @@ CONFIG_NET=y | |||
334 | # | 338 | # |
335 | # Networking options | 339 | # Networking options |
336 | # | 340 | # |
337 | # CONFIG_NETDEBUG is not set | ||
338 | CONFIG_PACKET=y | 341 | CONFIG_PACKET=y |
339 | # CONFIG_PACKET_MMAP is not set | 342 | # CONFIG_PACKET_MMAP is not set |
340 | CONFIG_UNIX=y | 343 | CONFIG_UNIX=y |
@@ -375,20 +378,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
375 | # CONFIG_NETLABEL is not set | 378 | # CONFIG_NETLABEL is not set |
376 | # CONFIG_NETWORK_SECMARK is not set | 379 | # CONFIG_NETWORK_SECMARK is not set |
377 | # CONFIG_NETFILTER is not set | 380 | # CONFIG_NETFILTER is not set |
378 | |||
379 | # | ||
380 | # DCCP Configuration (EXPERIMENTAL) | ||
381 | # | ||
382 | # CONFIG_IP_DCCP is not set | 381 | # CONFIG_IP_DCCP is not set |
383 | |||
384 | # | ||
385 | # SCTP Configuration (EXPERIMENTAL) | ||
386 | # | ||
387 | # CONFIG_IP_SCTP is not set | 382 | # CONFIG_IP_SCTP is not set |
388 | |||
389 | # | ||
390 | # TIPC Configuration (EXPERIMENTAL) | ||
391 | # | ||
392 | # CONFIG_TIPC is not set | 383 | # CONFIG_TIPC is not set |
393 | # CONFIG_ATM is not set | 384 | # CONFIG_ATM is not set |
394 | # CONFIG_BRIDGE is not set | 385 | # CONFIG_BRIDGE is not set |
@@ -414,7 +405,16 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
414 | # CONFIG_HAMRADIO is not set | 405 | # CONFIG_HAMRADIO is not set |
415 | # CONFIG_IRDA is not set | 406 | # CONFIG_IRDA is not set |
416 | # CONFIG_BT is not set | 407 | # CONFIG_BT is not set |
408 | # CONFIG_AF_RXRPC is not set | ||
409 | |||
410 | # | ||
411 | # Wireless | ||
412 | # | ||
413 | # CONFIG_CFG80211 is not set | ||
414 | # CONFIG_WIRELESS_EXT is not set | ||
415 | # CONFIG_MAC80211 is not set | ||
417 | # CONFIG_IEEE80211 is not set | 416 | # CONFIG_IEEE80211 is not set |
417 | # CONFIG_RFKILL is not set | ||
418 | 418 | ||
419 | # | 419 | # |
420 | # Device Drivers | 420 | # Device Drivers |
@@ -432,10 +432,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
432 | # Connector - unified userspace <-> kernelspace linker | 432 | # Connector - unified userspace <-> kernelspace linker |
433 | # | 433 | # |
434 | # CONFIG_CONNECTOR is not set | 434 | # CONFIG_CONNECTOR is not set |
435 | |||
436 | # | ||
437 | # Memory Technology Devices (MTD) | ||
438 | # | ||
439 | CONFIG_MTD=y | 435 | CONFIG_MTD=y |
440 | # CONFIG_MTD_DEBUG is not set | 436 | # CONFIG_MTD_DEBUG is not set |
441 | # CONFIG_MTD_CONCAT is not set | 437 | # CONFIG_MTD_CONCAT is not set |
@@ -473,7 +469,6 @@ CONFIG_MTD_CFI_I2=y | |||
473 | CONFIG_MTD_RAM=y | 469 | CONFIG_MTD_RAM=y |
474 | # CONFIG_MTD_ROM is not set | 470 | # CONFIG_MTD_ROM is not set |
475 | # CONFIG_MTD_ABSENT is not set | 471 | # CONFIG_MTD_ABSENT is not set |
476 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
477 | 472 | ||
478 | # | 473 | # |
479 | # Mapping drivers for chip access | 474 | # Mapping drivers for chip access |
@@ -499,13 +494,10 @@ CONFIG_MTD_UCLINUX=y | |||
499 | # CONFIG_MTD_DOC2000 is not set | 494 | # CONFIG_MTD_DOC2000 is not set |
500 | # CONFIG_MTD_DOC2001 is not set | 495 | # CONFIG_MTD_DOC2001 is not set |
501 | # CONFIG_MTD_DOC2001PLUS is not set | 496 | # CONFIG_MTD_DOC2001PLUS is not set |
502 | |||
503 | # | ||
504 | # NAND Flash Device Drivers | ||
505 | # | ||
506 | CONFIG_MTD_NAND=y | 497 | CONFIG_MTD_NAND=y |
507 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | 498 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set |
508 | # CONFIG_MTD_NAND_ECC_SMC is not set | 499 | # CONFIG_MTD_NAND_ECC_SMC is not set |
500 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
509 | CONFIG_MTD_NAND_BFIN=y | 501 | CONFIG_MTD_NAND_BFIN=y |
510 | CONFIG_BFIN_NAND_BASE=0x20100000 | 502 | CONFIG_BFIN_NAND_BASE=0x20100000 |
511 | CONFIG_BFIN_NAND_CLE=2 | 503 | CONFIG_BFIN_NAND_CLE=2 |
@@ -514,11 +506,13 @@ CONFIG_BFIN_NAND_READY=44 | |||
514 | CONFIG_MTD_NAND_IDS=y | 506 | CONFIG_MTD_NAND_IDS=y |
515 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 507 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
516 | # CONFIG_MTD_NAND_NANDSIM is not set | 508 | # CONFIG_MTD_NAND_NANDSIM is not set |
509 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
510 | # CONFIG_MTD_ONENAND is not set | ||
517 | 511 | ||
518 | # | 512 | # |
519 | # OneNAND Flash Device Drivers | 513 | # UBI - Unsorted block images |
520 | # | 514 | # |
521 | # CONFIG_MTD_ONENAND is not set | 515 | # CONFIG_MTD_UBI is not set |
522 | 516 | ||
523 | # | 517 | # |
524 | # Parallel port support | 518 | # Parallel port support |
@@ -546,10 +540,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
546 | # | 540 | # |
547 | # Misc devices | 541 | # Misc devices |
548 | # | 542 | # |
549 | |||
550 | # | ||
551 | # ATA/ATAPI/MFM/RLL support | ||
552 | # | ||
553 | # CONFIG_IDE is not set | 543 | # CONFIG_IDE is not set |
554 | 544 | ||
555 | # | 545 | # |
@@ -558,10 +548,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
558 | # CONFIG_RAID_ATTRS is not set | 548 | # CONFIG_RAID_ATTRS is not set |
559 | # CONFIG_SCSI is not set | 549 | # CONFIG_SCSI is not set |
560 | # CONFIG_SCSI_NETLINK is not set | 550 | # CONFIG_SCSI_NETLINK is not set |
561 | |||
562 | # | ||
563 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
564 | # | ||
565 | # CONFIG_ATA is not set | 551 | # CONFIG_ATA is not set |
566 | 552 | ||
567 | # | 553 | # |
@@ -570,19 +556,6 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
570 | # CONFIG_MD is not set | 556 | # CONFIG_MD is not set |
571 | 557 | ||
572 | # | 558 | # |
573 | # Fusion MPT device support | ||
574 | # | ||
575 | # CONFIG_FUSION is not set | ||
576 | |||
577 | # | ||
578 | # IEEE 1394 (FireWire) support | ||
579 | # | ||
580 | |||
581 | # | ||
582 | # I2O device support | ||
583 | # | ||
584 | |||
585 | # | ||
586 | # Network device support | 559 | # Network device support |
587 | # | 560 | # |
588 | CONFIG_NETDEVICES=y | 561 | CONFIG_NETDEVICES=y |
@@ -590,11 +563,20 @@ CONFIG_NETDEVICES=y | |||
590 | # CONFIG_BONDING is not set | 563 | # CONFIG_BONDING is not set |
591 | # CONFIG_EQUALIZER is not set | 564 | # CONFIG_EQUALIZER is not set |
592 | # CONFIG_TUN is not set | 565 | # CONFIG_TUN is not set |
566 | CONFIG_PHYLIB=y | ||
593 | 567 | ||
594 | # | 568 | # |
595 | # PHY device support | 569 | # MII PHY device drivers |
596 | # | 570 | # |
597 | # CONFIG_PHYLIB is not set | 571 | # CONFIG_MARVELL_PHY is not set |
572 | # CONFIG_DAVICOM_PHY is not set | ||
573 | # CONFIG_QSEMI_PHY is not set | ||
574 | # CONFIG_LXT_PHY is not set | ||
575 | # CONFIG_CICADA_PHY is not set | ||
576 | # CONFIG_VITESSE_PHY is not set | ||
577 | # CONFIG_SMSC_PHY is not set | ||
578 | # CONFIG_BROADCOM_PHY is not set | ||
579 | # CONFIG_FIXED_PHY is not set | ||
598 | 580 | ||
599 | # | 581 | # |
600 | # Ethernet (10 or 100Mbit) | 582 | # Ethernet (10 or 100Mbit) |
@@ -608,27 +590,15 @@ CONFIG_BFIN_TX_DESC_NUM=100 | |||
608 | CONFIG_BFIN_RX_DESC_NUM=100 | 590 | CONFIG_BFIN_RX_DESC_NUM=100 |
609 | CONFIG_BFIN_MAC_RMII=y | 591 | CONFIG_BFIN_MAC_RMII=y |
610 | # CONFIG_SMSC911X is not set | 592 | # CONFIG_SMSC911X is not set |
593 | # CONFIG_DM9000 is not set | ||
594 | CONFIG_NETDEV_1000=y | ||
595 | CONFIG_NETDEV_10000=y | ||
611 | 596 | ||
612 | # | 597 | # |
613 | # Ethernet (1000 Mbit) | 598 | # Wireless LAN |
614 | # | ||
615 | |||
616 | # | ||
617 | # Ethernet (10000 Mbit) | ||
618 | # | ||
619 | |||
620 | # | ||
621 | # Token Ring devices | ||
622 | # | ||
623 | |||
624 | # | ||
625 | # Wireless LAN (non-hamradio) | ||
626 | # | ||
627 | # CONFIG_NET_RADIO is not set | ||
628 | |||
629 | # | ||
630 | # Wan interfaces | ||
631 | # | 599 | # |
600 | # CONFIG_WLAN_PRE80211 is not set | ||
601 | # CONFIG_WLAN_80211 is not set | ||
632 | # CONFIG_WAN is not set | 602 | # CONFIG_WAN is not set |
633 | # CONFIG_PPP is not set | 603 | # CONFIG_PPP is not set |
634 | # CONFIG_SLIP is not set | 604 | # CONFIG_SLIP is not set |
@@ -652,6 +622,7 @@ CONFIG_BFIN_MAC_RMII=y | |||
652 | # | 622 | # |
653 | CONFIG_INPUT=y | 623 | CONFIG_INPUT=y |
654 | # CONFIG_INPUT_FF_MEMLESS is not set | 624 | # CONFIG_INPUT_FF_MEMLESS is not set |
625 | # CONFIG_INPUT_POLLDEV is not set | ||
655 | 626 | ||
656 | # | 627 | # |
657 | # Userland interfaces | 628 | # Userland interfaces |
@@ -670,6 +641,7 @@ CONFIG_INPUT_EVDEV=y | |||
670 | # CONFIG_INPUT_KEYBOARD is not set | 641 | # CONFIG_INPUT_KEYBOARD is not set |
671 | # CONFIG_INPUT_MOUSE is not set | 642 | # CONFIG_INPUT_MOUSE is not set |
672 | # CONFIG_INPUT_JOYSTICK is not set | 643 | # CONFIG_INPUT_JOYSTICK is not set |
644 | # CONFIG_INPUT_TABLET is not set | ||
673 | CONFIG_INPUT_TOUCHSCREEN=y | 645 | CONFIG_INPUT_TOUCHSCREEN=y |
674 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | 646 | # CONFIG_TOUCHSCREEN_ADS7846 is not set |
675 | CONFIG_TOUCHSCREEN_AD7877=y | 647 | CONFIG_TOUCHSCREEN_AD7877=y |
@@ -681,7 +653,13 @@ CONFIG_TOUCHSCREEN_AD7877=y | |||
681 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | 653 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set |
682 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | 654 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set |
683 | # CONFIG_TOUCHSCREEN_UCB1400 is not set | 655 | # CONFIG_TOUCHSCREEN_UCB1400 is not set |
656 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
684 | CONFIG_INPUT_MISC=y | 657 | CONFIG_INPUT_MISC=y |
658 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
659 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
660 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
661 | # CONFIG_INPUT_POWERMATE is not set | ||
662 | # CONFIG_INPUT_YEALINK is not set | ||
685 | CONFIG_INPUT_UINPUT=y | 663 | CONFIG_INPUT_UINPUT=y |
686 | # CONFIG_BF53X_PFBUTTONS is not set | 664 | # CONFIG_BF53X_PFBUTTONS is not set |
687 | # CONFIG_TWI_KEYPAD is not set | 665 | # CONFIG_TWI_KEYPAD is not set |
@@ -697,7 +675,7 @@ CONFIG_INPUT_UINPUT=y | |||
697 | # | 675 | # |
698 | # CONFIG_AD9960 is not set | 676 | # CONFIG_AD9960 is not set |
699 | # CONFIG_SPI_ADC_BF533 is not set | 677 | # CONFIG_SPI_ADC_BF533 is not set |
700 | # CONFIG_BF5xx_PFLAGS is not set | 678 | # CONFIG_BFIN_PFLAGS is not set |
701 | # CONFIG_BF5xx_PPIFCD is not set | 679 | # CONFIG_BF5xx_PPIFCD is not set |
702 | # CONFIG_BF5xx_TIMERS is not set | 680 | # CONFIG_BF5xx_TIMERS is not set |
703 | # CONFIG_BF5xx_PPI is not set | 681 | # CONFIG_BF5xx_PPI is not set |
@@ -749,14 +727,9 @@ CONFIG_CAN_BLACKFIN=m | |||
749 | # IPMI | 727 | # IPMI |
750 | # | 728 | # |
751 | # CONFIG_IPMI_HANDLER is not set | 729 | # CONFIG_IPMI_HANDLER is not set |
752 | |||
753 | # | ||
754 | # Watchdog Cards | ||
755 | # | ||
756 | # CONFIG_WATCHDOG is not set | 730 | # CONFIG_WATCHDOG is not set |
757 | CONFIG_HW_RANDOM=y | 731 | CONFIG_HW_RANDOM=y |
758 | # CONFIG_GEN_RTC is not set | 732 | # CONFIG_GEN_RTC is not set |
759 | # CONFIG_DTLK is not set | ||
760 | # CONFIG_R3964 is not set | 733 | # CONFIG_R3964 is not set |
761 | # CONFIG_RAW_DRIVER is not set | 734 | # CONFIG_RAW_DRIVER is not set |
762 | 735 | ||
@@ -764,11 +737,8 @@ CONFIG_HW_RANDOM=y | |||
764 | # TPM devices | 737 | # TPM devices |
765 | # | 738 | # |
766 | # CONFIG_TCG_TPM is not set | 739 | # CONFIG_TCG_TPM is not set |
767 | |||
768 | # | ||
769 | # I2C support | ||
770 | # | ||
771 | CONFIG_I2C=y | 740 | CONFIG_I2C=y |
741 | CONFIG_I2C_BOARDINFO=y | ||
772 | CONFIG_I2C_CHARDEV=y | 742 | CONFIG_I2C_CHARDEV=y |
773 | 743 | ||
774 | # | 744 | # |
@@ -784,10 +754,11 @@ CONFIG_I2C_CHARDEV=y | |||
784 | # CONFIG_I2C_BLACKFIN_GPIO is not set | 754 | # CONFIG_I2C_BLACKFIN_GPIO is not set |
785 | CONFIG_I2C_BLACKFIN_TWI=y | 755 | CONFIG_I2C_BLACKFIN_TWI=y |
786 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | 756 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 |
757 | # CONFIG_I2C_GPIO is not set | ||
787 | # CONFIG_I2C_OCORES is not set | 758 | # CONFIG_I2C_OCORES is not set |
788 | # CONFIG_I2C_PARPORT_LIGHT is not set | 759 | # CONFIG_I2C_PARPORT_LIGHT is not set |
760 | # CONFIG_I2C_SIMTEC is not set | ||
789 | # CONFIG_I2C_STUB is not set | 761 | # CONFIG_I2C_STUB is not set |
790 | # CONFIG_I2C_PCA_ISA is not set | ||
791 | 762 | ||
792 | # | 763 | # |
793 | # Miscellaneous I2C Chip support | 764 | # Miscellaneous I2C Chip support |
@@ -823,18 +794,16 @@ CONFIG_SPI_BFIN=y | |||
823 | # SPI Protocol Masters | 794 | # SPI Protocol Masters |
824 | # | 795 | # |
825 | # CONFIG_SPI_AT25 is not set | 796 | # CONFIG_SPI_AT25 is not set |
797 | # CONFIG_SPI_SPIDEV is not set | ||
826 | 798 | ||
827 | # | 799 | # |
828 | # Dallas's 1-wire bus | 800 | # Dallas's 1-wire bus |
829 | # | 801 | # |
830 | # CONFIG_W1 is not set | 802 | # CONFIG_W1 is not set |
831 | |||
832 | # | ||
833 | # Hardware Monitoring support | ||
834 | # | ||
835 | CONFIG_HWMON=y | 803 | CONFIG_HWMON=y |
836 | # CONFIG_HWMON_VID is not set | 804 | # CONFIG_HWMON_VID is not set |
837 | # CONFIG_SENSORS_ABITUGURU is not set | 805 | # CONFIG_SENSORS_ABITUGURU is not set |
806 | # CONFIG_SENSORS_AD7418 is not set | ||
838 | # CONFIG_SENSORS_ADM1021 is not set | 807 | # CONFIG_SENSORS_ADM1021 is not set |
839 | # CONFIG_SENSORS_ADM1025 is not set | 808 | # CONFIG_SENSORS_ADM1025 is not set |
840 | # CONFIG_SENSORS_ADM1026 is not set | 809 | # CONFIG_SENSORS_ADM1026 is not set |
@@ -862,6 +831,7 @@ CONFIG_HWMON=y | |||
862 | # CONFIG_SENSORS_LM90 is not set | 831 | # CONFIG_SENSORS_LM90 is not set |
863 | # CONFIG_SENSORS_LM92 is not set | 832 | # CONFIG_SENSORS_LM92 is not set |
864 | # CONFIG_SENSORS_MAX1619 is not set | 833 | # CONFIG_SENSORS_MAX1619 is not set |
834 | # CONFIG_SENSORS_MAX6650 is not set | ||
865 | # CONFIG_SENSORS_PC87360 is not set | 835 | # CONFIG_SENSORS_PC87360 is not set |
866 | # CONFIG_SENSORS_PC87427 is not set | 836 | # CONFIG_SENSORS_PC87427 is not set |
867 | # CONFIG_SENSORS_SMSC47M1 is not set | 837 | # CONFIG_SENSORS_SMSC47M1 is not set |
@@ -886,11 +856,8 @@ CONFIG_HWMON=y | |||
886 | # Multimedia devices | 856 | # Multimedia devices |
887 | # | 857 | # |
888 | # CONFIG_VIDEO_DEV is not set | 858 | # CONFIG_VIDEO_DEV is not set |
889 | 859 | # CONFIG_DVB_CORE is not set | |
890 | # | 860 | CONFIG_DAB=y |
891 | # Digital Video Broadcasting Devices | ||
892 | # | ||
893 | # CONFIG_DVB is not set | ||
894 | 861 | ||
895 | # | 862 | # |
896 | # Graphics support | 863 | # Graphics support |
@@ -898,12 +865,23 @@ CONFIG_HWMON=y | |||
898 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 865 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
899 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | 866 | CONFIG_BACKLIGHT_CLASS_DEVICE=y |
900 | CONFIG_LCD_CLASS_DEVICE=y | 867 | CONFIG_LCD_CLASS_DEVICE=y |
868 | |||
869 | # | ||
870 | # Display device support | ||
871 | # | ||
872 | # CONFIG_DISPLAY_SUPPORT is not set | ||
873 | # CONFIG_VGASTATE is not set | ||
901 | CONFIG_FB=y | 874 | CONFIG_FB=y |
902 | CONFIG_FIRMWARE_EDID=y | 875 | CONFIG_FIRMWARE_EDID=y |
903 | # CONFIG_FB_DDC is not set | 876 | # CONFIG_FB_DDC is not set |
904 | CONFIG_FB_CFB_FILLRECT=y | 877 | CONFIG_FB_CFB_FILLRECT=y |
905 | CONFIG_FB_CFB_COPYAREA=y | 878 | CONFIG_FB_CFB_COPYAREA=y |
906 | CONFIG_FB_CFB_IMAGEBLIT=y | 879 | CONFIG_FB_CFB_IMAGEBLIT=y |
880 | # CONFIG_FB_SYS_FILLRECT is not set | ||
881 | # CONFIG_FB_SYS_COPYAREA is not set | ||
882 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
883 | # CONFIG_FB_SYS_FOPS is not set | ||
884 | CONFIG_FB_DEFERRED_IO=y | ||
907 | # CONFIG_FB_SVGALIB is not set | 885 | # CONFIG_FB_SVGALIB is not set |
908 | # CONFIG_FB_MACMODES is not set | 886 | # CONFIG_FB_MACMODES is not set |
909 | # CONFIG_FB_BACKLIGHT is not set | 887 | # CONFIG_FB_BACKLIGHT is not set |
@@ -921,10 +899,6 @@ CONFIG_FB_BFIN_LANDSCAPE=y | |||
921 | # CONFIG_FB_BFIN_BGR is not set | 899 | # CONFIG_FB_BFIN_BGR is not set |
922 | # CONFIG_FB_S1D13XXX is not set | 900 | # CONFIG_FB_S1D13XXX is not set |
923 | # CONFIG_FB_VIRTUAL is not set | 901 | # CONFIG_FB_VIRTUAL is not set |
924 | |||
925 | # | ||
926 | # Logo configuration | ||
927 | # | ||
928 | # CONFIG_LOGO is not set | 902 | # CONFIG_LOGO is not set |
929 | 903 | ||
930 | # | 904 | # |
@@ -936,8 +910,6 @@ CONFIG_SOUND=y | |||
936 | # Advanced Linux Sound Architecture | 910 | # Advanced Linux Sound Architecture |
937 | # | 911 | # |
938 | CONFIG_SND=m | 912 | CONFIG_SND=m |
939 | CONFIG_SND_TIMER=m | ||
940 | CONFIG_SND_PCM=m | ||
941 | # CONFIG_SND_SEQUENCER is not set | 913 | # CONFIG_SND_SEQUENCER is not set |
942 | # CONFIG_SND_MIXER_OSS is not set | 914 | # CONFIG_SND_MIXER_OSS is not set |
943 | # CONFIG_SND_PCM_OSS is not set | 915 | # CONFIG_SND_PCM_OSS is not set |
@@ -959,19 +931,23 @@ CONFIG_SND_PCM=m | |||
959 | # ALSA Blackfin devices | 931 | # ALSA Blackfin devices |
960 | # | 932 | # |
961 | # CONFIG_SND_BLACKFIN_AD1836 is not set | 933 | # CONFIG_SND_BLACKFIN_AD1836 is not set |
962 | CONFIG_SND_BLACKFIN_AD1981B=m | ||
963 | # CONFIG_SND_BFIN_AD73311 is not set | 934 | # CONFIG_SND_BFIN_AD73311 is not set |
964 | 935 | ||
965 | # | 936 | # |
966 | # SoC audio support | 937 | # System on Chip audio support |
967 | # | 938 | # |
968 | # CONFIG_SND_SOC is not set | 939 | # CONFIG_SND_SOC is not set |
969 | 940 | ||
970 | # | 941 | # |
942 | # SoC Audio for the ADI Blackfin | ||
943 | # | ||
944 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | ||
945 | |||
946 | # | ||
971 | # Open Sound System | 947 | # Open Sound System |
972 | # | 948 | # |
973 | CONFIG_SOUND_PRIME=y | 949 | CONFIG_SOUND_PRIME=y |
974 | # CONFIG_OBSOLETE_OSS is not set | 950 | # CONFIG_OSS_OBSOLETE is not set |
975 | # CONFIG_SOUND_MSNDCLAS is not set | 951 | # CONFIG_SOUND_MSNDCLAS is not set |
976 | # CONFIG_SOUND_MSNDPIN is not set | 952 | # CONFIG_SOUND_MSNDPIN is not set |
977 | 953 | ||
@@ -989,18 +965,17 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
989 | # CONFIG_USB is not set | 965 | # CONFIG_USB is not set |
990 | 966 | ||
991 | # | 967 | # |
992 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 968 | # Enable Host or Gadget support to see Inventra options |
993 | # | 969 | # |
994 | 970 | ||
995 | # | 971 | # |
996 | # USB Gadget Support | 972 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
997 | # | 973 | # |
998 | # CONFIG_USB_GADGET is not set | ||
999 | 974 | ||
1000 | # | 975 | # |
1001 | # MMC/SD Card support | 976 | # USB Gadget Support |
1002 | # | 977 | # |
1003 | # CONFIG_SPI_MMC is not set | 978 | # CONFIG_USB_GADGET is not set |
1004 | # CONFIG_MMC is not set | 979 | # CONFIG_MMC is not set |
1005 | 980 | ||
1006 | # | 981 | # |
@@ -1040,44 +1015,50 @@ CONFIG_RTC_INTF_SYSFS=y | |||
1040 | CONFIG_RTC_INTF_PROC=y | 1015 | CONFIG_RTC_INTF_PROC=y |
1041 | CONFIG_RTC_INTF_DEV=y | 1016 | CONFIG_RTC_INTF_DEV=y |
1042 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | 1017 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set |
1018 | # CONFIG_RTC_DRV_TEST is not set | ||
1043 | 1019 | ||
1044 | # | 1020 | # |
1045 | # RTC drivers | 1021 | # I2C RTC drivers |
1046 | # | 1022 | # |
1047 | # CONFIG_RTC_DRV_X1205 is not set | ||
1048 | # CONFIG_RTC_DRV_DS1307 is not set | 1023 | # CONFIG_RTC_DRV_DS1307 is not set |
1049 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1050 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1051 | # CONFIG_RTC_DRV_DS1672 is not set | 1024 | # CONFIG_RTC_DRV_DS1672 is not set |
1052 | # CONFIG_RTC_DRV_DS1742 is not set | 1025 | # CONFIG_RTC_DRV_MAX6900 is not set |
1026 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1027 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1028 | # CONFIG_RTC_DRV_X1205 is not set | ||
1053 | # CONFIG_RTC_DRV_PCF8563 is not set | 1029 | # CONFIG_RTC_DRV_PCF8563 is not set |
1030 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1031 | |||
1032 | # | ||
1033 | # SPI RTC drivers | ||
1034 | # | ||
1054 | # CONFIG_RTC_DRV_RS5C348 is not set | 1035 | # CONFIG_RTC_DRV_RS5C348 is not set |
1055 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1056 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1057 | # CONFIG_RTC_DRV_TEST is not set | ||
1058 | # CONFIG_RTC_DRV_MAX6902 is not set | 1036 | # CONFIG_RTC_DRV_MAX6902 is not set |
1059 | # CONFIG_RTC_DRV_V3020 is not set | ||
1060 | CONFIG_RTC_DRV_BFIN=y | ||
1061 | 1037 | ||
1062 | # | 1038 | # |
1063 | # DMA Engine support | 1039 | # Platform RTC drivers |
1064 | # | 1040 | # |
1065 | # CONFIG_DMA_ENGINE is not set | 1041 | # CONFIG_RTC_DRV_DS1553 is not set |
1042 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1043 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1044 | # CONFIG_RTC_DRV_V3020 is not set | ||
1066 | 1045 | ||
1067 | # | 1046 | # |
1068 | # DMA Clients | 1047 | # on-CPU RTC drivers |
1069 | # | 1048 | # |
1049 | CONFIG_RTC_DRV_BFIN=y | ||
1070 | 1050 | ||
1071 | # | 1051 | # |
1072 | # DMA Devices | 1052 | # DMA Engine support |
1073 | # | 1053 | # |
1054 | # CONFIG_DMA_ENGINE is not set | ||
1074 | 1055 | ||
1075 | # | 1056 | # |
1076 | # Auxiliary Display support | 1057 | # DMA Clients |
1077 | # | 1058 | # |
1078 | 1059 | ||
1079 | # | 1060 | # |
1080 | # Virtualization | 1061 | # DMA Devices |
1081 | # | 1062 | # |
1082 | 1063 | ||
1083 | # | 1064 | # |
@@ -1176,6 +1157,7 @@ CONFIG_LOCKD=m | |||
1176 | CONFIG_LOCKD_V4=y | 1157 | CONFIG_LOCKD_V4=y |
1177 | CONFIG_NFS_COMMON=y | 1158 | CONFIG_NFS_COMMON=y |
1178 | CONFIG_SUNRPC=m | 1159 | CONFIG_SUNRPC=m |
1160 | # CONFIG_SUNRPC_BIND34 is not set | ||
1179 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1161 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1180 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1162 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1181 | CONFIG_SMB_FS=m | 1163 | CONFIG_SMB_FS=m |
@@ -1256,11 +1238,17 @@ CONFIG_ENABLE_MUST_CHECK=y | |||
1256 | # CONFIG_DEBUG_FS is not set | 1238 | # CONFIG_DEBUG_FS is not set |
1257 | # CONFIG_HEADERS_CHECK is not set | 1239 | # CONFIG_HEADERS_CHECK is not set |
1258 | # CONFIG_DEBUG_KERNEL is not set | 1240 | # CONFIG_DEBUG_KERNEL is not set |
1259 | CONFIG_LOG_BUF_SHIFT=14 | ||
1260 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1241 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1261 | # CONFIG_DEBUG_SERIAL_EARLY_INIT is not set | 1242 | # CONFIG_DEBUG_MMRS is not set |
1262 | # CONFIG_DEBUG_HUNT_FOR_ZERO is not set | 1243 | # CONFIG_DEBUG_HUNT_FOR_ZERO is not set |
1244 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1245 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1246 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1247 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1248 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1249 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1263 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1250 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1251 | # CONFIG_EARLY_PRINTK is not set | ||
1264 | # CONFIG_CPLB_INFO is not set | 1252 | # CONFIG_CPLB_INFO is not set |
1265 | # CONFIG_ACCESS_CHECK is not set | 1253 | # CONFIG_ACCESS_CHECK is not set |
1266 | 1254 | ||
@@ -1283,9 +1271,11 @@ CONFIG_SECURITY_CAPABILITIES=y | |||
1283 | CONFIG_BITREVERSE=y | 1271 | CONFIG_BITREVERSE=y |
1284 | CONFIG_CRC_CCITT=m | 1272 | CONFIG_CRC_CCITT=m |
1285 | # CONFIG_CRC16 is not set | 1273 | # CONFIG_CRC16 is not set |
1274 | # CONFIG_CRC_ITU_T is not set | ||
1286 | CONFIG_CRC32=y | 1275 | CONFIG_CRC32=y |
1287 | # CONFIG_LIBCRC32C is not set | 1276 | # CONFIG_LIBCRC32C is not set |
1288 | CONFIG_ZLIB_INFLATE=y | 1277 | CONFIG_ZLIB_INFLATE=y |
1289 | CONFIG_PLIST=y | 1278 | CONFIG_PLIST=y |
1290 | CONFIG_HAS_IOMEM=y | 1279 | CONFIG_HAS_IOMEM=y |
1291 | CONFIG_HAS_IOPORT=y | 1280 | CONFIG_HAS_IOPORT=y |
1281 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/kernel/Makefile b/arch/blackfin/kernel/Makefile index f429ebc3a961..8aeb6066b19b 100644 --- a/arch/blackfin/kernel/Makefile +++ b/arch/blackfin/kernel/Makefile | |||
@@ -7,11 +7,10 @@ extra-y := init_task.o vmlinux.lds | |||
7 | obj-y := \ | 7 | obj-y := \ |
8 | entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \ | 8 | entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \ |
9 | sys_bfin.o time.o traps.o irqchip.o dma-mapping.o flat.o \ | 9 | sys_bfin.o time.o traps.o irqchip.o dma-mapping.o flat.o \ |
10 | fixed_code.o cplbinit.o cacheinit.o | 10 | fixed_code.o cplbinit.o cacheinit.o reboot.o bfin_gpio.o |
11 | 11 | ||
12 | obj-$(CONFIG_BF53x) += bfin_gpio.o | ||
13 | obj-$(CONFIG_BF561) += bfin_gpio.o | ||
14 | obj-$(CONFIG_MODULES) += module.o | 12 | obj-$(CONFIG_MODULES) += module.o |
15 | obj-$(CONFIG_BFIN_DMA_5XX) += bfin_dma_5xx.o | 13 | obj-$(CONFIG_BFIN_DMA_5XX) += bfin_dma_5xx.o |
16 | obj-$(CONFIG_DUAL_CORE_TEST_MODULE) += dualcore_test.o | 14 | obj-$(CONFIG_DUAL_CORE_TEST_MODULE) += dualcore_test.o |
17 | obj-$(CONFIG_KGDB) += kgdb.o | 15 | obj-$(CONFIG_KGDB) += kgdb.o |
16 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 7cf02f02a1db..e19164fb4cd1 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -73,6 +73,11 @@ static int __init blackfin_dma_init(void) | |||
73 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ | 73 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ |
74 | dma_ch[CH_MEM_STREAM0_DEST].chan_status = DMA_CHANNEL_REQUESTED; | 74 | dma_ch[CH_MEM_STREAM0_DEST].chan_status = DMA_CHANNEL_REQUESTED; |
75 | dma_ch[CH_MEM_STREAM0_SRC].chan_status = DMA_CHANNEL_REQUESTED; | 75 | dma_ch[CH_MEM_STREAM0_SRC].chan_status = DMA_CHANNEL_REQUESTED; |
76 | |||
77 | #if defined(CONFIG_DEB_DMA_URGENT) | ||
78 | bfin_write_EBIU_DDRQUE(bfin_read_EBIU_DDRQUE() | ||
79 | | DEB1_URGENT | DEB2_URGENT | DEB3_URGENT); | ||
80 | #endif | ||
76 | return 0; | 81 | return 0; |
77 | } | 82 | } |
78 | 83 | ||
@@ -265,10 +270,23 @@ void set_dma_next_desc_addr(unsigned int channel, unsigned long addr) | |||
265 | 270 | ||
266 | dma_ch[channel].regs->next_desc_ptr = addr; | 271 | dma_ch[channel].regs->next_desc_ptr = addr; |
267 | SSYNC(); | 272 | SSYNC(); |
268 | pr_debug("set_dma_start_addr() : END\n"); | 273 | pr_debug("set_dma_next_desc_addr() : END\n"); |
269 | } | 274 | } |
270 | EXPORT_SYMBOL(set_dma_next_desc_addr); | 275 | EXPORT_SYMBOL(set_dma_next_desc_addr); |
271 | 276 | ||
277 | void set_dma_curr_desc_addr(unsigned int channel, unsigned long addr) | ||
278 | { | ||
279 | pr_debug("set_dma_curr_desc_addr() : BEGIN \n"); | ||
280 | |||
281 | BUG_ON(!(dma_ch[channel].chan_status != DMA_CHANNEL_FREE | ||
282 | && channel < MAX_BLACKFIN_DMA_CHANNEL)); | ||
283 | |||
284 | dma_ch[channel].regs->curr_desc_ptr = addr; | ||
285 | SSYNC(); | ||
286 | pr_debug("set_dma_curr_desc_addr() : END\n"); | ||
287 | } | ||
288 | EXPORT_SYMBOL(set_dma_curr_desc_addr); | ||
289 | |||
272 | void set_dma_x_count(unsigned int channel, unsigned short x_count) | 290 | void set_dma_x_count(unsigned int channel, unsigned short x_count) |
273 | { | 291 | { |
274 | BUG_ON(!(dma_ch[channel].chan_status != DMA_CHANNEL_FREE | 292 | BUG_ON(!(dma_ch[channel].chan_status != DMA_CHANNEL_FREE |
@@ -345,6 +363,16 @@ void set_dma_sg(unsigned int channel, struct dmasg *sg, int nr_sg) | |||
345 | } | 363 | } |
346 | EXPORT_SYMBOL(set_dma_sg); | 364 | EXPORT_SYMBOL(set_dma_sg); |
347 | 365 | ||
366 | void set_dma_curr_addr(unsigned int channel, unsigned long addr) | ||
367 | { | ||
368 | BUG_ON(!(dma_ch[channel].chan_status != DMA_CHANNEL_FREE | ||
369 | && channel < MAX_BLACKFIN_DMA_CHANNEL)); | ||
370 | |||
371 | dma_ch[channel].regs->curr_addr_ptr = addr; | ||
372 | SSYNC(); | ||
373 | } | ||
374 | EXPORT_SYMBOL(set_dma_curr_addr); | ||
375 | |||
348 | /*------------------------------------------------------------------------------ | 376 | /*------------------------------------------------------------------------------ |
349 | * Get the DMA status of a specific DMA channel from the system. | 377 | * Get the DMA status of a specific DMA channel from the system. |
350 | *-----------------------------------------------------------------------------*/ | 378 | *-----------------------------------------------------------------------------*/ |
@@ -408,6 +436,10 @@ static void *__dma_memcpy(void *dest, const void *src, size_t size) | |||
408 | blackfin_dcache_flush_range((unsigned int)src, | 436 | blackfin_dcache_flush_range((unsigned int)src, |
409 | (unsigned int)(src + size)); | 437 | (unsigned int)(src + size)); |
410 | 438 | ||
439 | if ((unsigned long)dest < memory_end) | ||
440 | blackfin_dcache_invalidate_range((unsigned int)dest, | ||
441 | (unsigned int)(dest + size)); | ||
442 | |||
411 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); | 443 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); |
412 | 444 | ||
413 | if ((unsigned long)src < (unsigned long)dest) | 445 | if ((unsigned long)src < (unsigned long)dest) |
@@ -515,6 +547,8 @@ static void *__dma_memcpy(void *dest, const void *src, size_t size) | |||
515 | } | 547 | } |
516 | } | 548 | } |
517 | 549 | ||
550 | SSYNC(); | ||
551 | |||
518 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)) | 552 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)) |
519 | ; | 553 | ; |
520 | 554 | ||
@@ -524,9 +558,6 @@ static void *__dma_memcpy(void *dest, const void *src, size_t size) | |||
524 | bfin_write_MDMA_S0_CONFIG(0); | 558 | bfin_write_MDMA_S0_CONFIG(0); |
525 | bfin_write_MDMA_D0_CONFIG(0); | 559 | bfin_write_MDMA_D0_CONFIG(0); |
526 | 560 | ||
527 | if ((unsigned long)dest < memory_end) | ||
528 | blackfin_dcache_invalidate_range((unsigned int)dest, | ||
529 | (unsigned int)(dest + size)); | ||
530 | local_irq_restore(flags); | 561 | local_irq_restore(flags); |
531 | 562 | ||
532 | return dest; | 563 | return dest; |
@@ -555,13 +586,14 @@ void *safe_dma_memcpy(void *dest, const void *src, size_t size) | |||
555 | } | 586 | } |
556 | EXPORT_SYMBOL(safe_dma_memcpy); | 587 | EXPORT_SYMBOL(safe_dma_memcpy); |
557 | 588 | ||
558 | void dma_outsb(void __iomem *addr, const void *buf, unsigned short len) | 589 | void dma_outsb(unsigned long addr, const void *buf, unsigned short len) |
559 | { | 590 | { |
560 | unsigned long flags; | 591 | unsigned long flags; |
561 | 592 | ||
562 | local_irq_save(flags); | 593 | local_irq_save(flags); |
563 | 594 | ||
564 | blackfin_dcache_flush_range((unsigned int)buf, (unsigned int)(buf) + len); | 595 | blackfin_dcache_flush_range((unsigned int)buf, |
596 | (unsigned int)(buf) + len); | ||
565 | 597 | ||
566 | bfin_write_MDMA_D0_START_ADDR(addr); | 598 | bfin_write_MDMA_D0_START_ADDR(addr); |
567 | bfin_write_MDMA_D0_X_COUNT(len); | 599 | bfin_write_MDMA_D0_X_COUNT(len); |
@@ -576,6 +608,8 @@ void dma_outsb(void __iomem *addr, const void *buf, unsigned short len) | |||
576 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_8); | 608 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_8); |
577 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_8); | 609 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_8); |
578 | 610 | ||
611 | SSYNC(); | ||
612 | |||
579 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 613 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
580 | 614 | ||
581 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); | 615 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); |
@@ -588,10 +622,13 @@ void dma_outsb(void __iomem *addr, const void *buf, unsigned short len) | |||
588 | EXPORT_SYMBOL(dma_outsb); | 622 | EXPORT_SYMBOL(dma_outsb); |
589 | 623 | ||
590 | 624 | ||
591 | void dma_insb(const void __iomem *addr, void *buf, unsigned short len) | 625 | void dma_insb(unsigned long addr, void *buf, unsigned short len) |
592 | { | 626 | { |
593 | unsigned long flags; | 627 | unsigned long flags; |
594 | 628 | ||
629 | blackfin_dcache_invalidate_range((unsigned int)buf, | ||
630 | (unsigned int)(buf) + len); | ||
631 | |||
595 | local_irq_save(flags); | 632 | local_irq_save(flags); |
596 | bfin_write_MDMA_D0_START_ADDR(buf); | 633 | bfin_write_MDMA_D0_START_ADDR(buf); |
597 | bfin_write_MDMA_D0_X_COUNT(len); | 634 | bfin_write_MDMA_D0_X_COUNT(len); |
@@ -606,7 +643,7 @@ void dma_insb(const void __iomem *addr, void *buf, unsigned short len) | |||
606 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_8); | 643 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_8); |
607 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_8); | 644 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_8); |
608 | 645 | ||
609 | blackfin_dcache_invalidate_range((unsigned int)buf, (unsigned int)(buf) + len); | 646 | SSYNC(); |
610 | 647 | ||
611 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 648 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
612 | 649 | ||
@@ -619,13 +656,14 @@ void dma_insb(const void __iomem *addr, void *buf, unsigned short len) | |||
619 | } | 656 | } |
620 | EXPORT_SYMBOL(dma_insb); | 657 | EXPORT_SYMBOL(dma_insb); |
621 | 658 | ||
622 | void dma_outsw(void __iomem *addr, const void *buf, unsigned short len) | 659 | void dma_outsw(unsigned long addr, const void *buf, unsigned short len) |
623 | { | 660 | { |
624 | unsigned long flags; | 661 | unsigned long flags; |
625 | 662 | ||
626 | local_irq_save(flags); | 663 | local_irq_save(flags); |
627 | 664 | ||
628 | blackfin_dcache_flush_range((unsigned int)buf, (unsigned int)(buf) + len); | 665 | blackfin_dcache_flush_range((unsigned int)buf, |
666 | (unsigned int)(buf) + len * sizeof(short)); | ||
629 | 667 | ||
630 | bfin_write_MDMA_D0_START_ADDR(addr); | 668 | bfin_write_MDMA_D0_START_ADDR(addr); |
631 | bfin_write_MDMA_D0_X_COUNT(len); | 669 | bfin_write_MDMA_D0_X_COUNT(len); |
@@ -640,6 +678,8 @@ void dma_outsw(void __iomem *addr, const void *buf, unsigned short len) | |||
640 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_16); | 678 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_16); |
641 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_16); | 679 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_16); |
642 | 680 | ||
681 | SSYNC(); | ||
682 | |||
643 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 683 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
644 | 684 | ||
645 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); | 685 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); |
@@ -651,10 +691,13 @@ void dma_outsw(void __iomem *addr, const void *buf, unsigned short len) | |||
651 | } | 691 | } |
652 | EXPORT_SYMBOL(dma_outsw); | 692 | EXPORT_SYMBOL(dma_outsw); |
653 | 693 | ||
654 | void dma_insw(const void __iomem *addr, void *buf, unsigned short len) | 694 | void dma_insw(unsigned long addr, void *buf, unsigned short len) |
655 | { | 695 | { |
656 | unsigned long flags; | 696 | unsigned long flags; |
657 | 697 | ||
698 | blackfin_dcache_invalidate_range((unsigned int)buf, | ||
699 | (unsigned int)(buf) + len * sizeof(short)); | ||
700 | |||
658 | local_irq_save(flags); | 701 | local_irq_save(flags); |
659 | 702 | ||
660 | bfin_write_MDMA_D0_START_ADDR(buf); | 703 | bfin_write_MDMA_D0_START_ADDR(buf); |
@@ -670,7 +713,7 @@ void dma_insw(const void __iomem *addr, void *buf, unsigned short len) | |||
670 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_16); | 713 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_16); |
671 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_16); | 714 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_16); |
672 | 715 | ||
673 | blackfin_dcache_invalidate_range((unsigned int)buf, (unsigned int)(buf) + len); | 716 | SSYNC(); |
674 | 717 | ||
675 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 718 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
676 | 719 | ||
@@ -683,13 +726,14 @@ void dma_insw(const void __iomem *addr, void *buf, unsigned short len) | |||
683 | } | 726 | } |
684 | EXPORT_SYMBOL(dma_insw); | 727 | EXPORT_SYMBOL(dma_insw); |
685 | 728 | ||
686 | void dma_outsl(void __iomem *addr, const void *buf, unsigned short len) | 729 | void dma_outsl(unsigned long addr, const void *buf, unsigned short len) |
687 | { | 730 | { |
688 | unsigned long flags; | 731 | unsigned long flags; |
689 | 732 | ||
690 | local_irq_save(flags); | 733 | local_irq_save(flags); |
691 | 734 | ||
692 | blackfin_dcache_flush_range((unsigned int)buf, (unsigned int)(buf) + len); | 735 | blackfin_dcache_flush_range((unsigned int)buf, |
736 | (unsigned int)(buf) + len * sizeof(long)); | ||
693 | 737 | ||
694 | bfin_write_MDMA_D0_START_ADDR(addr); | 738 | bfin_write_MDMA_D0_START_ADDR(addr); |
695 | bfin_write_MDMA_D0_X_COUNT(len); | 739 | bfin_write_MDMA_D0_X_COUNT(len); |
@@ -704,6 +748,8 @@ void dma_outsl(void __iomem *addr, const void *buf, unsigned short len) | |||
704 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_32); | 748 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_32); |
705 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_32); | 749 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_32); |
706 | 750 | ||
751 | SSYNC(); | ||
752 | |||
707 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 753 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
708 | 754 | ||
709 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); | 755 | bfin_write_MDMA_D0_IRQ_STATUS(DMA_DONE | DMA_ERR); |
@@ -715,10 +761,13 @@ void dma_outsl(void __iomem *addr, const void *buf, unsigned short len) | |||
715 | } | 761 | } |
716 | EXPORT_SYMBOL(dma_outsl); | 762 | EXPORT_SYMBOL(dma_outsl); |
717 | 763 | ||
718 | void dma_insl(const void __iomem *addr, void *buf, unsigned short len) | 764 | void dma_insl(unsigned long addr, void *buf, unsigned short len) |
719 | { | 765 | { |
720 | unsigned long flags; | 766 | unsigned long flags; |
721 | 767 | ||
768 | blackfin_dcache_invalidate_range((unsigned int)buf, | ||
769 | (unsigned int)(buf) + len * sizeof(long)); | ||
770 | |||
722 | local_irq_save(flags); | 771 | local_irq_save(flags); |
723 | 772 | ||
724 | bfin_write_MDMA_D0_START_ADDR(buf); | 773 | bfin_write_MDMA_D0_START_ADDR(buf); |
@@ -734,7 +783,7 @@ void dma_insl(const void __iomem *addr, void *buf, unsigned short len) | |||
734 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_32); | 783 | bfin_write_MDMA_S0_CONFIG(DMAEN | WDSIZE_32); |
735 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_32); | 784 | bfin_write_MDMA_D0_CONFIG(WNR | DI_EN | DMAEN | WDSIZE_32); |
736 | 785 | ||
737 | blackfin_dcache_invalidate_range((unsigned int)buf, (unsigned int)(buf) + len); | 786 | SSYNC(); |
738 | 787 | ||
739 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); | 788 | while (!(bfin_read_MDMA_D0_IRQ_STATUS() & DMA_DONE)); |
740 | 789 | ||
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index 5d488ef965ce..3fe0cd49e8db 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Description: GPIO Abstraction Layer | 7 | * Description: GPIO Abstraction Layer |
8 | * | 8 | * |
9 | * Modified: | 9 | * Modified: |
10 | * Copyright 2006 Analog Devices Inc. | 10 | * Copyright 2007 Analog Devices Inc. |
11 | * | 11 | * |
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ |
13 | * | 13 | * |
@@ -28,9 +28,9 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | /* | 30 | /* |
31 | * Number BF537/6/4 BF561 BF533/2/1 | 31 | * Number BF537/6/4 BF561 BF533/2/1 BF549/8/4/2 |
32 | * | 32 | * |
33 | * GPIO_0 PF0 PF0 PF0 | 33 | * GPIO_0 PF0 PF0 PF0 PA0...PJ13 |
34 | * GPIO_1 PF1 PF1 PF1 | 34 | * GPIO_1 PF1 PF1 PF1 |
35 | * GPIO_2 PF2 PF2 PF2 | 35 | * GPIO_2 PF2 PF2 PF2 |
36 | * GPIO_3 PF3 PF3 PF3 | 36 | * GPIO_3 PF3 PF3 PF3 |
@@ -80,6 +80,7 @@ | |||
80 | * GPIO_47 PH15 PF47 | 80 | * GPIO_47 PH15 PF47 |
81 | */ | 81 | */ |
82 | 82 | ||
83 | #include <linux/delay.h> | ||
83 | #include <linux/module.h> | 84 | #include <linux/module.h> |
84 | #include <linux/err.h> | 85 | #include <linux/err.h> |
85 | #include <asm/blackfin.h> | 86 | #include <asm/blackfin.h> |
@@ -87,6 +88,36 @@ | |||
87 | #include <asm/portmux.h> | 88 | #include <asm/portmux.h> |
88 | #include <linux/irq.h> | 89 | #include <linux/irq.h> |
89 | 90 | ||
91 | #if ANOMALY_05000311 || ANOMALY_05000323 | ||
92 | enum { | ||
93 | AWA_data = SYSCR, | ||
94 | AWA_data_clear = SYSCR, | ||
95 | AWA_data_set = SYSCR, | ||
96 | AWA_toggle = SYSCR, | ||
97 | AWA_maska = UART_SCR, | ||
98 | AWA_maska_clear = UART_SCR, | ||
99 | AWA_maska_set = UART_SCR, | ||
100 | AWA_maska_toggle = UART_SCR, | ||
101 | AWA_maskb = UART_GCTL, | ||
102 | AWA_maskb_clear = UART_GCTL, | ||
103 | AWA_maskb_set = UART_GCTL, | ||
104 | AWA_maskb_toggle = UART_GCTL, | ||
105 | AWA_dir = SPORT1_STAT, | ||
106 | AWA_polar = SPORT1_STAT, | ||
107 | AWA_edge = SPORT1_STAT, | ||
108 | AWA_both = SPORT1_STAT, | ||
109 | #if ANOMALY_05000311 | ||
110 | AWA_inen = TIMER_ENABLE, | ||
111 | #elif ANOMALY_05000323 | ||
112 | AWA_inen = DMA1_1_CONFIG, | ||
113 | #endif | ||
114 | }; | ||
115 | /* Anomaly Workaround */ | ||
116 | #define AWA_DUMMY_READ(name) bfin_read16(AWA_ ## name) | ||
117 | #else | ||
118 | #define AWA_DUMMY_READ(...) do { } while (0) | ||
119 | #endif | ||
120 | |||
90 | #ifdef BF533_FAMILY | 121 | #ifdef BF533_FAMILY |
91 | static struct gpio_port_t *gpio_bankb[gpio_bank(MAX_BLACKFIN_GPIOS)] = { | 122 | static struct gpio_port_t *gpio_bankb[gpio_bank(MAX_BLACKFIN_GPIOS)] = { |
92 | (struct gpio_port_t *) FIO_FLAG_D, | 123 | (struct gpio_port_t *) FIO_FLAG_D, |
@@ -116,11 +147,31 @@ static struct gpio_port_t *gpio_bankb[gpio_bank(MAX_BLACKFIN_GPIOS)] = { | |||
116 | }; | 147 | }; |
117 | #endif | 148 | #endif |
118 | 149 | ||
150 | #ifdef BF548_FAMILY | ||
151 | static struct gpio_port_t *gpio_array[gpio_bank(MAX_BLACKFIN_GPIOS)] = { | ||
152 | (struct gpio_port_t *)PORTA_FER, | ||
153 | (struct gpio_port_t *)PORTB_FER, | ||
154 | (struct gpio_port_t *)PORTC_FER, | ||
155 | (struct gpio_port_t *)PORTD_FER, | ||
156 | (struct gpio_port_t *)PORTE_FER, | ||
157 | (struct gpio_port_t *)PORTF_FER, | ||
158 | (struct gpio_port_t *)PORTG_FER, | ||
159 | (struct gpio_port_t *)PORTH_FER, | ||
160 | (struct gpio_port_t *)PORTI_FER, | ||
161 | (struct gpio_port_t *)PORTJ_FER, | ||
162 | }; | ||
163 | #endif | ||
164 | |||
119 | static unsigned short reserved_gpio_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 165 | static unsigned short reserved_gpio_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; |
120 | static unsigned short reserved_peri_map[gpio_bank(MAX_BLACKFIN_GPIOS + 16)]; | 166 | static unsigned short reserved_peri_map[gpio_bank(MAX_BLACKFIN_GPIOS + 16)]; |
121 | char *str_ident = NULL; | ||
122 | 167 | ||
123 | #define RESOURCE_LABEL_SIZE 16 | 168 | #define MAX_RESOURCES 256 |
169 | #define RESOURCE_LABEL_SIZE 16 | ||
170 | |||
171 | struct str_ident { | ||
172 | char name[RESOURCE_LABEL_SIZE]; | ||
173 | } *str_ident; | ||
174 | |||
124 | 175 | ||
125 | #ifdef CONFIG_PM | 176 | #ifdef CONFIG_PM |
126 | static unsigned short wakeup_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 177 | static unsigned short wakeup_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; |
@@ -141,21 +192,32 @@ static unsigned int sic_iwr_irqs[gpio_bank(MAX_BLACKFIN_GPIOS)] = {IRQ_PROG0_INT | |||
141 | 192 | ||
142 | #endif /* CONFIG_PM */ | 193 | #endif /* CONFIG_PM */ |
143 | 194 | ||
195 | #if defined(BF548_FAMILY) | ||
196 | inline int check_gpio(unsigned short gpio) | ||
197 | { | ||
198 | if (gpio == GPIO_PB15 || gpio == GPIO_PC14 || gpio == GPIO_PC15 | ||
199 | || gpio == GPIO_PH14 || gpio == GPIO_PH15 | ||
200 | || gpio == GPIO_PJ14 || gpio == GPIO_PJ15 | ||
201 | || gpio > MAX_BLACKFIN_GPIOS) | ||
202 | return -EINVAL; | ||
203 | return 0; | ||
204 | } | ||
205 | #else | ||
144 | inline int check_gpio(unsigned short gpio) | 206 | inline int check_gpio(unsigned short gpio) |
145 | { | 207 | { |
146 | if (gpio >= MAX_BLACKFIN_GPIOS) | 208 | if (gpio >= MAX_BLACKFIN_GPIOS) |
147 | return -EINVAL; | 209 | return -EINVAL; |
148 | return 0; | 210 | return 0; |
149 | } | 211 | } |
212 | #endif | ||
150 | 213 | ||
151 | static void set_label(unsigned short ident, const char *label) | 214 | static void set_label(unsigned short ident, const char *label) |
152 | { | 215 | { |
153 | 216 | ||
154 | if (label && str_ident) { | 217 | if (label && str_ident) { |
155 | strncpy(str_ident + ident * RESOURCE_LABEL_SIZE, label, | 218 | strncpy(str_ident[ident].name, label, |
156 | RESOURCE_LABEL_SIZE); | 219 | RESOURCE_LABEL_SIZE); |
157 | str_ident[ident * RESOURCE_LABEL_SIZE + | 220 | str_ident[ident].name[RESOURCE_LABEL_SIZE - 1] = 0; |
158 | RESOURCE_LABEL_SIZE - 1] = 0; | ||
159 | } | 221 | } |
160 | } | 222 | } |
161 | 223 | ||
@@ -164,14 +226,13 @@ static char *get_label(unsigned short ident) | |||
164 | if (!str_ident) | 226 | if (!str_ident) |
165 | return "UNKNOWN"; | 227 | return "UNKNOWN"; |
166 | 228 | ||
167 | return (str_ident[ident * RESOURCE_LABEL_SIZE] ? | 229 | return (*str_ident[ident].name ? str_ident[ident].name : "UNKNOWN"); |
168 | (str_ident + ident * RESOURCE_LABEL_SIZE) : "UNKNOWN"); | ||
169 | } | 230 | } |
170 | 231 | ||
171 | static int cmp_label(unsigned short ident, const char *label) | 232 | static int cmp_label(unsigned short ident, const char *label) |
172 | { | 233 | { |
173 | if (label && str_ident) | 234 | if (label && str_ident) |
174 | return strncmp(str_ident + ident * RESOURCE_LABEL_SIZE, | 235 | return strncmp(str_ident[ident].name, |
175 | label, strlen(label)); | 236 | label, strlen(label)); |
176 | else | 237 | else |
177 | return -EINVAL; | 238 | return -EINVAL; |
@@ -181,50 +242,84 @@ static int cmp_label(unsigned short ident, const char *label) | |||
181 | static void port_setup(unsigned short gpio, unsigned short usage) | 242 | static void port_setup(unsigned short gpio, unsigned short usage) |
182 | { | 243 | { |
183 | if (!check_gpio(gpio)) { | 244 | if (!check_gpio(gpio)) { |
184 | if (usage == GPIO_USAGE) { | 245 | if (usage == GPIO_USAGE) |
185 | *port_fer[gpio_bank(gpio)] &= ~gpio_bit(gpio); | 246 | *port_fer[gpio_bank(gpio)] &= ~gpio_bit(gpio); |
186 | } else | 247 | else |
187 | *port_fer[gpio_bank(gpio)] |= gpio_bit(gpio); | 248 | *port_fer[gpio_bank(gpio)] |= gpio_bit(gpio); |
188 | SSYNC(); | 249 | SSYNC(); |
189 | } | 250 | } |
190 | } | 251 | } |
252 | #elif defined(BF548_FAMILY) | ||
253 | static void port_setup(unsigned short gpio, unsigned short usage) | ||
254 | { | ||
255 | if (usage == GPIO_USAGE) | ||
256 | gpio_array[gpio_bank(gpio)]->port_fer &= ~gpio_bit(gpio); | ||
257 | else | ||
258 | gpio_array[gpio_bank(gpio)]->port_fer |= gpio_bit(gpio); | ||
259 | SSYNC(); | ||
260 | } | ||
191 | #else | 261 | #else |
192 | # define port_setup(...) do { } while (0) | 262 | # define port_setup(...) do { } while (0) |
193 | #endif | 263 | #endif |
194 | 264 | ||
195 | #ifdef BF537_FAMILY | 265 | #ifdef BF537_FAMILY |
196 | 266 | static struct { | |
197 | #define PMUX_LUT_RES 0 | 267 | unsigned short res; |
198 | #define PMUX_LUT_OFFSET 1 | 268 | unsigned short offset; |
199 | #define PMUX_LUT_ENTRIES 41 | 269 | } port_mux_lut[] = { |
200 | #define PMUX_LUT_SIZE 2 | 270 | {.res = P_PPI0_D13, .offset = 11}, |
201 | 271 | {.res = P_PPI0_D14, .offset = 11}, | |
202 | static unsigned short port_mux_lut[PMUX_LUT_ENTRIES][PMUX_LUT_SIZE] = { | 272 | {.res = P_PPI0_D15, .offset = 11}, |
203 | {P_PPI0_D13, 11}, {P_PPI0_D14, 11}, {P_PPI0_D15, 11}, | 273 | {.res = P_SPORT1_TFS, .offset = 11}, |
204 | {P_SPORT1_TFS, 11}, {P_SPORT1_TSCLK, 11}, {P_SPORT1_DTPRI, 11}, | 274 | {.res = P_SPORT1_TSCLK, .offset = 11}, |
205 | {P_PPI0_D10, 10}, {P_PPI0_D11, 10}, {P_PPI0_D12, 10}, | 275 | {.res = P_SPORT1_DTPRI, .offset = 11}, |
206 | {P_SPORT1_RSCLK, 10}, {P_SPORT1_RFS, 10}, {P_SPORT1_DRPRI, 10}, | 276 | {.res = P_PPI0_D10, .offset = 10}, |
207 | {P_PPI0_D8, 9}, {P_PPI0_D9, 9}, {P_SPORT1_DRSEC, 9}, | 277 | {.res = P_PPI0_D11, .offset = 10}, |
208 | {P_SPORT1_DTSEC, 9}, {P_TMR2, 8}, {P_PPI0_FS3, 8}, {P_TMR3, 7}, | 278 | {.res = P_PPI0_D12, .offset = 10}, |
209 | {P_SPI0_SSEL4, 7}, {P_TMR4, 6}, {P_SPI0_SSEL5, 6}, {P_TMR5, 5}, | 279 | {.res = P_SPORT1_RSCLK, .offset = 10}, |
210 | {P_SPI0_SSEL6, 5}, {P_UART1_RX, 4}, {P_UART1_TX, 4}, {P_TMR6, 4}, | 280 | {.res = P_SPORT1_RFS, .offset = 10}, |
211 | {P_TMR7, 4}, {P_UART0_RX, 3}, {P_UART0_TX, 3}, {P_DMAR0, 3}, | 281 | {.res = P_SPORT1_DRPRI, .offset = 10}, |
212 | {P_DMAR1, 3}, {P_SPORT0_DTSEC, 1}, {P_SPORT0_DRSEC, 1}, | 282 | {.res = P_PPI0_D8, .offset = 9}, |
213 | {P_CAN0_RX, 1}, {P_CAN0_TX, 1}, {P_SPI0_SSEL7, 1}, | 283 | {.res = P_PPI0_D9, .offset = 9}, |
214 | {P_SPORT0_TFS, 0}, {P_SPORT0_DTPRI, 0}, {P_SPI0_SSEL2, 0}, | 284 | {.res = P_SPORT1_DRSEC, .offset = 9}, |
215 | {P_SPI0_SSEL3, 0} | 285 | {.res = P_SPORT1_DTSEC, .offset = 9}, |
286 | {.res = P_TMR2, .offset = 8}, | ||
287 | {.res = P_PPI0_FS3, .offset = 8}, | ||
288 | {.res = P_TMR3, .offset = 7}, | ||
289 | {.res = P_SPI0_SSEL4, .offset = 7}, | ||
290 | {.res = P_TMR4, .offset = 6}, | ||
291 | {.res = P_SPI0_SSEL5, .offset = 6}, | ||
292 | {.res = P_TMR5, .offset = 5}, | ||
293 | {.res = P_SPI0_SSEL6, .offset = 5}, | ||
294 | {.res = P_UART1_RX, .offset = 4}, | ||
295 | {.res = P_UART1_TX, .offset = 4}, | ||
296 | {.res = P_TMR6, .offset = 4}, | ||
297 | {.res = P_TMR7, .offset = 4}, | ||
298 | {.res = P_UART0_RX, .offset = 3}, | ||
299 | {.res = P_UART0_TX, .offset = 3}, | ||
300 | {.res = P_DMAR0, .offset = 3}, | ||
301 | {.res = P_DMAR1, .offset = 3}, | ||
302 | {.res = P_SPORT0_DTSEC, .offset = 1}, | ||
303 | {.res = P_SPORT0_DRSEC, .offset = 1}, | ||
304 | {.res = P_CAN0_RX, .offset = 1}, | ||
305 | {.res = P_CAN0_TX, .offset = 1}, | ||
306 | {.res = P_SPI0_SSEL7, .offset = 1}, | ||
307 | {.res = P_SPORT0_TFS, .offset = 0}, | ||
308 | {.res = P_SPORT0_DTPRI, .offset = 0}, | ||
309 | {.res = P_SPI0_SSEL2, .offset = 0}, | ||
310 | {.res = P_SPI0_SSEL3, .offset = 0}, | ||
216 | }; | 311 | }; |
217 | 312 | ||
218 | static void portmux_setup(unsigned short per, unsigned short function) | 313 | static void portmux_setup(unsigned short per, unsigned short function) |
219 | { | 314 | { |
220 | u16 y, muxreg, offset; | 315 | u16 y, offset, muxreg; |
221 | 316 | ||
222 | for (y = 0; y < PMUX_LUT_ENTRIES; y++) { | 317 | for (y = 0; y < ARRAY_SIZE(port_mux_lut); y++) { |
223 | if (port_mux_lut[y][PMUX_LUT_RES] == per) { | 318 | if (port_mux_lut[y].res == per) { |
224 | 319 | ||
225 | /* SET PORTMUX REG */ | 320 | /* SET PORTMUX REG */ |
226 | 321 | ||
227 | offset = port_mux_lut[y][PMUX_LUT_OFFSET]; | 322 | offset = port_mux_lut[y].offset; |
228 | muxreg = bfin_read_PORT_MUX(); | 323 | muxreg = bfin_read_PORT_MUX(); |
229 | 324 | ||
230 | if (offset != 1) { | 325 | if (offset != 1) { |
@@ -238,18 +333,42 @@ static void portmux_setup(unsigned short per, unsigned short function) | |||
238 | } | 333 | } |
239 | } | 334 | } |
240 | } | 335 | } |
336 | #elif defined(BF548_FAMILY) | ||
337 | inline void portmux_setup(unsigned short portno, unsigned short function) | ||
338 | { | ||
339 | u32 pmux; | ||
340 | |||
341 | pmux = gpio_array[gpio_bank(portno)]->port_mux; | ||
342 | |||
343 | pmux &= ~(0x3 << (2 * gpio_sub_n(portno))); | ||
344 | pmux |= (function & 0x3) << (2 * gpio_sub_n(portno)); | ||
241 | 345 | ||
346 | gpio_array[gpio_bank(portno)]->port_mux = pmux; | ||
347 | } | ||
348 | |||
349 | inline u16 get_portmux(unsigned short portno) | ||
350 | { | ||
351 | u32 pmux; | ||
352 | |||
353 | pmux = gpio_array[gpio_bank(portno)]->port_mux; | ||
354 | |||
355 | return (pmux >> (2 * gpio_sub_n(portno)) & 0x3); | ||
356 | } | ||
242 | #else | 357 | #else |
243 | # define portmux_setup(...) do { } while (0) | 358 | # define portmux_setup(...) do { } while (0) |
244 | #endif | 359 | #endif |
245 | 360 | ||
361 | #ifndef BF548_FAMILY | ||
246 | static void default_gpio(unsigned short gpio) | 362 | static void default_gpio(unsigned short gpio) |
247 | { | 363 | { |
248 | unsigned short bank, bitmask; | 364 | unsigned short bank, bitmask; |
365 | unsigned long flags; | ||
249 | 366 | ||
250 | bank = gpio_bank(gpio); | 367 | bank = gpio_bank(gpio); |
251 | bitmask = gpio_bit(gpio); | 368 | bitmask = gpio_bit(gpio); |
252 | 369 | ||
370 | local_irq_save(flags); | ||
371 | |||
253 | gpio_bankb[bank]->maska_clear = bitmask; | 372 | gpio_bankb[bank]->maska_clear = bitmask; |
254 | gpio_bankb[bank]->maskb_clear = bitmask; | 373 | gpio_bankb[bank]->maskb_clear = bitmask; |
255 | SSYNC(); | 374 | SSYNC(); |
@@ -258,24 +377,32 @@ static void default_gpio(unsigned short gpio) | |||
258 | gpio_bankb[bank]->polar &= ~bitmask; | 377 | gpio_bankb[bank]->polar &= ~bitmask; |
259 | gpio_bankb[bank]->both &= ~bitmask; | 378 | gpio_bankb[bank]->both &= ~bitmask; |
260 | gpio_bankb[bank]->edge &= ~bitmask; | 379 | gpio_bankb[bank]->edge &= ~bitmask; |
380 | AWA_DUMMY_READ(edge); | ||
381 | local_irq_restore(flags); | ||
382 | |||
261 | } | 383 | } |
384 | #else | ||
385 | # define default_gpio(...) do { } while (0) | ||
386 | #endif | ||
262 | 387 | ||
263 | static int __init bfin_gpio_init(void) | 388 | static int __init bfin_gpio_init(void) |
264 | { | 389 | { |
265 | 390 | str_ident = kcalloc(MAX_RESOURCES, | |
266 | str_ident = kzalloc(RESOURCE_LABEL_SIZE * 256, GFP_KERNEL); | 391 | sizeof(struct str_ident), GFP_KERNEL); |
267 | if (!str_ident) | 392 | if (str_ident == NULL) |
268 | return -ENOMEM; | 393 | return -ENOMEM; |
269 | 394 | ||
395 | memset(str_ident, 0, MAX_RESOURCES * sizeof(struct str_ident)); | ||
396 | |||
270 | printk(KERN_INFO "Blackfin GPIO Controller\n"); | 397 | printk(KERN_INFO "Blackfin GPIO Controller\n"); |
271 | 398 | ||
272 | return 0; | 399 | return 0; |
273 | 400 | ||
274 | } | 401 | } |
275 | |||
276 | arch_initcall(bfin_gpio_init); | 402 | arch_initcall(bfin_gpio_init); |
277 | 403 | ||
278 | 404 | ||
405 | #ifndef BF548_FAMILY | ||
279 | /*********************************************************** | 406 | /*********************************************************** |
280 | * | 407 | * |
281 | * FUNCTIONS: Blackfin General Purpose Ports Access Functions | 408 | * FUNCTIONS: Blackfin General Purpose Ports Access Functions |
@@ -305,6 +432,7 @@ void set_gpio_ ## name(unsigned short gpio, unsigned short arg) \ | |||
305 | gpio_bankb[gpio_bank(gpio)]->name |= gpio_bit(gpio); \ | 432 | gpio_bankb[gpio_bank(gpio)]->name |= gpio_bit(gpio); \ |
306 | else \ | 433 | else \ |
307 | gpio_bankb[gpio_bank(gpio)]->name &= ~gpio_bit(gpio); \ | 434 | gpio_bankb[gpio_bank(gpio)]->name &= ~gpio_bit(gpio); \ |
435 | AWA_DUMMY_READ(name); \ | ||
308 | local_irq_restore(flags); \ | 436 | local_irq_restore(flags); \ |
309 | } \ | 437 | } \ |
310 | EXPORT_SYMBOL(set_gpio_ ## name); | 438 | EXPORT_SYMBOL(set_gpio_ ## name); |
@@ -316,6 +444,22 @@ SET_GPIO(edge) | |||
316 | SET_GPIO(both) | 444 | SET_GPIO(both) |
317 | 445 | ||
318 | 446 | ||
447 | #if ANOMALY_05000311 || ANOMALY_05000323 | ||
448 | #define SET_GPIO_SC(name) \ | ||
449 | void set_gpio_ ## name(unsigned short gpio, unsigned short arg) \ | ||
450 | { \ | ||
451 | unsigned long flags; \ | ||
452 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); \ | ||
453 | local_irq_save(flags); \ | ||
454 | if (arg) \ | ||
455 | gpio_bankb[gpio_bank(gpio)]->name ## _set = gpio_bit(gpio); \ | ||
456 | else \ | ||
457 | gpio_bankb[gpio_bank(gpio)]->name ## _clear = gpio_bit(gpio); \ | ||
458 | AWA_DUMMY_READ(name); \ | ||
459 | local_irq_restore(flags); \ | ||
460 | } \ | ||
461 | EXPORT_SYMBOL(set_gpio_ ## name); | ||
462 | #else | ||
319 | #define SET_GPIO_SC(name) \ | 463 | #define SET_GPIO_SC(name) \ |
320 | void set_gpio_ ## name(unsigned short gpio, unsigned short arg) \ | 464 | void set_gpio_ ## name(unsigned short gpio, unsigned short arg) \ |
321 | { \ | 465 | { \ |
@@ -326,37 +470,20 @@ void set_gpio_ ## name(unsigned short gpio, unsigned short arg) \ | |||
326 | gpio_bankb[gpio_bank(gpio)]->name ## _clear = gpio_bit(gpio); \ | 470 | gpio_bankb[gpio_bank(gpio)]->name ## _clear = gpio_bit(gpio); \ |
327 | } \ | 471 | } \ |
328 | EXPORT_SYMBOL(set_gpio_ ## name); | 472 | EXPORT_SYMBOL(set_gpio_ ## name); |
473 | #endif | ||
329 | 474 | ||
330 | SET_GPIO_SC(maska) | 475 | SET_GPIO_SC(maska) |
331 | SET_GPIO_SC(maskb) | 476 | SET_GPIO_SC(maskb) |
332 | |||
333 | #if defined(ANOMALY_05000311) | ||
334 | void set_gpio_data(unsigned short gpio, unsigned short arg) | ||
335 | { | ||
336 | unsigned long flags; | ||
337 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
338 | local_irq_save(flags); | ||
339 | if (arg) | ||
340 | gpio_bankb[gpio_bank(gpio)]->data_set = gpio_bit(gpio); | ||
341 | else | ||
342 | gpio_bankb[gpio_bank(gpio)]->data_clear = gpio_bit(gpio); | ||
343 | bfin_read_CHIPID(); | ||
344 | local_irq_restore(flags); | ||
345 | } | ||
346 | EXPORT_SYMBOL(set_gpio_data); | ||
347 | #else | ||
348 | SET_GPIO_SC(data) | 477 | SET_GPIO_SC(data) |
349 | #endif | ||
350 | |||
351 | 478 | ||
352 | #if defined(ANOMALY_05000311) | 479 | #if ANOMALY_05000311 || ANOMALY_05000323 |
353 | void set_gpio_toggle(unsigned short gpio) | 480 | void set_gpio_toggle(unsigned short gpio) |
354 | { | 481 | { |
355 | unsigned long flags; | 482 | unsigned long flags; |
356 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | 483 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); |
357 | local_irq_save(flags); | 484 | local_irq_save(flags); |
358 | gpio_bankb[gpio_bank(gpio)]->toggle = gpio_bit(gpio); | 485 | gpio_bankb[gpio_bank(gpio)]->toggle = gpio_bit(gpio); |
359 | bfin_read_CHIPID(); | 486 | AWA_DUMMY_READ(toggle); |
360 | local_irq_restore(flags); | 487 | local_irq_restore(flags); |
361 | } | 488 | } |
362 | #else | 489 | #else |
@@ -371,13 +498,27 @@ EXPORT_SYMBOL(set_gpio_toggle); | |||
371 | 498 | ||
372 | /*Set current PORT date (16-bit word)*/ | 499 | /*Set current PORT date (16-bit word)*/ |
373 | 500 | ||
501 | #if ANOMALY_05000311 || ANOMALY_05000323 | ||
374 | #define SET_GPIO_P(name) \ | 502 | #define SET_GPIO_P(name) \ |
375 | void set_gpiop_ ## name(unsigned short gpio, unsigned short arg) \ | 503 | void set_gpiop_ ## name(unsigned short gpio, unsigned short arg) \ |
376 | { \ | 504 | { \ |
505 | unsigned long flags; \ | ||
506 | local_irq_save(flags); \ | ||
377 | gpio_bankb[gpio_bank(gpio)]->name = arg; \ | 507 | gpio_bankb[gpio_bank(gpio)]->name = arg; \ |
508 | AWA_DUMMY_READ(name); \ | ||
509 | local_irq_restore(flags); \ | ||
378 | } \ | 510 | } \ |
379 | EXPORT_SYMBOL(set_gpiop_ ## name); | 511 | EXPORT_SYMBOL(set_gpiop_ ## name); |
512 | #else | ||
513 | #define SET_GPIO_P(name) \ | ||
514 | void set_gpiop_ ## name(unsigned short gpio, unsigned short arg) \ | ||
515 | { \ | ||
516 | gpio_bankb[gpio_bank(gpio)]->name = arg; \ | ||
517 | } \ | ||
518 | EXPORT_SYMBOL(set_gpiop_ ## name); | ||
519 | #endif | ||
380 | 520 | ||
521 | SET_GPIO_P(data) | ||
381 | SET_GPIO_P(dir) | 522 | SET_GPIO_P(dir) |
382 | SET_GPIO_P(inen) | 523 | SET_GPIO_P(inen) |
383 | SET_GPIO_P(polar) | 524 | SET_GPIO_P(polar) |
@@ -387,31 +528,30 @@ SET_GPIO_P(maska) | |||
387 | SET_GPIO_P(maskb) | 528 | SET_GPIO_P(maskb) |
388 | 529 | ||
389 | 530 | ||
390 | #if defined(ANOMALY_05000311) | ||
391 | void set_gpiop_data(unsigned short gpio, unsigned short arg) | ||
392 | { | ||
393 | unsigned long flags; | ||
394 | local_irq_save(flags); | ||
395 | gpio_bankb[gpio_bank(gpio)]->data = arg; | ||
396 | bfin_read_CHIPID(); | ||
397 | local_irq_restore(flags); | ||
398 | } | ||
399 | EXPORT_SYMBOL(set_gpiop_data); | ||
400 | #else | ||
401 | SET_GPIO_P(data) | ||
402 | #endif | ||
403 | |||
404 | |||
405 | |||
406 | /* Get a specific bit */ | 531 | /* Get a specific bit */ |
407 | 532 | #if ANOMALY_05000311 || ANOMALY_05000323 | |
533 | #define GET_GPIO(name) \ | ||
534 | unsigned short get_gpio_ ## name(unsigned short gpio) \ | ||
535 | { \ | ||
536 | unsigned long flags; \ | ||
537 | unsigned short ret; \ | ||
538 | local_irq_save(flags); \ | ||
539 | ret = 0x01 & (gpio_bankb[gpio_bank(gpio)]->name >> gpio_sub_n(gpio)); \ | ||
540 | AWA_DUMMY_READ(name); \ | ||
541 | local_irq_restore(flags); \ | ||
542 | return ret; \ | ||
543 | } \ | ||
544 | EXPORT_SYMBOL(get_gpio_ ## name); | ||
545 | #else | ||
408 | #define GET_GPIO(name) \ | 546 | #define GET_GPIO(name) \ |
409 | unsigned short get_gpio_ ## name(unsigned short gpio) \ | 547 | unsigned short get_gpio_ ## name(unsigned short gpio) \ |
410 | { \ | 548 | { \ |
411 | return (0x01 & (gpio_bankb[gpio_bank(gpio)]->name >> gpio_sub_n(gpio))); \ | 549 | return (0x01 & (gpio_bankb[gpio_bank(gpio)]->name >> gpio_sub_n(gpio))); \ |
412 | } \ | 550 | } \ |
413 | EXPORT_SYMBOL(get_gpio_ ## name); | 551 | EXPORT_SYMBOL(get_gpio_ ## name); |
552 | #endif | ||
414 | 553 | ||
554 | GET_GPIO(data) | ||
415 | GET_GPIO(dir) | 555 | GET_GPIO(dir) |
416 | GET_GPIO(inen) | 556 | GET_GPIO(inen) |
417 | GET_GPIO(polar) | 557 | GET_GPIO(polar) |
@@ -420,33 +560,31 @@ GET_GPIO(both) | |||
420 | GET_GPIO(maska) | 560 | GET_GPIO(maska) |
421 | GET_GPIO(maskb) | 561 | GET_GPIO(maskb) |
422 | 562 | ||
423 | |||
424 | #if defined(ANOMALY_05000311) | ||
425 | unsigned short get_gpio_data(unsigned short gpio) | ||
426 | { | ||
427 | unsigned long flags; | ||
428 | unsigned short ret; | ||
429 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
430 | local_irq_save(flags); | ||
431 | ret = 0x01 & (gpio_bankb[gpio_bank(gpio)]->data >> gpio_sub_n(gpio)); | ||
432 | bfin_read_CHIPID(); | ||
433 | local_irq_restore(flags); | ||
434 | return ret; | ||
435 | } | ||
436 | EXPORT_SYMBOL(get_gpio_data); | ||
437 | #else | ||
438 | GET_GPIO(data) | ||
439 | #endif | ||
440 | |||
441 | /*Get current PORT date (16-bit word)*/ | 563 | /*Get current PORT date (16-bit word)*/ |
442 | 564 | ||
565 | #if ANOMALY_05000311 || ANOMALY_05000323 | ||
566 | #define GET_GPIO_P(name) \ | ||
567 | unsigned short get_gpiop_ ## name(unsigned short gpio) \ | ||
568 | { \ | ||
569 | unsigned long flags; \ | ||
570 | unsigned short ret; \ | ||
571 | local_irq_save(flags); \ | ||
572 | ret = (gpio_bankb[gpio_bank(gpio)]->name); \ | ||
573 | AWA_DUMMY_READ(name); \ | ||
574 | local_irq_restore(flags); \ | ||
575 | return ret; \ | ||
576 | } \ | ||
577 | EXPORT_SYMBOL(get_gpiop_ ## name); | ||
578 | #else | ||
443 | #define GET_GPIO_P(name) \ | 579 | #define GET_GPIO_P(name) \ |
444 | unsigned short get_gpiop_ ## name(unsigned short gpio) \ | 580 | unsigned short get_gpiop_ ## name(unsigned short gpio) \ |
445 | { \ | 581 | { \ |
446 | return (gpio_bankb[gpio_bank(gpio)]->name);\ | 582 | return (gpio_bankb[gpio_bank(gpio)]->name);\ |
447 | } \ | 583 | } \ |
448 | EXPORT_SYMBOL(get_gpiop_ ## name); | 584 | EXPORT_SYMBOL(get_gpiop_ ## name); |
585 | #endif | ||
449 | 586 | ||
587 | GET_GPIO_P(data) | ||
450 | GET_GPIO_P(dir) | 588 | GET_GPIO_P(dir) |
451 | GET_GPIO_P(inen) | 589 | GET_GPIO_P(inen) |
452 | GET_GPIO_P(polar) | 590 | GET_GPIO_P(polar) |
@@ -455,21 +593,6 @@ GET_GPIO_P(both) | |||
455 | GET_GPIO_P(maska) | 593 | GET_GPIO_P(maska) |
456 | GET_GPIO_P(maskb) | 594 | GET_GPIO_P(maskb) |
457 | 595 | ||
458 | #if defined(ANOMALY_05000311) | ||
459 | unsigned short get_gpiop_data(unsigned short gpio) | ||
460 | { | ||
461 | unsigned long flags; | ||
462 | unsigned short ret; | ||
463 | local_irq_save(flags); | ||
464 | ret = gpio_bankb[gpio_bank(gpio)]->data; | ||
465 | bfin_read_CHIPID(); | ||
466 | local_irq_restore(flags); | ||
467 | return ret; | ||
468 | } | ||
469 | EXPORT_SYMBOL(get_gpiop_data); | ||
470 | #else | ||
471 | GET_GPIO_P(data) | ||
472 | #endif | ||
473 | 596 | ||
474 | #ifdef CONFIG_PM | 597 | #ifdef CONFIG_PM |
475 | /*********************************************************** | 598 | /*********************************************************** |
@@ -593,6 +716,8 @@ u32 gpio_pm_setup(void) | |||
593 | } | 716 | } |
594 | } | 717 | } |
595 | 718 | ||
719 | AWA_DUMMY_READ(maskb_set); | ||
720 | |||
596 | if (sic_iwr) | 721 | if (sic_iwr) |
597 | return sic_iwr; | 722 | return sic_iwr; |
598 | else | 723 | else |
@@ -624,12 +749,99 @@ void gpio_pm_restore(void) | |||
624 | 749 | ||
625 | gpio_bankb[bank]->maskb = gpio_bank_saved[bank].maskb; | 750 | gpio_bankb[bank]->maskb = gpio_bank_saved[bank].maskb; |
626 | } | 751 | } |
752 | AWA_DUMMY_READ(maskb); | ||
627 | } | 753 | } |
628 | 754 | ||
629 | #endif | 755 | #endif |
756 | #endif /* BF548_FAMILY */ | ||
630 | 757 | ||
758 | /*********************************************************** | ||
759 | * | ||
760 | * FUNCTIONS: Blackfin Peripheral Resource Allocation | ||
761 | * and PortMux Setup | ||
762 | * | ||
763 | * INPUTS/OUTPUTS: | ||
764 | * per Peripheral Identifier | ||
765 | * label String | ||
766 | * | ||
767 | * DESCRIPTION: Blackfin Peripheral Resource Allocation and Setup API | ||
768 | * | ||
769 | * CAUTION: | ||
770 | ************************************************************* | ||
771 | * MODIFICATION HISTORY : | ||
772 | **************************************************************/ | ||
773 | |||
774 | #ifdef BF548_FAMILY | ||
775 | int peripheral_request(unsigned short per, const char *label) | ||
776 | { | ||
777 | unsigned long flags; | ||
778 | unsigned short ident = P_IDENT(per); | ||
779 | |||
780 | /* | ||
781 | * Don't cares are pins with only one dedicated function | ||
782 | */ | ||
783 | |||
784 | if (per & P_DONTCARE) | ||
785 | return 0; | ||
786 | |||
787 | if (!(per & P_DEFINED)) | ||
788 | return -ENODEV; | ||
789 | |||
790 | if (check_gpio(ident) < 0) | ||
791 | return -EINVAL; | ||
792 | |||
793 | local_irq_save(flags); | ||
794 | |||
795 | if (unlikely(reserved_gpio_map[gpio_bank(ident)] & gpio_bit(ident))) { | ||
796 | printk(KERN_ERR | ||
797 | "%s: Peripheral %d is already reserved as GPIO by %s !\n", | ||
798 | __FUNCTION__, ident, get_label(ident)); | ||
799 | dump_stack(); | ||
800 | local_irq_restore(flags); | ||
801 | return -EBUSY; | ||
802 | } | ||
803 | |||
804 | if (unlikely(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident))) { | ||
805 | |||
806 | u16 funct = get_portmux(ident); | ||
807 | |||
808 | /* | ||
809 | * Pin functions like AMC address strobes my | ||
810 | * be requested and used by several drivers | ||
811 | */ | ||
812 | |||
813 | if (!((per & P_MAYSHARE) && (funct == P_FUNCT2MUX(per)))) { | ||
814 | |||
815 | /* | ||
816 | * Allow that the identical pin function can | ||
817 | * be requested from the same driver twice | ||
818 | */ | ||
819 | |||
820 | if (cmp_label(ident, label) == 0) | ||
821 | goto anyway; | ||
631 | 822 | ||
823 | printk(KERN_ERR | ||
824 | "%s: Peripheral %d function %d is already reserved by %s !\n", | ||
825 | __FUNCTION__, ident, P_FUNCT2MUX(per), get_label(ident)); | ||
826 | dump_stack(); | ||
827 | local_irq_restore(flags); | ||
828 | return -EBUSY; | ||
829 | } | ||
830 | } | ||
632 | 831 | ||
832 | anyway: | ||
833 | reserved_peri_map[gpio_bank(ident)] |= gpio_bit(ident); | ||
834 | |||
835 | portmux_setup(ident, P_FUNCT2MUX(per)); | ||
836 | port_setup(ident, PERIPHERAL_USAGE); | ||
837 | |||
838 | local_irq_restore(flags); | ||
839 | set_label(ident, label); | ||
840 | |||
841 | return 0; | ||
842 | } | ||
843 | EXPORT_SYMBOL(peripheral_request); | ||
844 | #else | ||
633 | 845 | ||
634 | int peripheral_request(unsigned short per, const char *label) | 846 | int peripheral_request(unsigned short per, const char *label) |
635 | { | 847 | { |
@@ -680,7 +892,7 @@ int peripheral_request(unsigned short per, const char *label) | |||
680 | 892 | ||
681 | printk(KERN_ERR | 893 | printk(KERN_ERR |
682 | "%s: Peripheral %d function %d is already" | 894 | "%s: Peripheral %d function %d is already" |
683 | "reserved by %s !\n", | 895 | " reserved by %s !\n", |
684 | __FUNCTION__, ident, P_FUNCT2MUX(per), | 896 | __FUNCTION__, ident, P_FUNCT2MUX(per), |
685 | get_label(ident)); | 897 | get_label(ident)); |
686 | dump_stack(); | 898 | dump_stack(); |
@@ -691,8 +903,6 @@ int peripheral_request(unsigned short per, const char *label) | |||
691 | } | 903 | } |
692 | 904 | ||
693 | anyway: | 905 | anyway: |
694 | |||
695 | |||
696 | portmux_setup(per, P_FUNCT2MUX(per)); | 906 | portmux_setup(per, P_FUNCT2MUX(per)); |
697 | 907 | ||
698 | port_setup(ident, PERIPHERAL_USAGE); | 908 | port_setup(ident, PERIPHERAL_USAGE); |
@@ -704,6 +914,7 @@ anyway: | |||
704 | return 0; | 914 | return 0; |
705 | } | 915 | } |
706 | EXPORT_SYMBOL(peripheral_request); | 916 | EXPORT_SYMBOL(peripheral_request); |
917 | #endif | ||
707 | 918 | ||
708 | int peripheral_request_list(unsigned short per[], const char *label) | 919 | int peripheral_request_list(unsigned short per[], const char *label) |
709 | { | 920 | { |
@@ -711,9 +922,15 @@ int peripheral_request_list(unsigned short per[], const char *label) | |||
711 | int ret; | 922 | int ret; |
712 | 923 | ||
713 | for (cnt = 0; per[cnt] != 0; cnt++) { | 924 | for (cnt = 0; per[cnt] != 0; cnt++) { |
925 | |||
714 | ret = peripheral_request(per[cnt], label); | 926 | ret = peripheral_request(per[cnt], label); |
715 | if (ret < 0) | 927 | |
716 | return ret; | 928 | if (ret < 0) { |
929 | for ( ; cnt > 0; cnt--) { | ||
930 | peripheral_free(per[cnt - 1]); | ||
931 | } | ||
932 | return ret; | ||
933 | } | ||
717 | } | 934 | } |
718 | 935 | ||
719 | return 0; | 936 | return 0; |
@@ -748,6 +965,8 @@ void peripheral_free(unsigned short per) | |||
748 | 965 | ||
749 | reserved_peri_map[gpio_bank(ident)] &= ~gpio_bit(ident); | 966 | reserved_peri_map[gpio_bank(ident)] &= ~gpio_bit(ident); |
750 | 967 | ||
968 | set_label(ident, "free"); | ||
969 | |||
751 | local_irq_restore(flags); | 970 | local_irq_restore(flags); |
752 | } | 971 | } |
753 | EXPORT_SYMBOL(peripheral_free); | 972 | EXPORT_SYMBOL(peripheral_free); |
@@ -768,8 +987,8 @@ EXPORT_SYMBOL(peripheral_free_list); | |||
768 | * FUNCTIONS: Blackfin GPIO Driver | 987 | * FUNCTIONS: Blackfin GPIO Driver |
769 | * | 988 | * |
770 | * INPUTS/OUTPUTS: | 989 | * INPUTS/OUTPUTS: |
771 | * gpio - GPIO Number between 0 and MAX_BLACKFIN_GPIOS | 990 | * gpio PIO Number between 0 and MAX_BLACKFIN_GPIOS |
772 | * | 991 | * label String |
773 | * | 992 | * |
774 | * DESCRIPTION: Blackfin GPIO Driver API | 993 | * DESCRIPTION: Blackfin GPIO Driver API |
775 | * | 994 | * |
@@ -787,17 +1006,39 @@ int gpio_request(unsigned short gpio, const char *label) | |||
787 | 1006 | ||
788 | local_irq_save(flags); | 1007 | local_irq_save(flags); |
789 | 1008 | ||
1009 | /* | ||
1010 | * Allow that the identical GPIO can | ||
1011 | * be requested from the same driver twice | ||
1012 | * Do nothing and return - | ||
1013 | */ | ||
1014 | |||
1015 | if (cmp_label(gpio, label) == 0) { | ||
1016 | local_irq_restore(flags); | ||
1017 | return 0; | ||
1018 | } | ||
1019 | |||
790 | if (unlikely(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | 1020 | if (unlikely(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))) { |
791 | printk(KERN_ERR "bfin-gpio: GPIO %d is already reserved!\n", gpio); | 1021 | printk(KERN_ERR "bfin-gpio: GPIO %d is already reserved by %s !\n", |
1022 | gpio, get_label(gpio)); | ||
792 | dump_stack(); | 1023 | dump_stack(); |
793 | local_irq_restore(flags); | 1024 | local_irq_restore(flags); |
794 | return -EBUSY; | 1025 | return -EBUSY; |
795 | } | 1026 | } |
1027 | if (unlikely(reserved_peri_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | ||
1028 | printk(KERN_ERR | ||
1029 | "bfin-gpio: GPIO %d is already reserved as Peripheral by %s !\n", | ||
1030 | gpio, get_label(gpio)); | ||
1031 | dump_stack(); | ||
1032 | local_irq_restore(flags); | ||
1033 | return -EBUSY; | ||
1034 | } | ||
1035 | |||
796 | reserved_gpio_map[gpio_bank(gpio)] |= gpio_bit(gpio); | 1036 | reserved_gpio_map[gpio_bank(gpio)] |= gpio_bit(gpio); |
797 | 1037 | ||
798 | local_irq_restore(flags); | 1038 | local_irq_restore(flags); |
799 | 1039 | ||
800 | port_setup(gpio, GPIO_USAGE); | 1040 | port_setup(gpio, GPIO_USAGE); |
1041 | set_label(gpio, label); | ||
801 | 1042 | ||
802 | return 0; | 1043 | return 0; |
803 | } | 1044 | } |
@@ -823,10 +1064,57 @@ void gpio_free(unsigned short gpio) | |||
823 | 1064 | ||
824 | reserved_gpio_map[gpio_bank(gpio)] &= ~gpio_bit(gpio); | 1065 | reserved_gpio_map[gpio_bank(gpio)] &= ~gpio_bit(gpio); |
825 | 1066 | ||
1067 | set_label(gpio, "free"); | ||
1068 | |||
826 | local_irq_restore(flags); | 1069 | local_irq_restore(flags); |
827 | } | 1070 | } |
828 | EXPORT_SYMBOL(gpio_free); | 1071 | EXPORT_SYMBOL(gpio_free); |
829 | 1072 | ||
1073 | #ifdef BF548_FAMILY | ||
1074 | void gpio_direction_input(unsigned short gpio) | ||
1075 | { | ||
1076 | unsigned long flags; | ||
1077 | |||
1078 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
1079 | |||
1080 | local_irq_save(flags); | ||
1081 | gpio_array[gpio_bank(gpio)]->port_dir_clear = gpio_bit(gpio); | ||
1082 | gpio_array[gpio_bank(gpio)]->port_inen |= gpio_bit(gpio); | ||
1083 | local_irq_restore(flags); | ||
1084 | } | ||
1085 | EXPORT_SYMBOL(gpio_direction_input); | ||
1086 | |||
1087 | void gpio_direction_output(unsigned short gpio) | ||
1088 | { | ||
1089 | unsigned long flags; | ||
1090 | |||
1091 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
1092 | |||
1093 | local_irq_save(flags); | ||
1094 | gpio_array[gpio_bank(gpio)]->port_inen &= ~gpio_bit(gpio); | ||
1095 | gpio_array[gpio_bank(gpio)]->port_dir_set = gpio_bit(gpio); | ||
1096 | local_irq_restore(flags); | ||
1097 | } | ||
1098 | EXPORT_SYMBOL(gpio_direction_output); | ||
1099 | |||
1100 | void gpio_set_value(unsigned short gpio, unsigned short arg) | ||
1101 | { | ||
1102 | if (arg) | ||
1103 | gpio_array[gpio_bank(gpio)]->port_set = gpio_bit(gpio); | ||
1104 | else | ||
1105 | gpio_array[gpio_bank(gpio)]->port_clear = gpio_bit(gpio); | ||
1106 | |||
1107 | } | ||
1108 | EXPORT_SYMBOL(gpio_set_value); | ||
1109 | |||
1110 | unsigned short gpio_get_value(unsigned short gpio) | ||
1111 | { | ||
1112 | return (1 & (gpio_array[gpio_bank(gpio)]->port_data >> gpio_sub_n(gpio))); | ||
1113 | } | ||
1114 | EXPORT_SYMBOL(gpio_get_value); | ||
1115 | |||
1116 | #else | ||
1117 | |||
830 | void gpio_direction_input(unsigned short gpio) | 1118 | void gpio_direction_input(unsigned short gpio) |
831 | { | 1119 | { |
832 | unsigned long flags; | 1120 | unsigned long flags; |
@@ -836,6 +1124,7 @@ void gpio_direction_input(unsigned short gpio) | |||
836 | local_irq_save(flags); | 1124 | local_irq_save(flags); |
837 | gpio_bankb[gpio_bank(gpio)]->dir &= ~gpio_bit(gpio); | 1125 | gpio_bankb[gpio_bank(gpio)]->dir &= ~gpio_bit(gpio); |
838 | gpio_bankb[gpio_bank(gpio)]->inen |= gpio_bit(gpio); | 1126 | gpio_bankb[gpio_bank(gpio)]->inen |= gpio_bit(gpio); |
1127 | AWA_DUMMY_READ(inen); | ||
839 | local_irq_restore(flags); | 1128 | local_irq_restore(flags); |
840 | } | 1129 | } |
841 | EXPORT_SYMBOL(gpio_direction_input); | 1130 | EXPORT_SYMBOL(gpio_direction_input); |
@@ -849,6 +1138,28 @@ void gpio_direction_output(unsigned short gpio) | |||
849 | local_irq_save(flags); | 1138 | local_irq_save(flags); |
850 | gpio_bankb[gpio_bank(gpio)]->inen &= ~gpio_bit(gpio); | 1139 | gpio_bankb[gpio_bank(gpio)]->inen &= ~gpio_bit(gpio); |
851 | gpio_bankb[gpio_bank(gpio)]->dir |= gpio_bit(gpio); | 1140 | gpio_bankb[gpio_bank(gpio)]->dir |= gpio_bit(gpio); |
1141 | AWA_DUMMY_READ(dir); | ||
852 | local_irq_restore(flags); | 1142 | local_irq_restore(flags); |
853 | } | 1143 | } |
854 | EXPORT_SYMBOL(gpio_direction_output); | 1144 | EXPORT_SYMBOL(gpio_direction_output); |
1145 | |||
1146 | /* If we are booting from SPI and our board lacks a strong enough pull up, | ||
1147 | * the core can reset and execute the bootrom faster than the resistor can | ||
1148 | * pull the signal logically high. To work around this (common) error in | ||
1149 | * board design, we explicitly set the pin back to GPIO mode, force /CS | ||
1150 | * high, and wait for the electrons to do their thing. | ||
1151 | * | ||
1152 | * This function only makes sense to be called from reset code, but it | ||
1153 | * lives here as we need to force all the GPIO states w/out going through | ||
1154 | * BUG() checks and such. | ||
1155 | */ | ||
1156 | void bfin_gpio_reset_spi0_ssel1(void) | ||
1157 | { | ||
1158 | u16 gpio = P_IDENT(P_SPI0_SSEL1); | ||
1159 | |||
1160 | port_setup(gpio, GPIO_USAGE); | ||
1161 | gpio_bankb[gpio_bank(gpio)]->data_set = gpio_bit(gpio); | ||
1162 | udelay(1); | ||
1163 | } | ||
1164 | |||
1165 | #endif /*BF548_FAMILY */ | ||
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c index 70455949cfd2..2198afe40f33 100644 --- a/arch/blackfin/kernel/bfin_ksyms.c +++ b/arch/blackfin/kernel/bfin_ksyms.c | |||
@@ -60,6 +60,7 @@ EXPORT_SYMBOL(csum_partial_copy); | |||
60 | * their interface isn't gonna change any time soon now, so | 60 | * their interface isn't gonna change any time soon now, so |
61 | * it's OK to leave it out of version control. | 61 | * it's OK to leave it out of version control. |
62 | */ | 62 | */ |
63 | EXPORT_SYMBOL(strcpy); | ||
63 | EXPORT_SYMBOL(memcpy); | 64 | EXPORT_SYMBOL(memcpy); |
64 | EXPORT_SYMBOL(memset); | 65 | EXPORT_SYMBOL(memset); |
65 | EXPORT_SYMBOL(memcmp); | 66 | EXPORT_SYMBOL(memcmp); |
diff --git a/arch/blackfin/kernel/cacheinit.c b/arch/blackfin/kernel/cacheinit.c index 4d41a40e8133..62cbba7364b0 100644 --- a/arch/blackfin/kernel/cacheinit.c +++ b/arch/blackfin/kernel/cacheinit.c | |||
@@ -21,9 +21,10 @@ | |||
21 | 21 | ||
22 | #include <asm/cacheflush.h> | 22 | #include <asm/cacheflush.h> |
23 | #include <asm/blackfin.h> | 23 | #include <asm/blackfin.h> |
24 | #include <asm/cplb.h> | ||
24 | #include <asm/cplbinit.h> | 25 | #include <asm/cplbinit.h> |
25 | 26 | ||
26 | #if defined(CONFIG_BLKFIN_CACHE) | 27 | #if defined(CONFIG_BFIN_ICACHE) |
27 | void bfin_icache_init(void) | 28 | void bfin_icache_init(void) |
28 | { | 29 | { |
29 | unsigned long *table = icplb_table; | 30 | unsigned long *table = icplb_table; |
@@ -44,7 +45,7 @@ void bfin_icache_init(void) | |||
44 | } | 45 | } |
45 | #endif | 46 | #endif |
46 | 47 | ||
47 | #if defined(CONFIG_BLKFIN_DCACHE) | 48 | #if defined(CONFIG_BFIN_DCACHE) |
48 | void bfin_dcache_init(void) | 49 | void bfin_dcache_init(void) |
49 | { | 50 | { |
50 | unsigned long *table = dcplb_table; | 51 | unsigned long *table = dcplb_table; |
diff --git a/arch/blackfin/kernel/cplbinit.c b/arch/blackfin/kernel/cplbinit.c index bbdb403fcb55..f2db6a5e2b5b 100644 --- a/arch/blackfin/kernel/cplbinit.c +++ b/arch/blackfin/kernel/cplbinit.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | 24 | ||
25 | #include <asm/blackfin.h> | 25 | #include <asm/blackfin.h> |
26 | #include <asm/cplb.h> | ||
26 | #include <asm/cplbinit.h> | 27 | #include <asm/cplbinit.h> |
27 | 28 | ||
28 | u_long icplb_table[MAX_CPLBS+1]; | 29 | u_long icplb_table[MAX_CPLBS+1]; |
@@ -56,7 +57,7 @@ struct s_cplb { | |||
56 | struct cplb_tab switch_d; | 57 | struct cplb_tab switch_d; |
57 | }; | 58 | }; |
58 | 59 | ||
59 | #if defined(CONFIG_BLKFIN_DCACHE) || defined(CONFIG_BLKFIN_CACHE) | 60 | #if defined(CONFIG_BFIN_DCACHE) || defined(CONFIG_BFIN_ICACHE) |
60 | static struct cplb_desc cplb_data[] = { | 61 | static struct cplb_desc cplb_data[] = { |
61 | { | 62 | { |
62 | .start = 0, | 63 | .start = 0, |
@@ -230,8 +231,8 @@ static void __fill_code_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_en | |||
230 | cplb_data[i].psize, | 231 | cplb_data[i].psize, |
231 | cplb_data[i].i_conf); | 232 | cplb_data[i].i_conf); |
232 | } else { | 233 | } else { |
233 | #if (defined(CONFIG_BLKFIN_CACHE) && defined(ANOMALY_05000263)) | 234 | #if defined(CONFIG_BFIN_ICACHE) |
234 | if (i == SDRAM_KERN) { | 235 | if (ANOMALY_05000263 && i == SDRAM_KERN) { |
235 | fill_cplbtab(t, | 236 | fill_cplbtab(t, |
236 | cplb_data[i].start, | 237 | cplb_data[i].start, |
237 | cplb_data[i].end, | 238 | cplb_data[i].end, |
diff --git a/arch/blackfin/kernel/early_printk.c b/arch/blackfin/kernel/early_printk.c new file mode 100644 index 000000000000..6ec518a81113 --- /dev/null +++ b/arch/blackfin/kernel/early_printk.c | |||
@@ -0,0 +1,214 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/kernel/early_printk.c | ||
3 | * Based on: arch/x86_64/kernel/early_printk.c | ||
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org | ||
5 | * | ||
6 | * Created: 14Aug2007 | ||
7 | * Description: allow a console to be used for early printk | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | */ | ||
24 | |||
25 | #include <linux/kernel.h> | ||
26 | #include <linux/init.h> | ||
27 | #include <linux/serial_core.h> | ||
28 | #include <linux/console.h> | ||
29 | #include <linux/string.h> | ||
30 | #include <asm/blackfin.h> | ||
31 | #include <asm/irq_handler.h> | ||
32 | #include <asm/early_printk.h> | ||
33 | |||
34 | #ifdef CONFIG_SERIAL_BFIN | ||
35 | extern struct console *bfin_earlyserial_init(unsigned int port, | ||
36 | unsigned int cflag); | ||
37 | #endif | ||
38 | |||
39 | static struct console *early_console; | ||
40 | |||
41 | /* Default console */ | ||
42 | #define DEFAULT_PORT 0 | ||
43 | #define DEFAULT_CFLAG CS8|B57600 | ||
44 | |||
45 | /* Default console for early crashes */ | ||
46 | #define DEFAULT_EARLY_PORT "serial,uart0,57600" | ||
47 | |||
48 | #ifdef CONFIG_SERIAL_CORE | ||
49 | /* What should get here is "0,57600" */ | ||
50 | static struct console * __init earlyserial_init(char *buf) | ||
51 | { | ||
52 | int baud, bit; | ||
53 | char parity; | ||
54 | unsigned int serial_port = DEFAULT_PORT; | ||
55 | unsigned int cflag = DEFAULT_CFLAG; | ||
56 | |||
57 | serial_port = simple_strtoul(buf, &buf, 10); | ||
58 | buf++; | ||
59 | |||
60 | cflag = 0; | ||
61 | baud = simple_strtoul(buf, &buf, 10); | ||
62 | switch (baud) { | ||
63 | case 1200: | ||
64 | cflag |= B1200; | ||
65 | break; | ||
66 | case 2400: | ||
67 | cflag |= B2400; | ||
68 | break; | ||
69 | case 4800: | ||
70 | cflag |= B4800; | ||
71 | break; | ||
72 | case 9600: | ||
73 | cflag |= B9600; | ||
74 | break; | ||
75 | case 19200: | ||
76 | cflag |= B19200; | ||
77 | break; | ||
78 | case 38400: | ||
79 | cflag |= B38400; | ||
80 | break; | ||
81 | case 115200: | ||
82 | cflag |= B115200; | ||
83 | break; | ||
84 | default: | ||
85 | cflag |= B57600; | ||
86 | } | ||
87 | |||
88 | parity = buf[0]; | ||
89 | buf++; | ||
90 | switch (parity) { | ||
91 | case 'e': | ||
92 | cflag |= PARENB; | ||
93 | break; | ||
94 | case 'o': | ||
95 | cflag |= PARODD; | ||
96 | break; | ||
97 | } | ||
98 | |||
99 | bit = simple_strtoul(buf, &buf, 10); | ||
100 | switch (bit) { | ||
101 | case 5: | ||
102 | cflag |= CS5; | ||
103 | break; | ||
104 | case 6: | ||
105 | cflag |= CS5; | ||
106 | break; | ||
107 | case 7: | ||
108 | cflag |= CS5; | ||
109 | break; | ||
110 | default: | ||
111 | cflag |= CS8; | ||
112 | } | ||
113 | |||
114 | #ifdef CONFIG_SERIAL_BFIN | ||
115 | return bfin_earlyserial_init(serial_port, cflag); | ||
116 | #else | ||
117 | return NULL; | ||
118 | #endif | ||
119 | |||
120 | } | ||
121 | #endif | ||
122 | |||
123 | int __init setup_early_printk(char *buf) | ||
124 | { | ||
125 | |||
126 | /* Crashing in here would be really bad, so check both the var | ||
127 | and the pointer before we start using it | ||
128 | */ | ||
129 | if (!buf) | ||
130 | return 0; | ||
131 | |||
132 | if (!*buf) | ||
133 | return 0; | ||
134 | |||
135 | if (early_console != NULL) | ||
136 | return 0; | ||
137 | |||
138 | #ifdef CONFIG_SERIAL_BFIN | ||
139 | /* Check for Blackfin Serial */ | ||
140 | if (!strncmp(buf, "serial,uart", 11)) { | ||
141 | buf += 11; | ||
142 | early_console = earlyserial_init(buf); | ||
143 | } | ||
144 | #endif | ||
145 | #ifdef CONFIG_FB | ||
146 | /* TODO: add framebuffer console support */ | ||
147 | #endif | ||
148 | |||
149 | if (likely(early_console)) { | ||
150 | early_console->flags |= CON_BOOT; | ||
151 | |||
152 | register_console(early_console); | ||
153 | printk(KERN_INFO "early printk enabled on %s%d\n", | ||
154 | early_console->name, | ||
155 | early_console->index); | ||
156 | } | ||
157 | |||
158 | return 0; | ||
159 | } | ||
160 | |||
161 | /* | ||
162 | * Set up a temporary Event Vector Table, so if something bad happens before | ||
163 | * the kernel is fully started, it doesn't vector off into somewhere we don't | ||
164 | * know | ||
165 | */ | ||
166 | |||
167 | asmlinkage void __init init_early_exception_vectors(void) | ||
168 | { | ||
169 | SSYNC(); | ||
170 | |||
171 | /* cannot program in software: | ||
172 | * evt0 - emulation (jtag) | ||
173 | * evt1 - reset | ||
174 | */ | ||
175 | bfin_write_EVT2(early_trap); | ||
176 | bfin_write_EVT3(early_trap); | ||
177 | bfin_write_EVT5(early_trap); | ||
178 | bfin_write_EVT6(early_trap); | ||
179 | bfin_write_EVT7(early_trap); | ||
180 | bfin_write_EVT8(early_trap); | ||
181 | bfin_write_EVT9(early_trap); | ||
182 | bfin_write_EVT10(early_trap); | ||
183 | bfin_write_EVT11(early_trap); | ||
184 | bfin_write_EVT12(early_trap); | ||
185 | bfin_write_EVT13(early_trap); | ||
186 | bfin_write_EVT14(early_trap); | ||
187 | bfin_write_EVT15(early_trap); | ||
188 | CSYNC(); | ||
189 | |||
190 | /* Set all the return from interupt, exception, NMI to a known place | ||
191 | * so if we do a RETI, RETX or RETN by mistake - we go somewhere known | ||
192 | * Note - don't change RETS - we are in a subroutine, or | ||
193 | * RETE - since it might screw up if emulator is attached | ||
194 | */ | ||
195 | asm("\tRETI = %0; RETX = %0; RETN = %0;\n" | ||
196 | : : "p"(early_trap)); | ||
197 | |||
198 | } | ||
199 | |||
200 | asmlinkage void __init early_trap_c(struct pt_regs *fp, void *retaddr) | ||
201 | { | ||
202 | /* This can happen before the uart is initialized, so initialize | ||
203 | * the UART now | ||
204 | */ | ||
205 | if (likely(early_console == NULL)) | ||
206 | setup_early_printk(DEFAULT_EARLY_PORT); | ||
207 | |||
208 | dump_bfin_regs(fp, retaddr); | ||
209 | dump_bfin_trace_buffer(); | ||
210 | |||
211 | panic("Died early"); | ||
212 | } | ||
213 | |||
214 | early_param("earlyprintk", setup_early_printk); | ||
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 1fc001c7abda..73647c158774 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/kallsyms.h> | 34 | #include <linux/kallsyms.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
36 | #include <linux/irq.h> | 36 | #include <linux/irq.h> |
37 | #include <asm/trace.h> | ||
37 | 38 | ||
38 | static unsigned long irq_err_count; | 39 | static unsigned long irq_err_count; |
39 | static spinlock_t irq_controller_lock; | 40 | static spinlock_t irq_controller_lock; |
@@ -97,9 +98,8 @@ int show_interrupts(struct seq_file *p, void *v) | |||
97 | */ | 98 | */ |
98 | 99 | ||
99 | #ifdef CONFIG_DO_IRQ_L1 | 100 | #ifdef CONFIG_DO_IRQ_L1 |
100 | asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)__attribute__((l1_text)); | 101 | __attribute__((l1_text)) |
101 | #endif | 102 | #endif |
102 | |||
103 | asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs) | 103 | asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs) |
104 | { | 104 | { |
105 | struct pt_regs *old_regs; | 105 | struct pt_regs *old_regs; |
@@ -144,4 +144,12 @@ void __init init_IRQ(void) | |||
144 | } | 144 | } |
145 | 145 | ||
146 | init_arch_irq(); | 146 | init_arch_irq(); |
147 | |||
148 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
149 | /* Now that evt_ivhw is set up, turn this on */ | ||
150 | trace_buff_offset = 0; | ||
151 | bfin_write_TBUFCTL(BFIN_TRACE_ON); | ||
152 | printk(KERN_INFO "Hardware Trace expanded to %ik\n", | ||
153 | 1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN); | ||
154 | #endif | ||
147 | } | 155 | } |
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 6a7aefe48346..9124467651c4 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c | |||
@@ -134,31 +134,6 @@ void cpu_idle(void) | |||
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
137 | void machine_restart(char *__unused) | ||
138 | { | ||
139 | #if defined(CONFIG_BLKFIN_CACHE) | ||
140 | bfin_write_IMEM_CONTROL(0x01); | ||
141 | SSYNC(); | ||
142 | #endif | ||
143 | bfin_reset(); | ||
144 | /* Dont do anything till the reset occurs */ | ||
145 | while (1) { | ||
146 | SSYNC(); | ||
147 | } | ||
148 | } | ||
149 | |||
150 | void machine_halt(void) | ||
151 | { | ||
152 | for (;;) | ||
153 | asm volatile ("idle"); | ||
154 | } | ||
155 | |||
156 | void machine_power_off(void) | ||
157 | { | ||
158 | for (;;) | ||
159 | asm volatile ("idle"); | ||
160 | } | ||
161 | |||
162 | void show_regs(struct pt_regs *regs) | 137 | void show_regs(struct pt_regs *regs) |
163 | { | 138 | { |
164 | printk(KERN_NOTICE "\n"); | 139 | printk(KERN_NOTICE "\n"); |
@@ -420,7 +395,8 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
420 | #if defined(CONFIG_ACCESS_CHECK) | 395 | #if defined(CONFIG_ACCESS_CHECK) |
421 | int _access_ok(unsigned long addr, unsigned long size) | 396 | int _access_ok(unsigned long addr, unsigned long size) |
422 | { | 397 | { |
423 | 398 | if (size == 0) | |
399 | return 1; | ||
424 | if (addr > (addr + size)) | 400 | if (addr > (addr + size)) |
425 | return 0; | 401 | return 0; |
426 | if (segment_eq(get_fs(), KERNEL_DS)) | 402 | if (segment_eq(get_fs(), KERNEL_DS)) |
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index ed800c7456dd..64ce5fea8609 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <asm/processor.h> | 44 | #include <asm/processor.h> |
45 | #include <asm/asm-offsets.h> | 45 | #include <asm/asm-offsets.h> |
46 | #include <asm/dma.h> | 46 | #include <asm/dma.h> |
47 | #include <asm/fixed_code.h> | ||
47 | 48 | ||
48 | #define MAX_SHARED_LIBS 3 | 49 | #define MAX_SHARED_LIBS 3 |
49 | #define TEXT_OFFSET 0 | 50 | #define TEXT_OFFSET 0 |
@@ -169,6 +170,9 @@ static inline int is_user_addr_valid(struct task_struct *child, | |||
169 | && start + len <= (unsigned long)sraml->addr + sraml->length) | 170 | && start + len <= (unsigned long)sraml->addr + sraml->length) |
170 | return 0; | 171 | return 0; |
171 | 172 | ||
173 | if (start >= FIXED_CODE_START && start + len <= FIXED_CODE_END) | ||
174 | return 0; | ||
175 | |||
172 | return -EIO; | 176 | return -EIO; |
173 | } | 177 | } |
174 | 178 | ||
@@ -215,9 +219,13 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
215 | copied = sizeof(tmp); | 219 | copied = sizeof(tmp); |
216 | } else | 220 | } else |
217 | #endif | 221 | #endif |
218 | copied = | 222 | if (addr + add >= FIXED_CODE_START |
219 | access_process_vm(child, addr + add, &tmp, | 223 | && addr + add + sizeof(tmp) <= FIXED_CODE_END) { |
220 | sizeof(tmp), 0); | 224 | memcpy(&tmp, (const void *)(addr + add), sizeof(tmp)); |
225 | copied = sizeof(tmp); | ||
226 | } else | ||
227 | copied = access_process_vm(child, addr + add, &tmp, | ||
228 | sizeof(tmp), 0); | ||
221 | pr_debug("ptrace: copied size %d [0x%08lx]\n", copied, tmp); | 229 | pr_debug("ptrace: copied size %d [0x%08lx]\n", copied, tmp); |
222 | if (copied != sizeof(tmp)) | 230 | if (copied != sizeof(tmp)) |
223 | break; | 231 | break; |
@@ -281,9 +289,13 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
281 | copied = sizeof(data); | 289 | copied = sizeof(data); |
282 | } else | 290 | } else |
283 | #endif | 291 | #endif |
284 | copied = | 292 | if (addr + add >= FIXED_CODE_START |
285 | access_process_vm(child, addr + add, &data, | 293 | && addr + add + sizeof(data) <= FIXED_CODE_END) { |
286 | sizeof(data), 1); | 294 | memcpy((void *)(addr + add), &data, sizeof(data)); |
295 | copied = sizeof(data); | ||
296 | } else | ||
297 | copied = access_process_vm(child, addr + add, &data, | ||
298 | sizeof(data), 1); | ||
287 | pr_debug("ptrace: copied size %d\n", copied); | 299 | pr_debug("ptrace: copied size %d\n", copied); |
288 | if (copied != sizeof(data)) | 300 | if (copied != sizeof(data)) |
289 | break; | 301 | break; |
diff --git a/arch/blackfin/kernel/reboot.c b/arch/blackfin/kernel/reboot.c new file mode 100644 index 000000000000..356078ec462b --- /dev/null +++ b/arch/blackfin/kernel/reboot.c | |||
@@ -0,0 +1,78 @@ | |||
1 | /* | ||
2 | * arch/blackfin/kernel/reboot.c - handle shutdown/reboot | ||
3 | * | ||
4 | * Copyright 2004-2007 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
7 | */ | ||
8 | |||
9 | #include <linux/interrupt.h> | ||
10 | #include <asm/bfin-global.h> | ||
11 | #include <asm/reboot.h> | ||
12 | #include <asm/system.h> | ||
13 | |||
14 | #if defined(BF537_FAMILY) || defined(BF533_FAMILY) | ||
15 | #define SYSCR_VAL 0x0 | ||
16 | #elif defined(BF561_FAMILY) | ||
17 | #define SYSCR_VAL 0x20 | ||
18 | #elif defined(BF548_FAMILY) | ||
19 | #define SYSCR_VAL 0x10 | ||
20 | #endif | ||
21 | |||
22 | /* A system soft reset makes external memory unusable | ||
23 | * so force this function into L1. | ||
24 | */ | ||
25 | __attribute__((l1_text)) | ||
26 | void bfin_reset(void) | ||
27 | { | ||
28 | /* force BMODE and disable Core B (as needed) */ | ||
29 | bfin_write_SYSCR(SYSCR_VAL); | ||
30 | |||
31 | /* we use asm ssync here because it's save and we save some L1 */ | ||
32 | asm("ssync;"); | ||
33 | |||
34 | while (1) { | ||
35 | /* initiate system soft reset with magic 0x7 */ | ||
36 | bfin_write_SWRST(0x7); | ||
37 | asm("ssync;"); | ||
38 | /* clear system soft reset */ | ||
39 | bfin_write_SWRST(0); | ||
40 | asm("ssync;"); | ||
41 | /* issue core reset */ | ||
42 | asm("raise 1"); | ||
43 | } | ||
44 | } | ||
45 | |||
46 | __attribute__((weak)) | ||
47 | void native_machine_restart(char *cmd) | ||
48 | { | ||
49 | } | ||
50 | |||
51 | void machine_restart(char *cmd) | ||
52 | { | ||
53 | native_machine_restart(cmd); | ||
54 | local_irq_disable(); | ||
55 | bfin_reset(); | ||
56 | } | ||
57 | |||
58 | __attribute__((weak)) | ||
59 | void native_machine_halt(void) | ||
60 | { | ||
61 | idle_with_irq_disabled(); | ||
62 | } | ||
63 | |||
64 | void machine_halt(void) | ||
65 | { | ||
66 | native_machine_halt(); | ||
67 | } | ||
68 | |||
69 | __attribute__((weak)) | ||
70 | void native_machine_power_off(void) | ||
71 | { | ||
72 | idle_with_irq_disabled(); | ||
73 | } | ||
74 | |||
75 | void machine_power_off(void) | ||
76 | { | ||
77 | native_machine_power_off(); | ||
78 | } | ||
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 88f221b89b33..8dcd76e87ed5 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -39,10 +39,12 @@ | |||
39 | #include <linux/cramfs_fs.h> | 39 | #include <linux/cramfs_fs.h> |
40 | #include <linux/romfs_fs.h> | 40 | #include <linux/romfs_fs.h> |
41 | 41 | ||
42 | #include <asm/cplb.h> | ||
42 | #include <asm/cacheflush.h> | 43 | #include <asm/cacheflush.h> |
43 | #include <asm/blackfin.h> | 44 | #include <asm/blackfin.h> |
44 | #include <asm/cplbinit.h> | 45 | #include <asm/cplbinit.h> |
45 | #include <asm/fixed_code.h> | 46 | #include <asm/fixed_code.h> |
47 | #include <asm/early_printk.h> | ||
46 | 48 | ||
47 | u16 _bfin_swrst; | 49 | u16 _bfin_swrst; |
48 | 50 | ||
@@ -66,21 +68,21 @@ char __initdata command_line[COMMAND_LINE_SIZE]; | |||
66 | 68 | ||
67 | void __init bf53x_cache_init(void) | 69 | void __init bf53x_cache_init(void) |
68 | { | 70 | { |
69 | #if defined(CONFIG_BLKFIN_DCACHE) || defined(CONFIG_BLKFIN_CACHE) | 71 | #if defined(CONFIG_BFIN_DCACHE) || defined(CONFIG_BFIN_ICACHE) |
70 | generate_cpl_tables(); | 72 | generate_cpl_tables(); |
71 | #endif | 73 | #endif |
72 | 74 | ||
73 | #ifdef CONFIG_BLKFIN_CACHE | 75 | #ifdef CONFIG_BFIN_ICACHE |
74 | bfin_icache_init(); | 76 | bfin_icache_init(); |
75 | printk(KERN_INFO "Instruction Cache Enabled\n"); | 77 | printk(KERN_INFO "Instruction Cache Enabled\n"); |
76 | #endif | 78 | #endif |
77 | 79 | ||
78 | #ifdef CONFIG_BLKFIN_DCACHE | 80 | #ifdef CONFIG_BFIN_DCACHE |
79 | bfin_dcache_init(); | 81 | bfin_dcache_init(); |
80 | printk(KERN_INFO "Data Cache Enabled" | 82 | printk(KERN_INFO "Data Cache Enabled" |
81 | # if defined CONFIG_BLKFIN_WB | 83 | # if defined CONFIG_BFIN_WB |
82 | " (write-back)" | 84 | " (write-back)" |
83 | # elif defined CONFIG_BLKFIN_WT | 85 | # elif defined CONFIG_BFIN_WT |
84 | " (write-through)" | 86 | " (write-through)" |
85 | # endif | 87 | # endif |
86 | "\n"); | 88 | "\n"); |
@@ -156,8 +158,10 @@ static __init void parse_cmdline_early(char *cmdline_p) | |||
156 | 1; | 158 | 1; |
157 | } | 159 | } |
158 | } | 160 | } |
161 | } else if (!memcmp(to, "earlyprintk=", 12)) { | ||
162 | to += 12; | ||
163 | setup_early_printk(to); | ||
159 | } | 164 | } |
160 | |||
161 | } | 165 | } |
162 | c = *(to++); | 166 | c = *(to++); |
163 | if (!c) | 167 | if (!c) |
@@ -176,22 +180,36 @@ void __init setup_arch(char **cmdline_p) | |||
176 | #ifdef CONFIG_DUMMY_CONSOLE | 180 | #ifdef CONFIG_DUMMY_CONSOLE |
177 | conswitchp = &dummy_con; | 181 | conswitchp = &dummy_con; |
178 | #endif | 182 | #endif |
183 | |||
184 | #if defined(CONFIG_CMDLINE_BOOL) | ||
185 | strncpy(&command_line[0], CONFIG_CMDLINE, sizeof(command_line)); | ||
186 | command_line[sizeof(command_line) - 1] = 0; | ||
187 | #endif | ||
188 | |||
189 | /* Keep a copy of command line */ | ||
190 | *cmdline_p = &command_line[0]; | ||
191 | memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); | ||
192 | boot_command_line[COMMAND_LINE_SIZE - 1] = '\0'; | ||
193 | |||
194 | /* setup memory defaults from the user config */ | ||
195 | physical_mem_end = 0; | ||
196 | _ramend = CONFIG_MEM_SIZE * 1024 * 1024; | ||
197 | |||
198 | parse_cmdline_early(&command_line[0]); | ||
199 | |||
179 | cclk = get_cclk(); | 200 | cclk = get_cclk(); |
180 | sclk = get_sclk(); | 201 | sclk = get_sclk(); |
181 | 202 | ||
182 | #if !defined(CONFIG_BFIN_KERNEL_CLOCK) && defined(ANOMALY_05000273) | 203 | #if !defined(CONFIG_BFIN_KERNEL_CLOCK) |
183 | if (cclk == sclk) | 204 | if (ANOMALY_05000273 && cclk == sclk) |
184 | panic("ANOMALY 05000273, SCLK can not be same as CCLK"); | 205 | panic("ANOMALY 05000273, SCLK can not be same as CCLK"); |
185 | #endif | 206 | #endif |
186 | 207 | ||
187 | #if defined(ANOMALY_05000266) | 208 | #ifdef BF561_FAMILY |
188 | bfin_read_IMDMA_D0_IRQ_STATUS(); | 209 | if (ANOMALY_05000266) { |
189 | bfin_read_IMDMA_D1_IRQ_STATUS(); | 210 | bfin_read_IMDMA_D0_IRQ_STATUS(); |
190 | #endif | 211 | bfin_read_IMDMA_D1_IRQ_STATUS(); |
191 | 212 | } | |
192 | #ifdef DEBUG_SERIAL_EARLY_INIT | ||
193 | bfin_console_init(); /* early console registration */ | ||
194 | /* this give a chance to get printk() working before crash. */ | ||
195 | #endif | 213 | #endif |
196 | 214 | ||
197 | printk(KERN_INFO "Hardware Trace "); | 215 | printk(KERN_INFO "Hardware Trace "); |
@@ -212,22 +230,6 @@ void __init setup_arch(char **cmdline_p) | |||
212 | flash_probe(); | 230 | flash_probe(); |
213 | #endif | 231 | #endif |
214 | 232 | ||
215 | #if defined(CONFIG_CMDLINE_BOOL) | ||
216 | strncpy(&command_line[0], CONFIG_CMDLINE, sizeof(command_line)); | ||
217 | command_line[sizeof(command_line) - 1] = 0; | ||
218 | #endif | ||
219 | |||
220 | /* Keep a copy of command line */ | ||
221 | *cmdline_p = &command_line[0]; | ||
222 | memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE); | ||
223 | boot_command_line[COMMAND_LINE_SIZE - 1] = '\0'; | ||
224 | |||
225 | /* setup memory defaults from the user config */ | ||
226 | physical_mem_end = 0; | ||
227 | _ramend = CONFIG_MEM_SIZE * 1024 * 1024; | ||
228 | |||
229 | parse_cmdline_early(&command_line[0]); | ||
230 | |||
231 | if (physical_mem_end == 0) | 233 | if (physical_mem_end == 0) |
232 | physical_mem_end = _ramend; | 234 | physical_mem_end = _ramend; |
233 | 235 | ||
@@ -260,7 +262,7 @@ void __init setup_arch(char **cmdline_p) | |||
260 | && ((unsigned long *)mtd_phys)[1] == ROMSB_WORD1) | 262 | && ((unsigned long *)mtd_phys)[1] == ROMSB_WORD1) |
261 | mtd_size = | 263 | mtd_size = |
262 | PAGE_ALIGN(be32_to_cpu(((unsigned long *)mtd_phys)[2])); | 264 | PAGE_ALIGN(be32_to_cpu(((unsigned long *)mtd_phys)[2])); |
263 | # if (defined(CONFIG_BLKFIN_CACHE) && defined(ANOMALY_05000263)) | 265 | # if (defined(CONFIG_BFIN_ICACHE) && ANOMALY_05000263) |
264 | /* Due to a Hardware Anomaly we need to limit the size of usable | 266 | /* Due to a Hardware Anomaly we need to limit the size of usable |
265 | * instruction memory to max 60MB, 56 if HUNT_FOR_ZERO is on | 267 | * instruction memory to max 60MB, 56 if HUNT_FOR_ZERO is on |
266 | * 05000263 - Hardware loop corrupted when taking an ICPLB exception | 268 | * 05000263 - Hardware loop corrupted when taking an ICPLB exception |
@@ -289,7 +291,7 @@ void __init setup_arch(char **cmdline_p) | |||
289 | _ebss = memory_mtd_start; /* define _ebss for compatible */ | 291 | _ebss = memory_mtd_start; /* define _ebss for compatible */ |
290 | #endif /* CONFIG_MTD_UCLINUX */ | 292 | #endif /* CONFIG_MTD_UCLINUX */ |
291 | 293 | ||
292 | #if (defined(CONFIG_BLKFIN_CACHE) && defined(ANOMALY_05000263)) | 294 | #if (defined(CONFIG_BFIN_ICACHE) && ANOMALY_05000263) |
293 | /* Due to a Hardware Anomaly we need to limit the size of usable | 295 | /* Due to a Hardware Anomaly we need to limit the size of usable |
294 | * instruction memory to max 60MB, 56 if HUNT_FOR_ZERO is on | 296 | * instruction memory to max 60MB, 56 if HUNT_FOR_ZERO is on |
295 | * 05000263 - Hardware loop corrupted when taking an ICPLB exception | 297 | * 05000263 - Hardware loop corrupted when taking an ICPLB exception |
@@ -334,13 +336,11 @@ void __init setup_arch(char **cmdline_p) | |||
334 | CPU, bfin_revid()); | 336 | CPU, bfin_revid()); |
335 | printk(KERN_INFO "Blackfin Linux support by http://blackfin.uclinux.org/\n"); | 337 | printk(KERN_INFO "Blackfin Linux support by http://blackfin.uclinux.org/\n"); |
336 | 338 | ||
337 | printk(KERN_INFO "Processor Speed: %lu MHz core clock and %lu Mhz System Clock\n", | 339 | printk(KERN_INFO "Processor Speed: %lu MHz core clock and %lu MHz System Clock\n", |
338 | cclk / 1000000, sclk / 1000000); | 340 | cclk / 1000000, sclk / 1000000); |
339 | 341 | ||
340 | #if defined(ANOMALY_05000273) | 342 | if (ANOMALY_05000273 && (cclk >> 1) <= sclk) |
341 | if ((cclk >> 1) <= sclk) | ||
342 | printk("\n\n\nANOMALY_05000273: CCLK must be >= 2*SCLK !!!\n\n\n"); | 343 | printk("\n\n\nANOMALY_05000273: CCLK must be >= 2*SCLK !!!\n\n\n"); |
343 | #endif | ||
344 | 344 | ||
345 | printk(KERN_INFO "Board Memory: %ldMB\n", physical_mem_end >> 20); | 345 | printk(KERN_INFO "Board Memory: %ldMB\n", physical_mem_end >> 20); |
346 | printk(KERN_INFO "Kernel Managed Memory: %ldMB\n", _ramend >> 20); | 346 | printk(KERN_INFO "Kernel Managed Memory: %ldMB\n", _ramend >> 20); |
@@ -535,9 +535,9 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
535 | seq_printf(m, "I-CACHE:\tOFF\n"); | 535 | seq_printf(m, "I-CACHE:\tOFF\n"); |
536 | if ((bfin_read_DMEM_CONTROL()) & (ENDCPLB | DMC_ENABLE)) | 536 | if ((bfin_read_DMEM_CONTROL()) & (ENDCPLB | DMC_ENABLE)) |
537 | seq_printf(m, "D-CACHE:\tON" | 537 | seq_printf(m, "D-CACHE:\tON" |
538 | #if defined CONFIG_BLKFIN_WB | 538 | #if defined CONFIG_BFIN_WB |
539 | " (write-back)" | 539 | " (write-back)" |
540 | #elif defined CONFIG_BLKFIN_WT | 540 | #elif defined CONFIG_BFIN_WT |
541 | " (write-through)" | 541 | " (write-through)" |
542 | #endif | 542 | #endif |
543 | "\n"); | 543 | "\n"); |
@@ -566,15 +566,15 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
566 | } | 566 | } |
567 | 567 | ||
568 | 568 | ||
569 | seq_printf(m, "I-CACHE Size:\t%dKB\n", BLKFIN_ICACHESIZE / 1024); | 569 | seq_printf(m, "I-CACHE Size:\t%dKB\n", BFIN_ICACHESIZE / 1024); |
570 | seq_printf(m, "D-CACHE Size:\t%dKB\n", dcache_size); | 570 | seq_printf(m, "D-CACHE Size:\t%dKB\n", dcache_size); |
571 | seq_printf(m, "I-CACHE Setup:\t%d Sub-banks/%d Ways, %d Lines/Way\n", | 571 | seq_printf(m, "I-CACHE Setup:\t%d Sub-banks/%d Ways, %d Lines/Way\n", |
572 | BLKFIN_ISUBBANKS, BLKFIN_IWAYS, BLKFIN_ILINES); | 572 | BFIN_ISUBBANKS, BFIN_IWAYS, BFIN_ILINES); |
573 | seq_printf(m, | 573 | seq_printf(m, |
574 | "D-CACHE Setup:\t%d Super-banks/%d Sub-banks/%d Ways, %d Lines/Way\n", | 574 | "D-CACHE Setup:\t%d Super-banks/%d Sub-banks/%d Ways, %d Lines/Way\n", |
575 | dsup_banks, BLKFIN_DSUBBANKS, BLKFIN_DWAYS, | 575 | dsup_banks, BFIN_DSUBBANKS, BFIN_DWAYS, |
576 | BLKFIN_DLINES); | 576 | BFIN_DLINES); |
577 | #ifdef CONFIG_BLKFIN_CACHE_LOCK | 577 | #ifdef CONFIG_BFIN_ICACHE_LOCK |
578 | switch (read_iloc()) { | 578 | switch (read_iloc()) { |
579 | case WAY0_L: | 579 | case WAY0_L: |
580 | seq_printf(m, "Way0 Locked-Down\n"); | 580 | seq_printf(m, "Way0 Locked-Down\n"); |
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 792a8416fe10..8823e9ade584 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -51,10 +51,9 @@ void __init trap_init(void) | |||
51 | CSYNC(); | 51 | CSYNC(); |
52 | } | 52 | } |
53 | 53 | ||
54 | asmlinkage void trap_c(struct pt_regs *fp); | ||
55 | |||
56 | int kstack_depth_to_print = 48; | 54 | int kstack_depth_to_print = 48; |
57 | 55 | ||
56 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | ||
58 | static int printk_address(unsigned long address) | 57 | static int printk_address(unsigned long address) |
59 | { | 58 | { |
60 | struct vm_list_struct *vml; | 59 | struct vm_list_struct *vml; |
@@ -131,10 +130,22 @@ static int printk_address(unsigned long address) | |||
131 | /* we were unable to find this address anywhere */ | 130 | /* we were unable to find this address anywhere */ |
132 | return printk("[<0x%p>]", (void *)address); | 131 | return printk("[<0x%p>]", (void *)address); |
133 | } | 132 | } |
133 | #endif | ||
134 | |||
135 | asmlinkage void double_fault_c(struct pt_regs *fp) | ||
136 | { | ||
137 | printk(KERN_EMERG "\n" KERN_EMERG "Double Fault\n"); | ||
138 | dump_bfin_regs(fp, (void *)fp->retx); | ||
139 | panic("Double Fault - unrecoverable event\n"); | ||
140 | |||
141 | } | ||
134 | 142 | ||
135 | asmlinkage void trap_c(struct pt_regs *fp) | 143 | asmlinkage void trap_c(struct pt_regs *fp) |
136 | { | 144 | { |
137 | int j, sig = 0; | 145 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
146 | int j; | ||
147 | #endif | ||
148 | int sig = 0; | ||
138 | siginfo_t info; | 149 | siginfo_t info; |
139 | unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE; | 150 | unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE; |
140 | 151 | ||
@@ -391,10 +402,6 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
391 | break; | 402 | break; |
392 | } | 403 | } |
393 | 404 | ||
394 | info.si_signo = sig; | ||
395 | info.si_errno = 0; | ||
396 | info.si_addr = (void *)fp->pc; | ||
397 | force_sig_info(sig, &info, current); | ||
398 | if (sig != 0 && sig != SIGTRAP) { | 405 | if (sig != 0 && sig != SIGTRAP) { |
399 | unsigned long stack; | 406 | unsigned long stack; |
400 | dump_bfin_regs(fp, (void *)fp->retx); | 407 | dump_bfin_regs(fp, (void *)fp->retx); |
@@ -403,6 +410,10 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
403 | if (current->mm == NULL) | 410 | if (current->mm == NULL) |
404 | panic("Kernel exception"); | 411 | panic("Kernel exception"); |
405 | } | 412 | } |
413 | info.si_signo = sig; | ||
414 | info.si_errno = 0; | ||
415 | info.si_addr = (void *)fp->pc; | ||
416 | force_sig_info(sig, &info, current); | ||
406 | 417 | ||
407 | /* if the address that we are about to return to is not valid, set it | 418 | /* if the address that we are about to return to is not valid, set it |
408 | * to a valid address, if we have a current application or panic | 419 | * to a valid address, if we have a current application or panic |
@@ -429,24 +440,56 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
429 | 440 | ||
430 | /* Typical exception handling routines */ | 441 | /* Typical exception handling routines */ |
431 | 442 | ||
443 | #define EXPAND_LEN ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1) | ||
444 | |||
432 | void dump_bfin_trace_buffer(void) | 445 | void dump_bfin_trace_buffer(void) |
433 | { | 446 | { |
434 | int tflags; | 447 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
448 | int tflags, i = 0; | ||
449 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
450 | int j, index; | ||
451 | #endif | ||
452 | |||
435 | trace_buffer_save(tflags); | 453 | trace_buffer_save(tflags); |
436 | 454 | ||
455 | printk(KERN_EMERG "Hardware Trace:\n"); | ||
456 | |||
437 | if (likely(bfin_read_TBUFSTAT() & TBUFCNT)) { | 457 | if (likely(bfin_read_TBUFSTAT() & TBUFCNT)) { |
438 | int i; | 458 | for (; bfin_read_TBUFSTAT() & TBUFCNT; i++) { |
439 | printk(KERN_EMERG "Hardware Trace:\n"); | 459 | printk(KERN_EMERG "%4i Target : ", i); |
440 | for (i = 0; bfin_read_TBUFSTAT() & TBUFCNT; i++) { | ||
441 | printk(KERN_EMERG "%2i Target : ", i); | ||
442 | printk_address((unsigned long)bfin_read_TBUF()); | 460 | printk_address((unsigned long)bfin_read_TBUF()); |
443 | printk("\n" KERN_EMERG " Source : "); | 461 | printk("\n" KERN_EMERG " Source : "); |
444 | printk_address((unsigned long)bfin_read_TBUF()); | 462 | printk_address((unsigned long)bfin_read_TBUF()); |
445 | printk("\n"); | 463 | printk("\n"); |
446 | } | 464 | } |
447 | } | 465 | } |
448 | 466 | ||
467 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
468 | if (trace_buff_offset) | ||
469 | index = trace_buff_offset/4 - 1; | ||
470 | else | ||
471 | index = EXPAND_LEN; | ||
472 | |||
473 | j = (1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 128; | ||
474 | while (j) { | ||
475 | printk(KERN_EMERG "%4i Target : ", i); | ||
476 | printk_address(software_trace_buff[index]); | ||
477 | index -= 1; | ||
478 | if (index < 0 ) | ||
479 | index = EXPAND_LEN; | ||
480 | printk("\n" KERN_EMERG " Source : "); | ||
481 | printk_address(software_trace_buff[index]); | ||
482 | index -= 1; | ||
483 | if (index < 0) | ||
484 | index = EXPAND_LEN; | ||
485 | printk("\n"); | ||
486 | j--; | ||
487 | i++; | ||
488 | } | ||
489 | #endif | ||
490 | |||
449 | trace_buffer_restore(tflags); | 491 | trace_buffer_restore(tflags); |
492 | #endif | ||
450 | } | 493 | } |
451 | EXPORT_SYMBOL(dump_bfin_trace_buffer); | 494 | EXPORT_SYMBOL(dump_bfin_trace_buffer); |
452 | 495 | ||
@@ -510,7 +553,9 @@ void show_stack(struct task_struct *task, unsigned long *stack) | |||
510 | void dump_stack(void) | 553 | void dump_stack(void) |
511 | { | 554 | { |
512 | unsigned long stack; | 555 | unsigned long stack; |
556 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | ||
513 | int tflags; | 557 | int tflags; |
558 | #endif | ||
514 | trace_buffer_save(tflags); | 559 | trace_buffer_save(tflags); |
515 | dump_bfin_trace_buffer(); | 560 | dump_bfin_trace_buffer(); |
516 | show_stack(current, &stack); | 561 | show_stack(current, &stack); |
@@ -559,8 +604,7 @@ void dump_bfin_regs(struct pt_regs *fp, void *retaddr) | |||
559 | unsigned short x = 0; | 604 | unsigned short x = 0; |
560 | for (; i < ((unsigned int)retaddr & 0xFFFFFFF0) + 32; i += 2) { | 605 | for (; i < ((unsigned int)retaddr & 0xFFFFFFF0) + 32; i += 2) { |
561 | if (!(i & 0xF)) | 606 | if (!(i & 0xF)) |
562 | printk(KERN_EMERG "\n" KERN_EMERG | 607 | printk("\n" KERN_EMERG "0x%08x: ", i); |
563 | "0x%08x: ", i); | ||
564 | 608 | ||
565 | if (get_user(x, (unsigned short *)i)) | 609 | if (get_user(x, (unsigned short *)i)) |
566 | break; | 610 | break; |
@@ -655,6 +699,42 @@ asmlinkage int sys_bfin_spinlock(int *spinlock) | |||
655 | return ret; | 699 | return ret; |
656 | } | 700 | } |
657 | 701 | ||
702 | int bfin_request_exception(unsigned int exception, void (*handler)(void)) | ||
703 | { | ||
704 | void (*curr_handler)(void); | ||
705 | |||
706 | if (exception > 0x3F) | ||
707 | return -EINVAL; | ||
708 | |||
709 | curr_handler = ex_table[exception]; | ||
710 | |||
711 | if (curr_handler != ex_replaceable) | ||
712 | return -EBUSY; | ||
713 | |||
714 | ex_table[exception] = handler; | ||
715 | |||
716 | return 0; | ||
717 | } | ||
718 | EXPORT_SYMBOL(bfin_request_exception); | ||
719 | |||
720 | int bfin_free_exception(unsigned int exception, void (*handler)(void)) | ||
721 | { | ||
722 | void (*curr_handler)(void); | ||
723 | |||
724 | if (exception > 0x3F) | ||
725 | return -EINVAL; | ||
726 | |||
727 | curr_handler = ex_table[exception]; | ||
728 | |||
729 | if (curr_handler != handler) | ||
730 | return -EBUSY; | ||
731 | |||
732 | ex_table[exception] = ex_replaceable; | ||
733 | |||
734 | return 0; | ||
735 | } | ||
736 | EXPORT_SYMBOL(bfin_free_exception); | ||
737 | |||
658 | void panic_cplb_error(int cplb_panic, struct pt_regs *fp) | 738 | void panic_cplb_error(int cplb_panic, struct pt_regs *fp) |
659 | { | 739 | { |
660 | switch (cplb_panic) { | 740 | switch (cplb_panic) { |
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index fb53780247bc..eec43674a465 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -49,7 +49,8 @@ SECTIONS | |||
49 | TEXT_TEXT | 49 | TEXT_TEXT |
50 | SCHED_TEXT | 50 | SCHED_TEXT |
51 | LOCK_TEXT | 51 | LOCK_TEXT |
52 | *(.text.lock) | 52 | KPROBES_TEXT |
53 | *(.text.*) | ||
53 | *(.fixup) | 54 | *(.fixup) |
54 | 55 | ||
55 | . = ALIGN(16); | 56 | . = ALIGN(16); |
@@ -61,7 +62,7 @@ SECTIONS | |||
61 | __etext = .; | 62 | __etext = .; |
62 | } | 63 | } |
63 | 64 | ||
64 | RODATA | 65 | RO_DATA(PAGE_SIZE) |
65 | 66 | ||
66 | .data : | 67 | .data : |
67 | { | 68 | { |
@@ -72,50 +73,63 @@ SECTIONS | |||
72 | __sdata = .; | 73 | __sdata = .; |
73 | . = ALIGN(THREAD_SIZE); | 74 | . = ALIGN(THREAD_SIZE); |
74 | *(.data.init_task) | 75 | *(.data.init_task) |
75 | DATA_DATA | ||
76 | CONSTRUCTORS | ||
77 | 76 | ||
78 | . = ALIGN(32); | 77 | . = ALIGN(32); |
79 | *(.data.cacheline_aligned) | 78 | *(.data.cacheline_aligned) |
80 | 79 | ||
80 | DATA_DATA | ||
81 | *(.data.*) | ||
82 | CONSTRUCTORS | ||
83 | |||
81 | . = ALIGN(THREAD_SIZE); | 84 | . = ALIGN(THREAD_SIZE); |
82 | __edata = .; | 85 | __edata = .; |
83 | } | 86 | } |
84 | 87 | ||
85 | ___init_begin = .; | 88 | ___init_begin = .; |
86 | .init : | 89 | |
90 | .init.text : | ||
87 | { | 91 | { |
88 | . = ALIGN(PAGE_SIZE); | 92 | . = ALIGN(PAGE_SIZE); |
89 | __sinittext = .; | 93 | __sinittext = .; |
90 | *(.init.text) | 94 | *(.init.text) |
91 | __einittext = .; | 95 | __einittext = .; |
96 | } | ||
97 | .init.data : | ||
98 | { | ||
99 | . = ALIGN(16); | ||
92 | *(.init.data) | 100 | *(.init.data) |
101 | } | ||
102 | .init.setup : | ||
103 | { | ||
93 | . = ALIGN(16); | 104 | . = ALIGN(16); |
94 | ___setup_start = .; | 105 | ___setup_start = .; |
95 | *(.init.setup) | 106 | *(.init.setup) |
96 | ___setup_end = .; | 107 | ___setup_end = .; |
97 | ___start___param = .; | 108 | } |
98 | *(__param) | 109 | .initcall.init : |
99 | ___stop___param = .; | 110 | { |
100 | ___initcall_start = .; | 111 | ___initcall_start = .; |
101 | INITCALLS | 112 | INITCALLS |
102 | ___initcall_end = .; | 113 | ___initcall_end = .; |
114 | } | ||
115 | .con_initcall.init : | ||
116 | { | ||
103 | ___con_initcall_start = .; | 117 | ___con_initcall_start = .; |
104 | *(.con_initcall.init) | 118 | *(.con_initcall.init) |
105 | ___con_initcall_end = .; | 119 | ___con_initcall_end = .; |
106 | ___security_initcall_start = .; | 120 | } |
107 | *(.security_initcall.init) | 121 | SECURITY_INIT |
108 | ___security_initcall_end = .; | 122 | .init.ramfs : |
123 | { | ||
109 | . = ALIGN(4); | 124 | . = ALIGN(4); |
110 | ___initramfs_start = .; | 125 | ___initramfs_start = .; |
111 | *(.init.ramfs) | 126 | *(.init.ramfs) |
112 | ___initramfs_end = .; | 127 | ___initramfs_end = .; |
113 | . = ALIGN(4); | ||
114 | } | 128 | } |
115 | 129 | ||
116 | __l1_lma_start = .; | 130 | __l1_lma_start = .; |
117 | 131 | ||
118 | .text_l1 L1_CODE_START : AT(LOADADDR(.init) + SIZEOF(.init)) | 132 | .text_l1 L1_CODE_START : AT(LOADADDR(.init.ramfs) + SIZEOF(.init.ramfs)) |
119 | { | 133 | { |
120 | . = ALIGN(4); | 134 | . = ALIGN(4); |
121 | __stext_l1 = .; | 135 | __stext_l1 = .; |
@@ -164,13 +178,19 @@ SECTIONS | |||
164 | { | 178 | { |
165 | . = ALIGN(4); | 179 | . = ALIGN(4); |
166 | ___bss_start = .; | 180 | ___bss_start = .; |
167 | *(.bss) | 181 | *(.bss .bss.*) |
168 | *(COMMON) | 182 | *(COMMON) |
169 | . = ALIGN(4); | 183 | . = ALIGN(4); |
170 | ___bss_stop = .; | 184 | ___bss_stop = .; |
171 | __end = .; | 185 | __end = .; |
172 | } | 186 | } |
173 | 187 | ||
188 | STABS_DEBUG | ||
189 | |||
190 | DWARF_DEBUG | ||
191 | |||
192 | NOTES | ||
193 | |||
174 | /DISCARD/ : | 194 | /DISCARD/ : |
175 | { | 195 | { |
176 | *(.exit.text) | 196 | *(.exit.text) |
diff --git a/arch/blackfin/lib/memcmp.S b/arch/blackfin/lib/memcmp.S index b88c5d2d1ebe..219fa2877c62 100644 --- a/arch/blackfin/lib/memcmp.S +++ b/arch/blackfin/lib/memcmp.S | |||
@@ -61,7 +61,7 @@ ENTRY(_memcmp) | |||
61 | 61 | ||
62 | LSETUP (.Lquad_loop_s, .Lquad_loop_e) LC0=P1; | 62 | LSETUP (.Lquad_loop_s, .Lquad_loop_e) LC0=P1; |
63 | .Lquad_loop_s: | 63 | .Lquad_loop_s: |
64 | #ifdef ANOMALY_05000202 | 64 | #if ANOMALY_05000202 |
65 | R0 = [P0++]; | 65 | R0 = [P0++]; |
66 | R1 = [I0++]; | 66 | R1 = [I0++]; |
67 | #else | 67 | #else |
diff --git a/arch/blackfin/lib/memcpy.S b/arch/blackfin/lib/memcpy.S index 14a5585bbd02..2e6336492b4b 100644 --- a/arch/blackfin/lib/memcpy.S +++ b/arch/blackfin/lib/memcpy.S | |||
@@ -98,7 +98,7 @@ ENTRY(_memcpy) | |||
98 | R0 = R1; | 98 | R0 = R1; |
99 | I1 = P1; | 99 | I1 = P1; |
100 | R3 = [I1++]; | 100 | R3 = [I1++]; |
101 | #ifdef ANOMALY_05000202 | 101 | #if ANOMALY_05000202 |
102 | .Lword_loops: | 102 | .Lword_loops: |
103 | [P0++] = R3; | 103 | [P0++] = R3; |
104 | .Lword_loope: | 104 | .Lword_loope: |
diff --git a/arch/blackfin/lib/memmove.S b/arch/blackfin/lib/memmove.S index 6ee6e206e77c..33f8653145b7 100644 --- a/arch/blackfin/lib/memmove.S +++ b/arch/blackfin/lib/memmove.S | |||
@@ -70,7 +70,7 @@ ENTRY(_memmove) | |||
70 | R1 = [I0++]; | 70 | R1 = [I0++]; |
71 | 71 | ||
72 | LSETUP (.Lquad_loops, .Lquad_loope) LC0=P1; | 72 | LSETUP (.Lquad_loops, .Lquad_loope) LC0=P1; |
73 | #ifdef ANOMALY_05000202 | 73 | #if ANOMALY_05000202 |
74 | .Lquad_loops: | 74 | .Lquad_loops: |
75 | [P0++] = R1; | 75 | [P0++] = R1; |
76 | .Lquad_loope: | 76 | .Lquad_loope: |
@@ -102,7 +102,7 @@ ENTRY(_memmove) | |||
102 | R1 = B[P3--] (Z); | 102 | R1 = B[P3--] (Z); |
103 | CC = P2 == 0; | 103 | CC = P2 == 0; |
104 | IF CC JUMP .Lno_loop; | 104 | IF CC JUMP .Lno_loop; |
105 | #ifdef ANOMALY_05000245 | 105 | #if ANOMALY_05000245 |
106 | NOP; | 106 | NOP; |
107 | NOP; | 107 | NOP; |
108 | #endif | 108 | #endif |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 4545f363e641..a57b52d207cd 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -34,7 +34,9 @@ | |||
34 | #include <linux/spi/spi.h> | 34 | #include <linux/spi/spi.h> |
35 | #include <linux/spi/flash.h> | 35 | #include <linux/spi/flash.h> |
36 | #include <linux/usb_isp1362.h> | 36 | #include <linux/usb_isp1362.h> |
37 | #include <linux/pata_platform.h> | ||
37 | #include <linux/irq.h> | 38 | #include <linux/irq.h> |
39 | #include <asm/dma.h> | ||
38 | #include <asm/bfin5xx_spi.h> | 40 | #include <asm/bfin5xx_spi.h> |
39 | 41 | ||
40 | /* | 42 | /* |
@@ -93,7 +95,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
93 | /* the modalias must be the same as spi device driver name */ | 95 | /* the modalias must be the same as spi device driver name */ |
94 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 96 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
95 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 97 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
96 | .bus_num = 1, /* Framework bus number */ | 98 | .bus_num = 0, /* Framework bus number */ |
97 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 99 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
98 | .platform_data = &bfin_spi_flash_data, | 100 | .platform_data = &bfin_spi_flash_data, |
99 | .controller_data = &spi_flash_chip_info, | 101 | .controller_data = &spi_flash_chip_info, |
@@ -101,7 +103,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
101 | }, { | 103 | }, { |
102 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 104 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
103 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 105 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
104 | .bus_num = 1, /* Framework bus number */ | 106 | .bus_num = 0, /* Framework bus number */ |
105 | .chip_select = 2, /* Framework chip select. */ | 107 | .chip_select = 2, /* Framework chip select. */ |
106 | .platform_data = NULL, /* No spi_driver specific config */ | 108 | .platform_data = NULL, /* No spi_driver specific config */ |
107 | .controller_data = &spi_adc_chip_info, | 109 | .controller_data = &spi_adc_chip_info, |
@@ -110,24 +112,40 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
110 | { | 112 | { |
111 | .modalias = "ad1836-spi", | 113 | .modalias = "ad1836-spi", |
112 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 114 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
113 | .bus_num = 1, | 115 | .bus_num = 0, |
114 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 116 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
115 | .controller_data = &ad1836_spi_chip_info, | 117 | .controller_data = &ad1836_spi_chip_info, |
116 | }, | 118 | }, |
117 | #endif | 119 | #endif |
118 | }; | 120 | }; |
119 | 121 | ||
122 | /* SPI (0) */ | ||
123 | static struct resource bfin_spi0_resource[] = { | ||
124 | [0] = { | ||
125 | .start = SPI0_REGBASE, | ||
126 | .end = SPI0_REGBASE + 0xFF, | ||
127 | .flags = IORESOURCE_MEM, | ||
128 | }, | ||
129 | [1] = { | ||
130 | .start = CH_SPI, | ||
131 | .end = CH_SPI, | ||
132 | .flags = IORESOURCE_IRQ, | ||
133 | } | ||
134 | }; | ||
135 | |||
120 | /* SPI controller data */ | 136 | /* SPI controller data */ |
121 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 137 | static struct bfin5xx_spi_master bfin_spi0_info = { |
122 | .num_chipselect = 8, | 138 | .num_chipselect = 8, |
123 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 139 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
124 | }; | 140 | }; |
125 | 141 | ||
126 | static struct platform_device spi_bfin_master_device = { | 142 | static struct platform_device bfin_spi0_device = { |
127 | .name = "bfin-spi-master", | 143 | .name = "bfin-spi", |
128 | .id = 1, /* Bus number */ | 144 | .id = 0, /* Bus number */ |
145 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
146 | .resource = bfin_spi0_resource, | ||
129 | .dev = { | 147 | .dev = { |
130 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 148 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
131 | }, | 149 | }, |
132 | }; | 150 | }; |
133 | #endif /* spi master and devices */ | 151 | #endif /* spi master and devices */ |
@@ -227,6 +245,43 @@ static struct platform_device isp1362_hcd_device = { | |||
227 | }; | 245 | }; |
228 | #endif | 246 | #endif |
229 | 247 | ||
248 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
249 | #define PATA_INT 38 | ||
250 | |||
251 | static struct pata_platform_info bfin_pata_platform_data = { | ||
252 | .ioport_shift = 2, | ||
253 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
254 | }; | ||
255 | |||
256 | static struct resource bfin_pata_resources[] = { | ||
257 | { | ||
258 | .start = 0x2030C000, | ||
259 | .end = 0x2030C01F, | ||
260 | .flags = IORESOURCE_MEM, | ||
261 | }, | ||
262 | { | ||
263 | .start = 0x2030D018, | ||
264 | .end = 0x2030D01B, | ||
265 | .flags = IORESOURCE_MEM, | ||
266 | }, | ||
267 | { | ||
268 | .start = PATA_INT, | ||
269 | .end = PATA_INT, | ||
270 | .flags = IORESOURCE_IRQ, | ||
271 | }, | ||
272 | }; | ||
273 | |||
274 | static struct platform_device bfin_pata_device = { | ||
275 | .name = "pata_platform", | ||
276 | .id = -1, | ||
277 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
278 | .resource = bfin_pata_resources, | ||
279 | .dev = { | ||
280 | .platform_data = &bfin_pata_platform_data, | ||
281 | } | ||
282 | }; | ||
283 | #endif | ||
284 | |||
230 | static struct platform_device *cm_bf533_devices[] __initdata = { | 285 | static struct platform_device *cm_bf533_devices[] __initdata = { |
231 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 286 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
232 | &bfin_uart_device, | 287 | &bfin_uart_device, |
@@ -250,7 +305,11 @@ static struct platform_device *cm_bf533_devices[] __initdata = { | |||
250 | #endif | 305 | #endif |
251 | 306 | ||
252 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 307 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
253 | &spi_bfin_master_device, | 308 | &bfin_spi0_device, |
309 | #endif | ||
310 | |||
311 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
312 | &bfin_pata_device, | ||
254 | #endif | 313 | #endif |
255 | }; | 314 | }; |
256 | 315 | ||
@@ -261,6 +320,10 @@ static int __init cm_bf533_init(void) | |||
261 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 320 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
262 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 321 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
263 | #endif | 322 | #endif |
323 | |||
324 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
325 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
326 | #endif | ||
264 | return 0; | 327 | return 0; |
265 | } | 328 | } |
266 | 329 | ||
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 0000b8f1239c..5c1e35d3c012 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -35,7 +35,9 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/usb_isp1362.h> | 37 | #include <linux/usb_isp1362.h> |
38 | #include <linux/pata_platform.h> | ||
38 | #include <linux/irq.h> | 39 | #include <linux/irq.h> |
40 | #include <asm/dma.h> | ||
39 | #include <asm/bfin5xx_spi.h> | 41 | #include <asm/bfin5xx_spi.h> |
40 | 42 | ||
41 | /* | 43 | /* |
@@ -50,6 +52,12 @@ static struct platform_device rtc_device = { | |||
50 | }; | 52 | }; |
51 | #endif | 53 | #endif |
52 | 54 | ||
55 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
56 | static struct platform_device bfin_fb_adv7393_device = { | ||
57 | .name = "bfin-adv7393", | ||
58 | }; | ||
59 | #endif | ||
60 | |||
53 | /* | 61 | /* |
54 | * USB-LAN EzExtender board | 62 | * USB-LAN EzExtender board |
55 | * Driver needs to know address, irq and flag pin. | 63 | * Driver needs to know address, irq and flag pin. |
@@ -131,7 +139,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
131 | /* the modalias must be the same as spi device driver name */ | 139 | /* the modalias must be the same as spi device driver name */ |
132 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 140 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
133 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 141 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
134 | .bus_num = 1, /* Framework bus number */ | 142 | .bus_num = 0, /* Framework bus number */ |
135 | .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/ | 143 | .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/ |
136 | .platform_data = &bfin_spi_flash_data, | 144 | .platform_data = &bfin_spi_flash_data, |
137 | .controller_data = &spi_flash_chip_info, | 145 | .controller_data = &spi_flash_chip_info, |
@@ -143,7 +151,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
143 | { | 151 | { |
144 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 152 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
145 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 153 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
146 | .bus_num = 1, /* Framework bus number */ | 154 | .bus_num = 0, /* Framework bus number */ |
147 | .chip_select = 1, /* Framework chip select. */ | 155 | .chip_select = 1, /* Framework chip select. */ |
148 | .platform_data = NULL, /* No spi_driver specific config */ | 156 | .platform_data = NULL, /* No spi_driver specific config */ |
149 | .controller_data = &spi_adc_chip_info, | 157 | .controller_data = &spi_adc_chip_info, |
@@ -154,24 +162,40 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
154 | { | 162 | { |
155 | .modalias = "ad1836-spi", | 163 | .modalias = "ad1836-spi", |
156 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 164 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
157 | .bus_num = 1, | 165 | .bus_num = 0, |
158 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 166 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
159 | .controller_data = &ad1836_spi_chip_info, | 167 | .controller_data = &ad1836_spi_chip_info, |
160 | }, | 168 | }, |
161 | #endif | 169 | #endif |
162 | }; | 170 | }; |
163 | 171 | ||
172 | /* SPI (0) */ | ||
173 | static struct resource bfin_spi0_resource[] = { | ||
174 | [0] = { | ||
175 | .start = SPI0_REGBASE, | ||
176 | .end = SPI0_REGBASE + 0xFF, | ||
177 | .flags = IORESOURCE_MEM, | ||
178 | }, | ||
179 | [1] = { | ||
180 | .start = CH_SPI, | ||
181 | .end = CH_SPI, | ||
182 | .flags = IORESOURCE_IRQ, | ||
183 | } | ||
184 | }; | ||
185 | |||
164 | /* SPI controller data */ | 186 | /* SPI controller data */ |
165 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 187 | static struct bfin5xx_spi_master bfin_spi0_info = { |
166 | .num_chipselect = 8, | 188 | .num_chipselect = 8, |
167 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 189 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
168 | }; | 190 | }; |
169 | 191 | ||
170 | static struct platform_device spi_bfin_master_device = { | 192 | static struct platform_device bfin_spi0_device = { |
171 | .name = "bfin-spi-master", | 193 | .name = "bfin-spi", |
172 | .id = 1, /* Bus number */ | 194 | .id = 0, /* Bus number */ |
195 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
196 | .resource = bfin_spi0_resource, | ||
173 | .dev = { | 197 | .dev = { |
174 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 198 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
175 | }, | 199 | }, |
176 | }; | 200 | }; |
177 | #endif /* spi master and devices */ | 201 | #endif /* spi master and devices */ |
@@ -193,13 +217,54 @@ static struct platform_device bfin_uart_device = { | |||
193 | }; | 217 | }; |
194 | #endif | 218 | #endif |
195 | 219 | ||
220 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
221 | #define PATA_INT 55 | ||
222 | |||
223 | static struct pata_platform_info bfin_pata_platform_data = { | ||
224 | .ioport_shift = 1, | ||
225 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
226 | }; | ||
227 | |||
228 | static struct resource bfin_pata_resources[] = { | ||
229 | { | ||
230 | .start = 0x20314020, | ||
231 | .end = 0x2031403F, | ||
232 | .flags = IORESOURCE_MEM, | ||
233 | }, | ||
234 | { | ||
235 | .start = 0x2031401C, | ||
236 | .end = 0x2031401F, | ||
237 | .flags = IORESOURCE_MEM, | ||
238 | }, | ||
239 | { | ||
240 | .start = PATA_INT, | ||
241 | .end = PATA_INT, | ||
242 | .flags = IORESOURCE_IRQ, | ||
243 | }, | ||
244 | }; | ||
245 | |||
246 | static struct platform_device bfin_pata_device = { | ||
247 | .name = "pata_platform", | ||
248 | .id = -1, | ||
249 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
250 | .resource = bfin_pata_resources, | ||
251 | .dev = { | ||
252 | .platform_data = &bfin_pata_platform_data, | ||
253 | } | ||
254 | }; | ||
255 | #endif | ||
256 | |||
196 | static struct platform_device *ezkit_devices[] __initdata = { | 257 | static struct platform_device *ezkit_devices[] __initdata = { |
197 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 258 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
198 | &smc91x_device, | 259 | &smc91x_device, |
199 | #endif | 260 | #endif |
200 | 261 | ||
201 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 262 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
202 | &spi_bfin_master_device, | 263 | &bfin_spi0_device, |
264 | #endif | ||
265 | |||
266 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
267 | &bfin_fb_adv7393_device, | ||
203 | #endif | 268 | #endif |
204 | 269 | ||
205 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 270 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
@@ -209,6 +274,10 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
209 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 274 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
210 | &bfin_uart_device, | 275 | &bfin_uart_device, |
211 | #endif | 276 | #endif |
277 | |||
278 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
279 | &bfin_pata_device, | ||
280 | #endif | ||
212 | }; | 281 | }; |
213 | 282 | ||
214 | static int __init ezkit_init(void) | 283 | static int __init ezkit_init(void) |
@@ -218,6 +287,10 @@ static int __init ezkit_init(void) | |||
218 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 287 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
219 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 288 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
220 | #endif | 289 | #endif |
290 | |||
291 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
292 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
293 | #endif | ||
221 | return 0; | 294 | return 0; |
222 | } | 295 | } |
223 | 296 | ||
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index a9143c4cbdcd..8975e06ea158 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -37,8 +37,11 @@ | |||
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <linux/pata_platform.h> | ||
40 | #include <linux/irq.h> | 41 | #include <linux/irq.h> |
42 | #include <asm/dma.h> | ||
41 | #include <asm/bfin5xx_spi.h> | 43 | #include <asm/bfin5xx_spi.h> |
44 | #include <asm/reboot.h> | ||
42 | 45 | ||
43 | /* | 46 | /* |
44 | * Name the Board for the /proc/cpuinfo | 47 | * Name the Board for the /proc/cpuinfo |
@@ -77,6 +80,12 @@ static struct platform_device smc91x_device = { | |||
77 | }; | 80 | }; |
78 | #endif | 81 | #endif |
79 | 82 | ||
83 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
84 | static struct platform_device bfin_fb_adv7393_device = { | ||
85 | .name = "bfin-adv7393", | ||
86 | }; | ||
87 | #endif | ||
88 | |||
80 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 89 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
81 | static struct resource net2272_bfin_resources[] = { | 90 | static struct resource net2272_bfin_resources[] = { |
82 | { | 91 | { |
@@ -177,7 +186,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
177 | /* the modalias must be the same as spi device driver name */ | 186 | /* the modalias must be the same as spi device driver name */ |
178 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 187 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
179 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 188 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
180 | .bus_num = 1, /* Framework bus number */ | 189 | .bus_num = 0, /* Framework bus number */ |
181 | .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/ | 190 | .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/ |
182 | .platform_data = &bfin_spi_flash_data, | 191 | .platform_data = &bfin_spi_flash_data, |
183 | .controller_data = &spi_flash_chip_info, | 192 | .controller_data = &spi_flash_chip_info, |
@@ -189,7 +198,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
189 | { | 198 | { |
190 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 199 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
191 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 200 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
192 | .bus_num = 1, /* Framework bus number */ | 201 | .bus_num = 0, /* Framework bus number */ |
193 | .chip_select = 1, /* Framework chip select. */ | 202 | .chip_select = 1, /* Framework chip select. */ |
194 | .platform_data = NULL, /* No spi_driver specific config */ | 203 | .platform_data = NULL, /* No spi_driver specific config */ |
195 | .controller_data = &spi_adc_chip_info, | 204 | .controller_data = &spi_adc_chip_info, |
@@ -200,7 +209,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
200 | { | 209 | { |
201 | .modalias = "ad1836-spi", | 210 | .modalias = "ad1836-spi", |
202 | .max_speed_hz = 31250000, /* max spi clock (SCK) speed in HZ */ | 211 | .max_speed_hz = 31250000, /* max spi clock (SCK) speed in HZ */ |
203 | .bus_num = 1, | 212 | .bus_num = 0, |
204 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 213 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
205 | .controller_data = &ad1836_spi_chip_info, | 214 | .controller_data = &ad1836_spi_chip_info, |
206 | }, | 215 | }, |
@@ -210,7 +219,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
210 | { | 219 | { |
211 | .modalias = "spi_mmc_dummy", | 220 | .modalias = "spi_mmc_dummy", |
212 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 221 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
213 | .bus_num = 1, | 222 | .bus_num = 0, |
214 | .chip_select = 0, | 223 | .chip_select = 0, |
215 | .platform_data = NULL, | 224 | .platform_data = NULL, |
216 | .controller_data = &spi_mmc_chip_info, | 225 | .controller_data = &spi_mmc_chip_info, |
@@ -219,7 +228,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
219 | { | 228 | { |
220 | .modalias = "spi_mmc", | 229 | .modalias = "spi_mmc", |
221 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 230 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
222 | .bus_num = 1, | 231 | .bus_num = 0, |
223 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 232 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, |
224 | .platform_data = NULL, | 233 | .platform_data = NULL, |
225 | .controller_data = &spi_mmc_chip_info, | 234 | .controller_data = &spi_mmc_chip_info, |
@@ -231,16 +240,16 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
231 | { | 240 | { |
232 | .modalias = "fxs-spi", | 241 | .modalias = "fxs-spi", |
233 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 242 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
234 | .bus_num = 1, | 243 | .bus_num = 0, |
235 | .chip_select = 3, | 244 | .chip_select = 8 - CONFIG_J11_JUMPER, |
236 | .controller_data = &spi_si3xxx_chip_info, | 245 | .controller_data = &spi_si3xxx_chip_info, |
237 | .mode = SPI_MODE_3, | 246 | .mode = SPI_MODE_3, |
238 | }, | 247 | }, |
239 | { | 248 | { |
240 | .modalias = "fxo-spi", | 249 | .modalias = "fxo-spi", |
241 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 250 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
242 | .bus_num = 1, | 251 | .bus_num = 0, |
243 | .chip_select = 2, | 252 | .chip_select = 8 - CONFIG_J19_JUMPER, |
244 | .controller_data = &spi_si3xxx_chip_info, | 253 | .controller_data = &spi_si3xxx_chip_info, |
245 | .mode = SPI_MODE_3, | 254 | .mode = SPI_MODE_3, |
246 | }, | 255 | }, |
@@ -250,7 +259,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
250 | { | 259 | { |
251 | .modalias = "ad5304_spi", | 260 | .modalias = "ad5304_spi", |
252 | .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */ | 261 | .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */ |
253 | .bus_num = 1, | 262 | .bus_num = 0, |
254 | .chip_select = 2, | 263 | .chip_select = 2, |
255 | .platform_data = NULL, | 264 | .platform_data = NULL, |
256 | .controller_data = &ad5304_chip_info, | 265 | .controller_data = &ad5304_chip_info, |
@@ -259,17 +268,33 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
259 | #endif | 268 | #endif |
260 | }; | 269 | }; |
261 | 270 | ||
271 | /* SPI (0) */ | ||
272 | static struct resource bfin_spi0_resource[] = { | ||
273 | [0] = { | ||
274 | .start = SPI0_REGBASE, | ||
275 | .end = SPI0_REGBASE + 0xFF, | ||
276 | .flags = IORESOURCE_MEM, | ||
277 | }, | ||
278 | [1] = { | ||
279 | .start = CH_SPI, | ||
280 | .end = CH_SPI, | ||
281 | .flags = IORESOURCE_IRQ, | ||
282 | } | ||
283 | }; | ||
284 | |||
262 | /* SPI controller data */ | 285 | /* SPI controller data */ |
263 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 286 | static struct bfin5xx_spi_master bfin_spi0_info = { |
264 | .num_chipselect = 8, | 287 | .num_chipselect = 8, |
265 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 288 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
266 | }; | 289 | }; |
267 | 290 | ||
268 | static struct platform_device spi_bfin_master_device = { | 291 | static struct platform_device bfin_spi0_device = { |
269 | .name = "bfin-spi-master", | 292 | .name = "bfin-spi", |
270 | .id = 1, /* Bus number */ | 293 | .id = 0, /* Bus number */ |
294 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
295 | .resource = bfin_spi0_resource, | ||
271 | .dev = { | 296 | .dev = { |
272 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 297 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
273 | }, | 298 | }, |
274 | }; | 299 | }; |
275 | #endif /* spi master and devices */ | 300 | #endif /* spi master and devices */ |
@@ -309,6 +334,43 @@ static struct platform_device bfin_sport1_uart_device = { | |||
309 | }; | 334 | }; |
310 | #endif | 335 | #endif |
311 | 336 | ||
337 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
338 | #define PATA_INT 55 | ||
339 | |||
340 | static struct pata_platform_info bfin_pata_platform_data = { | ||
341 | .ioport_shift = 1, | ||
342 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
343 | }; | ||
344 | |||
345 | static struct resource bfin_pata_resources[] = { | ||
346 | { | ||
347 | .start = 0x20314020, | ||
348 | .end = 0x2031403F, | ||
349 | .flags = IORESOURCE_MEM, | ||
350 | }, | ||
351 | { | ||
352 | .start = 0x2031401C, | ||
353 | .end = 0x2031401F, | ||
354 | .flags = IORESOURCE_MEM, | ||
355 | }, | ||
356 | { | ||
357 | .start = PATA_INT, | ||
358 | .end = PATA_INT, | ||
359 | .flags = IORESOURCE_IRQ, | ||
360 | }, | ||
361 | }; | ||
362 | |||
363 | static struct platform_device bfin_pata_device = { | ||
364 | .name = "pata_platform", | ||
365 | .id = -1, | ||
366 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
367 | .resource = bfin_pata_resources, | ||
368 | .dev = { | ||
369 | .platform_data = &bfin_pata_platform_data, | ||
370 | } | ||
371 | }; | ||
372 | #endif | ||
373 | |||
312 | static struct platform_device *stamp_devices[] __initdata = { | 374 | static struct platform_device *stamp_devices[] __initdata = { |
313 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 375 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
314 | &rtc_device, | 376 | &rtc_device, |
@@ -318,12 +380,16 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
318 | &smc91x_device, | 380 | &smc91x_device, |
319 | #endif | 381 | #endif |
320 | 382 | ||
383 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
384 | &bfin_fb_adv7393_device, | ||
385 | #endif | ||
386 | |||
321 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 387 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
322 | &net2272_bfin_device, | 388 | &net2272_bfin_device, |
323 | #endif | 389 | #endif |
324 | 390 | ||
325 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 391 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
326 | &spi_bfin_master_device, | 392 | &bfin_spi0_device, |
327 | #endif | 393 | #endif |
328 | 394 | ||
329 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 395 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
@@ -334,6 +400,10 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
334 | &bfin_sport0_uart_device, | 400 | &bfin_sport0_uart_device, |
335 | &bfin_sport1_uart_device, | 401 | &bfin_sport1_uart_device, |
336 | #endif | 402 | #endif |
403 | |||
404 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
405 | &bfin_pata_device, | ||
406 | #endif | ||
337 | }; | 407 | }; |
338 | 408 | ||
339 | static int __init stamp_init(void) | 409 | static int __init stamp_init(void) |
@@ -355,8 +425,23 @@ static int __init stamp_init(void) | |||
355 | #endif | 425 | #endif |
356 | 426 | ||
357 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 427 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
358 | return spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 428 | spi_register_board_info(bfin_spi_board_info, |
429 | ARRAY_SIZE(bfin_spi_board_info)); | ||
430 | #endif | ||
431 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
432 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
359 | #endif | 433 | #endif |
434 | return 0; | ||
360 | } | 435 | } |
361 | 436 | ||
362 | arch_initcall(stamp_init); | 437 | arch_initcall(stamp_init); |
438 | |||
439 | void native_machine_restart(char *cmd) | ||
440 | { | ||
441 | #if defined(CONFIG_BFIN_SHARED_FLASH_ENET) | ||
442 | # define BIT_TO_SET (1 << CONFIG_ENET_FLASH_PIN) | ||
443 | bfin_write_FIO_INEN(~BIT_TO_SET); | ||
444 | bfin_write_FIO_DIR(BIT_TO_SET); | ||
445 | bfin_write_FIO_FLAG_C(BIT_TO_SET); | ||
446 | #endif | ||
447 | } | ||
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S index 7dd0e9c3a936..1ded945a6fa0 100644 --- a/arch/blackfin/mach-bf533/head.S +++ b/arch/blackfin/mach-bf533/head.S | |||
@@ -32,11 +32,9 @@ | |||
32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
34 | #if CONFIG_BFIN_KERNEL_CLOCK | 34 | #if CONFIG_BFIN_KERNEL_CLOCK |
35 | #include <asm/mach-common/clocks.h> | ||
35 | #include <asm/mach/mem_init.h> | 36 | #include <asm/mach/mem_init.h> |
36 | #endif | 37 | #endif |
37 | #if CONFIG_DEBUG_KERNEL_START | ||
38 | #include <asm/mach-common/def_LPBlackfin.h> | ||
39 | #endif | ||
40 | 38 | ||
41 | .global __rambase | 39 | .global __rambase |
42 | .global __ramstart | 40 | .global __ramstart |
@@ -52,10 +50,12 @@ __INIT | |||
52 | ENTRY(__start) | 50 | ENTRY(__start) |
53 | /* R0: argument of command line string, passed from uboot, save it */ | 51 | /* R0: argument of command line string, passed from uboot, save it */ |
54 | R7 = R0; | 52 | R7 = R0; |
55 | /* Set the SYSCFG register: | 53 | /* Enable Cycle Counter and Nesting Of Interrupts */ |
56 | * Enable Cycle Counter and Nesting Of Interrupts (3rd Bit) | 54 | #ifdef CONFIG_BFIN_SCRATCH_REG_CYCLES |
57 | */ | 55 | R0 = SYSCFG_SNEN; |
58 | R0 = 0x36; | 56 | #else |
57 | R0 = SYSCFG_SNEN | SYSCFG_CCEN; | ||
58 | #endif | ||
59 | SYSCFG = R0; | 59 | SYSCFG = R0; |
60 | R0 = 0; | 60 | R0 = 0; |
61 | 61 | ||
@@ -97,40 +97,10 @@ ENTRY(__start) | |||
97 | M2 = r0; | 97 | M2 = r0; |
98 | M3 = r0; | 98 | M3 = r0; |
99 | 99 | ||
100 | trace_buffer_start(p0,r0); | 100 | trace_buffer_init(p0,r0); |
101 | P0 = R1; | 101 | P0 = R1; |
102 | R0 = R1; | 102 | R0 = R1; |
103 | 103 | ||
104 | #if CONFIG_DEBUG_KERNEL_START | ||
105 | |||
106 | /* | ||
107 | * Set up a temporary Event Vector Table, so if something bad happens before | ||
108 | * the kernel is fully started, it doesn't vector off into the bootloaders | ||
109 | * table | ||
110 | */ | ||
111 | P0.l = lo(EVT2); | ||
112 | P0.h = hi(EVT2); | ||
113 | P1.l = lo(EVT15); | ||
114 | P1.h = hi(EVT15); | ||
115 | P2.l = debug_kernel_start_trap; | ||
116 | P2.h = debug_kernel_start_trap; | ||
117 | |||
118 | RTS = P2; | ||
119 | RTI = P2; | ||
120 | RTX = P2; | ||
121 | RTN = P2; | ||
122 | RTE = P2; | ||
123 | |||
124 | .Lfill_temp_vector_table: | ||
125 | [P0++] = P2; /* Core Event Vector Table */ | ||
126 | CC = P0 == P1; | ||
127 | if !CC JUMP .Lfill_temp_vector_table | ||
128 | P0 = r0; | ||
129 | P1 = r0; | ||
130 | P2 = r0; | ||
131 | |||
132 | #endif | ||
133 | |||
134 | p0.h = hi(FIO_MASKA_C); | 104 | p0.h = hi(FIO_MASKA_C); |
135 | p0.l = lo(FIO_MASKA_C); | 105 | p0.l = lo(FIO_MASKA_C); |
136 | r0 = 0xFFFF(Z); | 106 | r0 = 0xFFFF(Z); |
@@ -144,38 +114,38 @@ ENTRY(__start) | |||
144 | ssync; | 114 | ssync; |
145 | 115 | ||
146 | /* Turn off the icache */ | 116 | /* Turn off the icache */ |
147 | p0.l = (IMEM_CONTROL & 0xFFFF); | 117 | p0.l = LO(IMEM_CONTROL); |
148 | p0.h = (IMEM_CONTROL >> 16); | 118 | p0.h = HI(IMEM_CONTROL); |
149 | R1 = [p0]; | 119 | R1 = [p0]; |
150 | R0 = ~ENICPLB; | 120 | R0 = ~ENICPLB; |
151 | R0 = R0 & R1; | 121 | R0 = R0 & R1; |
152 | 122 | ||
153 | /* Anomaly 05000125 */ | 123 | /* Anomaly 05000125 */ |
154 | #ifdef ANOMALY_05000125 | 124 | #if ANOMALY_05000125 |
155 | CLI R2; | 125 | CLI R2; |
156 | SSYNC; | 126 | SSYNC; |
157 | #endif | 127 | #endif |
158 | [p0] = R0; | 128 | [p0] = R0; |
159 | SSYNC; | 129 | SSYNC; |
160 | #ifdef ANOMALY_05000125 | 130 | #if ANOMALY_05000125 |
161 | STI R2; | 131 | STI R2; |
162 | #endif | 132 | #endif |
163 | 133 | ||
164 | /* Turn off the dcache */ | 134 | /* Turn off the dcache */ |
165 | p0.l = (DMEM_CONTROL & 0xFFFF); | 135 | p0.l = LO(DMEM_CONTROL); |
166 | p0.h = (DMEM_CONTROL >> 16); | 136 | p0.h = HI(DMEM_CONTROL); |
167 | R1 = [p0]; | 137 | R1 = [p0]; |
168 | R0 = ~ENDCPLB; | 138 | R0 = ~ENDCPLB; |
169 | R0 = R0 & R1; | 139 | R0 = R0 & R1; |
170 | 140 | ||
171 | /* Anomaly 05000125 */ | 141 | /* Anomaly 05000125 */ |
172 | #ifdef ANOMALY_05000125 | 142 | #if ANOMALY_05000125 |
173 | CLI R2; | 143 | CLI R2; |
174 | SSYNC; | 144 | SSYNC; |
175 | #endif | 145 | #endif |
176 | [p0] = R0; | 146 | [p0] = R0; |
177 | SSYNC; | 147 | SSYNC; |
178 | #ifdef ANOMALY_05000125 | 148 | #if ANOMALY_05000125 |
179 | STI R2; | 149 | STI R2; |
180 | #endif | 150 | #endif |
181 | 151 | ||
@@ -211,6 +181,12 @@ ENTRY(__start) | |||
211 | fp = sp; | 181 | fp = sp; |
212 | usp = sp; | 182 | usp = sp; |
213 | 183 | ||
184 | #ifdef CONFIG_EARLY_PRINTK | ||
185 | SP += -12; | ||
186 | call _init_early_exception_vectors; | ||
187 | SP += 12; | ||
188 | #endif | ||
189 | |||
214 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 190 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
215 | call _bf53x_relocate_l1_mem; | 191 | call _bf53x_relocate_l1_mem; |
216 | #if CONFIG_BFIN_KERNEL_CLOCK | 192 | #if CONFIG_BFIN_KERNEL_CLOCK |
@@ -264,7 +240,7 @@ ENTRY(__start) | |||
264 | p0.l = .LWAIT_HERE; | 240 | p0.l = .LWAIT_HERE; |
265 | p0.h = .LWAIT_HERE; | 241 | p0.h = .LWAIT_HERE; |
266 | reti = p0; | 242 | reti = p0; |
267 | #if defined(ANOMALY_05000281) | 243 | #if ANOMALY_05000281 |
268 | nop; nop; nop; | 244 | nop; nop; nop; |
269 | #endif | 245 | #endif |
270 | rti; | 246 | rti; |
@@ -417,8 +393,8 @@ ENTRY(_start_dma_code) | |||
417 | w[p0] = r0.l; | 393 | w[p0] = r0.l; |
418 | ssync; | 394 | ssync; |
419 | 395 | ||
420 | p0.l = (EBIU_SDBCTL & 0xFFFF); | 396 | p0.l = LO(EBIU_SDBCTL); |
421 | p0.h = (EBIU_SDBCTL >> 16); /* SDRAM Memory Bank Control Register */ | 397 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ |
422 | r0 = mem_SDBCTL; | 398 | r0 = mem_SDBCTL; |
423 | w[p0] = r0.l; | 399 | w[p0] = r0.l; |
424 | ssync; | 400 | ssync; |
@@ -456,276 +432,6 @@ ENTRY(_start_dma_code) | |||
456 | ENDPROC(_start_dma_code) | 432 | ENDPROC(_start_dma_code) |
457 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | 433 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
458 | 434 | ||
459 | ENTRY(_bfin_reset) | ||
460 | /* No more interrupts to be handled*/ | ||
461 | CLI R6; | ||
462 | SSYNC; | ||
463 | |||
464 | #if defined(CONFIG_BFIN_SHARED_FLASH_ENET) | ||
465 | p0.h = hi(FIO_INEN); | ||
466 | p0.l = lo(FIO_INEN); | ||
467 | r0.l = ~(1 << CONFIG_ENET_FLASH_PIN); | ||
468 | w[p0] = r0.l; | ||
469 | |||
470 | p0.h = hi(FIO_DIR); | ||
471 | p0.l = lo(FIO_DIR); | ||
472 | r0.l = (1 << CONFIG_ENET_FLASH_PIN); | ||
473 | w[p0] = r0.l; | ||
474 | |||
475 | p0.h = hi(FIO_FLAG_C); | ||
476 | p0.l = lo(FIO_FLAG_C); | ||
477 | r0.l = (1 << CONFIG_ENET_FLASH_PIN); | ||
478 | w[p0] = r0.l; | ||
479 | #endif | ||
480 | |||
481 | /* Clear the IMASK register */ | ||
482 | p0.h = hi(IMASK); | ||
483 | p0.l = lo(IMASK); | ||
484 | r0 = 0x0; | ||
485 | [p0] = r0; | ||
486 | |||
487 | /* Clear the ILAT register */ | ||
488 | p0.h = hi(ILAT); | ||
489 | p0.l = lo(ILAT); | ||
490 | r0 = [p0]; | ||
491 | [p0] = r0; | ||
492 | SSYNC; | ||
493 | |||
494 | /* make sure SYSCR is set to use BMODE */ | ||
495 | P0.h = hi(SYSCR); | ||
496 | P0.l = lo(SYSCR); | ||
497 | R0.l = 0x0; | ||
498 | W[P0] = R0.l; | ||
499 | SSYNC; | ||
500 | |||
501 | /* issue a system soft reset */ | ||
502 | P1.h = hi(SWRST); | ||
503 | P1.l = lo(SWRST); | ||
504 | R1.l = 0x0007; | ||
505 | W[P1] = R1; | ||
506 | SSYNC; | ||
507 | |||
508 | /* clear system soft reset */ | ||
509 | R0.l = 0x0000; | ||
510 | W[P0] = R0; | ||
511 | SSYNC; | ||
512 | |||
513 | /* issue core reset */ | ||
514 | raise 1; | ||
515 | |||
516 | RTS; | ||
517 | ENDPROC(_bfin_reset) | ||
518 | |||
519 | #if CONFIG_DEBUG_KERNEL_START | ||
520 | debug_kernel_start_trap: | ||
521 | /* Set up a temp stack in L1 - SDRAM might not be working */ | ||
522 | P0.L = lo(L1_DATA_A_START + 0x100); | ||
523 | P0.H = hi(L1_DATA_A_START + 0x100); | ||
524 | SP = P0; | ||
525 | |||
526 | /* Make sure the Clocks are the way I think they should be */ | ||
527 | r0 = CONFIG_VCO_MULT & 63; /* Load the VCO multiplier */ | ||
528 | r0 = r0 << 9; /* Shift it over, */ | ||
529 | r1 = CLKIN_HALF; /* Do we need to divide CLKIN by 2?*/ | ||
530 | r0 = r1 | r0; | ||
531 | r1 = PLL_BYPASS; /* Bypass the PLL? */ | ||
532 | r1 = r1 << 8; /* Shift it over */ | ||
533 | r0 = r1 | r0; /* add them all together */ | ||
534 | |||
535 | p0.h = hi(PLL_CTL); | ||
536 | p0.l = lo(PLL_CTL); /* Load the address */ | ||
537 | cli r2; /* Disable interrupts */ | ||
538 | ssync; | ||
539 | w[p0] = r0.l; /* Set the value */ | ||
540 | idle; /* Wait for the PLL to stablize */ | ||
541 | sti r2; /* Enable interrupts */ | ||
542 | |||
543 | .Lcheck_again1: | ||
544 | p0.h = hi(PLL_STAT); | ||
545 | p0.l = lo(PLL_STAT); | ||
546 | R0 = W[P0](Z); | ||
547 | CC = BITTST(R0,5); | ||
548 | if ! CC jump .Lcheck_again1; | ||
549 | |||
550 | /* Configure SCLK & CCLK Dividers */ | ||
551 | r0 = (CONFIG_CCLK_ACT_DIV | CONFIG_SCLK_DIV); | ||
552 | p0.h = hi(PLL_DIV); | ||
553 | p0.l = lo(PLL_DIV); | ||
554 | w[p0] = r0.l; | ||
555 | ssync; | ||
556 | |||
557 | /* Make sure UART is enabled - you can never be sure */ | ||
558 | |||
559 | /* | ||
560 | * Setup for console. Argument comes from the menuconfig | ||
561 | */ | ||
562 | |||
563 | #ifdef CONFIG_BAUD_9600 | ||
564 | #define CONSOLE_BAUD_RATE 9600 | ||
565 | #elif CONFIG_BAUD_19200 | ||
566 | #define CONSOLE_BAUD_RATE 19200 | ||
567 | #elif CONFIG_BAUD_38400 | ||
568 | #define CONSOLE_BAUD_RATE 38400 | ||
569 | #elif CONFIG_BAUD_57600 | ||
570 | #define CONSOLE_BAUD_RATE 57600 | ||
571 | #elif CONFIG_BAUD_115200 | ||
572 | #define CONSOLE_BAUD_RATE 115200 | ||
573 | #endif | ||
574 | |||
575 | p0.h = hi(UART_GCTL); | ||
576 | p0.l = lo(UART_GCTL); | ||
577 | r0 = 0x00(Z); | ||
578 | w[p0] = r0.L; /* To Turn off UART clocks */ | ||
579 | ssync; | ||
580 | |||
581 | p0.h = hi(UART_LCR); | ||
582 | p0.l = lo(UART_LCR); | ||
583 | r0 = 0x83(Z); | ||
584 | w[p0] = r0.L; /* To enable DLL writes */ | ||
585 | ssync; | ||
586 | |||
587 | R1 = (((CONFIG_CLKIN_HZ * CONFIG_VCO_MULT) / CONFIG_SCLK_DIV) / (CONSOLE_BAUD_RATE * 16)); | ||
588 | |||
589 | p0.h = hi(UART_DLL); | ||
590 | p0.l = lo(UART_DLL); | ||
591 | r0 = 0xFF(Z); | ||
592 | r0 = R1 & R0; | ||
593 | w[p0] = r0.L; | ||
594 | ssync; | ||
595 | |||
596 | p0.h = hi(UART_DLH); | ||
597 | p0.l = lo(UART_DLH); | ||
598 | r1 >>= 8 ; | ||
599 | w[p0] = r1.L; | ||
600 | ssync; | ||
601 | |||
602 | p0.h = hi(UART_GCTL); | ||
603 | p0.l = lo(UART_GCTL); | ||
604 | r0 = 0x0(Z); | ||
605 | w[p0] = r0.L; /* To enable UART clock */ | ||
606 | ssync; | ||
607 | |||
608 | p0.h = hi(UART_LCR); | ||
609 | p0.l = lo(UART_LCR); | ||
610 | r0 = 0x03(Z); | ||
611 | w[p0] = r0.L; /* To Turn on UART */ | ||
612 | ssync; | ||
613 | |||
614 | p0.h = hi(UART_GCTL); | ||
615 | p0.l = lo(UART_GCTL); | ||
616 | r0 = 0x01(Z); | ||
617 | w[p0] = r0.L; /* To Turn on UART Clocks */ | ||
618 | ssync; | ||
619 | |||
620 | P0.h = hi(UART_THR); | ||
621 | P0.l = lo(UART_THR); | ||
622 | P1.h = hi(UART_LSR); | ||
623 | P1.l = lo(UART_LSR); | ||
624 | |||
625 | R0.L = 'K'; | ||
626 | call .Lwait_char; | ||
627 | R0.L='e'; | ||
628 | call .Lwait_char; | ||
629 | R0.L='r'; | ||
630 | call .Lwait_char; | ||
631 | R0.L='n' | ||
632 | call .Lwait_char; | ||
633 | R0.L='e' | ||
634 | call .Lwait_char; | ||
635 | R0.L='l'; | ||
636 | call .Lwait_char; | ||
637 | R0.L=' '; | ||
638 | call .Lwait_char; | ||
639 | R0.L='c'; | ||
640 | call .Lwait_char; | ||
641 | R0.L='r'; | ||
642 | call .Lwait_char; | ||
643 | R0.L='a'; | ||
644 | call .Lwait_char; | ||
645 | R0.L='s'; | ||
646 | call .Lwait_char; | ||
647 | R0.L='h'; | ||
648 | call .Lwait_char; | ||
649 | R0.L='\r'; | ||
650 | call .Lwait_char; | ||
651 | R0.L='\n'; | ||
652 | call .Lwait_char; | ||
653 | |||
654 | R0.L='S'; | ||
655 | call .Lwait_char; | ||
656 | R0.L='E'; | ||
657 | call .Lwait_char; | ||
658 | R0.L='Q' | ||
659 | call .Lwait_char; | ||
660 | R0.L='S' | ||
661 | call .Lwait_char; | ||
662 | R0.L='T'; | ||
663 | call .Lwait_char; | ||
664 | R0.L='A'; | ||
665 | call .Lwait_char; | ||
666 | R0.L='T'; | ||
667 | call .Lwait_char; | ||
668 | R0.L='='; | ||
669 | call .Lwait_char; | ||
670 | R2 = SEQSTAT; | ||
671 | call .Ldump_reg; | ||
672 | |||
673 | R0.L=' '; | ||
674 | call .Lwait_char; | ||
675 | R0.L='R'; | ||
676 | call .Lwait_char; | ||
677 | R0.L='E' | ||
678 | call .Lwait_char; | ||
679 | R0.L='T' | ||
680 | call .Lwait_char; | ||
681 | R0.L='X'; | ||
682 | call .Lwait_char; | ||
683 | R0.L='='; | ||
684 | call .Lwait_char; | ||
685 | R2 = RETX; | ||
686 | call .Ldump_reg; | ||
687 | |||
688 | R0.L='\r'; | ||
689 | call .Lwait_char; | ||
690 | R0.L='\n'; | ||
691 | call .Lwait_char; | ||
692 | |||
693 | .Ldebug_kernel_start_trap_done: | ||
694 | JUMP .Ldebug_kernel_start_trap_done; | ||
695 | .Ldump_reg: | ||
696 | R3 = 32; | ||
697 | R4 = 0x0F; | ||
698 | R5 = ':'; /* one past 9 */ | ||
699 | |||
700 | .Ldump_reg2: | ||
701 | R0 = R2; | ||
702 | R3 += -4; | ||
703 | R0 >>>= R3; | ||
704 | R0 = R0 & R4; | ||
705 | R0 += 0x30; | ||
706 | CC = R0 <= R5; | ||
707 | if CC JUMP .Ldump_reg1; | ||
708 | R0 += 7; | ||
709 | |||
710 | .Ldump_reg1: | ||
711 | R1.l = W[P1]; | ||
712 | CC = BITTST(R1, 5); | ||
713 | if !CC JUMP .Ldump_reg1; | ||
714 | W[P0] = r0; | ||
715 | |||
716 | CC = R3 == 0; | ||
717 | if !CC JUMP .Ldump_reg2 | ||
718 | RTS; | ||
719 | |||
720 | .Lwait_char: | ||
721 | R1.l = W[P1]; | ||
722 | CC = BITTST(R1, 5); | ||
723 | if !CC JUMP .Lwait_char; | ||
724 | W[P0] = r0; | ||
725 | RTS; | ||
726 | |||
727 | #endif /* CONFIG_DEBUG_KERNEL_START */ | ||
728 | |||
729 | .data | 435 | .data |
730 | 436 | ||
731 | /* | 437 | /* |
diff --git a/arch/blackfin/mach-bf537/Kconfig b/arch/blackfin/mach-bf537/Kconfig index cc9ae38a4dda..e6648db09519 100644 --- a/arch/blackfin/mach-bf537/Kconfig +++ b/arch/blackfin/mach-bf537/Kconfig | |||
@@ -2,33 +2,6 @@ if (BF537 || BF534 || BF536) | |||
2 | 2 | ||
3 | menu "BF537 Specific Configuration" | 3 | menu "BF537 Specific Configuration" |
4 | 4 | ||
5 | comment "PORT F/G Selection" | ||
6 | choice | ||
7 | prompt "Select BF537/6/4 default GPIO PFx PORTx" | ||
8 | help | ||
9 | Quick Hack for BF537/6/4 default GPIO PFx PORTF. | ||
10 | |||
11 | config BF537_PORT_F | ||
12 | bool "Select BF537/6/4 default GPIO PFx PORTF" | ||
13 | depends on (BF537 || BF536 || BF534) | ||
14 | help | ||
15 | Quick Hack for BF537/6/4 default GPIO PFx PORTF. | ||
16 | |||
17 | config BF537_PORT_G | ||
18 | bool "Select BF537/6/4 default GPIO PFx PORTG" | ||
19 | depends on (BF537 || BF536 || BF534) | ||
20 | help | ||
21 | Quick Hack for BF537/6/4 default GPIO PFx PORTG. | ||
22 | |||
23 | config BF537_PORT_H | ||
24 | bool "Select BF537/6/4 default GPIO PFx PORTH" | ||
25 | depends on (BF537 || BF536 || BF534) | ||
26 | help | ||
27 | Quick Hack for BF537/6/4 default GPIO PFx PORTH | ||
28 | Use only when Blackfin EMAC support is not required. | ||
29 | |||
30 | endchoice | ||
31 | |||
32 | comment "Interrupt Priority Assignment" | 5 | comment "Interrupt Priority Assignment" |
33 | menu "Priority" | 6 | menu "Priority" |
34 | 7 | ||
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537.c b/arch/blackfin/mach-bf537/boards/cm_bf537.c index a8f947b72754..44dea05e1d03 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537.c | |||
@@ -35,7 +35,9 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/usb_isp1362.h> | 37 | #include <linux/usb_isp1362.h> |
38 | #include <linux/pata_platform.h> | ||
38 | #include <linux/irq.h> | 39 | #include <linux/irq.h> |
40 | #include <asm/dma.h> | ||
39 | #include <asm/bfin5xx_spi.h> | 41 | #include <asm/bfin5xx_spi.h> |
40 | 42 | ||
41 | /* | 43 | /* |
@@ -113,7 +115,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
113 | /* the modalias must be the same as spi device driver name */ | 115 | /* the modalias must be the same as spi device driver name */ |
114 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 116 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
115 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 117 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
116 | .bus_num = 1, /* Framework bus number */ | 118 | .bus_num = 0, /* Framework bus number */ |
117 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 119 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
118 | .platform_data = &bfin_spi_flash_data, | 120 | .platform_data = &bfin_spi_flash_data, |
119 | .controller_data = &spi_flash_chip_info, | 121 | .controller_data = &spi_flash_chip_info, |
@@ -125,7 +127,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
125 | { | 127 | { |
126 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 128 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
127 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 129 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
128 | .bus_num = 1, /* Framework bus number */ | 130 | .bus_num = 0, /* Framework bus number */ |
129 | .chip_select = 1, /* Framework chip select. */ | 131 | .chip_select = 1, /* Framework chip select. */ |
130 | .platform_data = NULL, /* No spi_driver specific config */ | 132 | .platform_data = NULL, /* No spi_driver specific config */ |
131 | .controller_data = &spi_adc_chip_info, | 133 | .controller_data = &spi_adc_chip_info, |
@@ -136,7 +138,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
136 | { | 138 | { |
137 | .modalias = "ad1836-spi", | 139 | .modalias = "ad1836-spi", |
138 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 140 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
139 | .bus_num = 1, | 141 | .bus_num = 0, |
140 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 142 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
141 | .controller_data = &ad1836_spi_chip_info, | 143 | .controller_data = &ad1836_spi_chip_info, |
142 | }, | 144 | }, |
@@ -146,7 +148,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
146 | { | 148 | { |
147 | .modalias = "ad9960-spi", | 149 | .modalias = "ad9960-spi", |
148 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | 150 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ |
149 | .bus_num = 1, | 151 | .bus_num = 0, |
150 | .chip_select = 1, | 152 | .chip_select = 1, |
151 | .controller_data = &ad9960_spi_chip_info, | 153 | .controller_data = &ad9960_spi_chip_info, |
152 | }, | 154 | }, |
@@ -156,7 +158,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
156 | { | 158 | { |
157 | .modalias = "spi_mmc_dummy", | 159 | .modalias = "spi_mmc_dummy", |
158 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 160 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
159 | .bus_num = 1, | 161 | .bus_num = 0, |
160 | .chip_select = 7, | 162 | .chip_select = 7, |
161 | .platform_data = NULL, | 163 | .platform_data = NULL, |
162 | .controller_data = &spi_mmc_chip_info, | 164 | .controller_data = &spi_mmc_chip_info, |
@@ -165,7 +167,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
165 | { | 167 | { |
166 | .modalias = "spi_mmc", | 168 | .modalias = "spi_mmc", |
167 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 169 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
168 | .bus_num = 1, | 170 | .bus_num = 0, |
169 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 171 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, |
170 | .platform_data = NULL, | 172 | .platform_data = NULL, |
171 | .controller_data = &spi_mmc_chip_info, | 173 | .controller_data = &spi_mmc_chip_info, |
@@ -174,17 +176,33 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
174 | #endif | 176 | #endif |
175 | }; | 177 | }; |
176 | 178 | ||
179 | /* SPI (0) */ | ||
180 | static struct resource bfin_spi0_resource[] = { | ||
181 | [0] = { | ||
182 | .start = SPI0_REGBASE, | ||
183 | .end = SPI0_REGBASE + 0xFF, | ||
184 | .flags = IORESOURCE_MEM, | ||
185 | }, | ||
186 | [1] = { | ||
187 | .start = CH_SPI, | ||
188 | .end = CH_SPI, | ||
189 | .flags = IORESOURCE_IRQ, | ||
190 | } | ||
191 | }; | ||
192 | |||
177 | /* SPI controller data */ | 193 | /* SPI controller data */ |
178 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 194 | static struct bfin5xx_spi_master bfin_spi0_info = { |
179 | .num_chipselect = 8, | 195 | .num_chipselect = 8, |
180 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 196 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
181 | }; | 197 | }; |
182 | 198 | ||
183 | static struct platform_device spi_bfin_master_device = { | 199 | static struct platform_device bfin_spi0_device = { |
184 | .name = "bfin-spi-master", | 200 | .name = "bfin-spi", |
185 | .id = 1, /* Bus number */ | 201 | .id = 0, /* Bus number */ |
202 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
203 | .resource = bfin_spi0_resource, | ||
186 | .dev = { | 204 | .dev = { |
187 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 205 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
188 | }, | 206 | }, |
189 | }; | 207 | }; |
190 | #endif /* spi master and devices */ | 208 | #endif /* spi master and devices */ |
@@ -316,6 +334,43 @@ static struct platform_device bfin_mac_device = { | |||
316 | }; | 334 | }; |
317 | #endif | 335 | #endif |
318 | 336 | ||
337 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
338 | #define PATA_INT 64 | ||
339 | |||
340 | static struct pata_platform_info bfin_pata_platform_data = { | ||
341 | .ioport_shift = 2, | ||
342 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
343 | }; | ||
344 | |||
345 | static struct resource bfin_pata_resources[] = { | ||
346 | { | ||
347 | .start = 0x2030C000, | ||
348 | .end = 0x2030C01F, | ||
349 | .flags = IORESOURCE_MEM, | ||
350 | }, | ||
351 | { | ||
352 | .start = 0x2030D018, | ||
353 | .end = 0x2030D01B, | ||
354 | .flags = IORESOURCE_MEM, | ||
355 | }, | ||
356 | { | ||
357 | .start = PATA_INT, | ||
358 | .end = PATA_INT, | ||
359 | .flags = IORESOURCE_IRQ, | ||
360 | }, | ||
361 | }; | ||
362 | |||
363 | static struct platform_device bfin_pata_device = { | ||
364 | .name = "pata_platform", | ||
365 | .id = -1, | ||
366 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
367 | .resource = bfin_pata_resources, | ||
368 | .dev = { | ||
369 | .platform_data = &bfin_pata_platform_data, | ||
370 | } | ||
371 | }; | ||
372 | #endif | ||
373 | |||
319 | static struct platform_device *cm_bf537_devices[] __initdata = { | 374 | static struct platform_device *cm_bf537_devices[] __initdata = { |
320 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 375 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
321 | &rtc_device, | 376 | &rtc_device, |
@@ -347,7 +402,11 @@ static struct platform_device *cm_bf537_devices[] __initdata = { | |||
347 | #endif | 402 | #endif |
348 | 403 | ||
349 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 404 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
350 | &spi_bfin_master_device, | 405 | &bfin_spi0_device, |
406 | #endif | ||
407 | |||
408 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
409 | &bfin_pata_device, | ||
351 | #endif | 410 | #endif |
352 | }; | 411 | }; |
353 | 412 | ||
@@ -358,6 +417,10 @@ static int __init cm_bf537_init(void) | |||
358 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 417 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
359 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 418 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
360 | #endif | 419 | #endif |
420 | |||
421 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
422 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
423 | #endif | ||
361 | return 0; | 424 | return 0; |
362 | } | 425 | } |
363 | 426 | ||
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index 648d984e98d6..5e9d09eb8579 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * | 8 | * |
9 | * Modified: | 9 | * Modified: |
10 | * Copyright 2005 National ICT Australia (NICTA) | 10 | * Copyright 2005 National ICT Australia (NICTA) |
11 | * Copyright 2004-2006 Analog Devices Inc. | 11 | * Copyright 2004-2007 Analog Devices Inc. |
12 | * | 12 | * |
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ |
14 | * | 14 | * |
@@ -34,20 +34,74 @@ | |||
34 | #include <linux/mtd/partitions.h> | 34 | #include <linux/mtd/partitions.h> |
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
37 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | ||
40 | #include <linux/pata_platform.h> | ||
38 | #include <linux/irq.h> | 41 | #include <linux/irq.h> |
42 | #include <linux/interrupt.h> | ||
39 | #include <linux/usb_sl811.h> | 43 | #include <linux/usb_sl811.h> |
44 | #include <asm/dma.h> | ||
40 | #include <asm/bfin5xx_spi.h> | 45 | #include <asm/bfin5xx_spi.h> |
46 | #include <asm/reboot.h> | ||
47 | #include <linux/spi/ad7877.h> | ||
41 | 48 | ||
42 | /* | 49 | /* |
43 | * Name the Board for the /proc/cpuinfo | 50 | * Name the Board for the /proc/cpuinfo |
44 | */ | 51 | */ |
45 | char *bfin_board_name = "UNKNOWN BOARD"; | 52 | char *bfin_board_name = "GENERIC Board"; |
46 | 53 | ||
47 | /* | 54 | /* |
48 | * Driver needs to know address, irq and flag pin. | 55 | * Driver needs to know address, irq and flag pin. |
49 | */ | 56 | */ |
50 | 57 | ||
58 | #define ISP1761_BASE 0x203C0000 | ||
59 | #define ISP1761_IRQ IRQ_PF7 | ||
60 | |||
61 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | ||
62 | static struct resource bfin_isp1761_resources[] = { | ||
63 | [0] = { | ||
64 | .name = "isp1761-regs", | ||
65 | .start = ISP1761_BASE + 0x00000000, | ||
66 | .end = ISP1761_BASE + 0x000fffff, | ||
67 | .flags = IORESOURCE_MEM, | ||
68 | }, | ||
69 | [1] = { | ||
70 | .start = ISP1761_IRQ, | ||
71 | .end = ISP1761_IRQ, | ||
72 | .flags = IORESOURCE_IRQ, | ||
73 | }, | ||
74 | }; | ||
75 | |||
76 | static struct platform_device bfin_isp1761_device = { | ||
77 | .name = "isp1761", | ||
78 | .id = 0, | ||
79 | .num_resources = ARRAY_SIZE(bfin_isp1761_resources), | ||
80 | .resource = bfin_isp1761_resources, | ||
81 | }; | ||
82 | |||
83 | static struct platform_device *bfin_isp1761_devices[] = { | ||
84 | &bfin_isp1761_device, | ||
85 | }; | ||
86 | |||
87 | int __init bfin_isp1761_init(void) | ||
88 | { | ||
89 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | ||
90 | |||
91 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | ||
92 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | ||
93 | |||
94 | return platform_add_devices(bfin_isp1761_devices, num_devices); | ||
95 | } | ||
96 | |||
97 | void __exit bfin_isp1761_exit(void) | ||
98 | { | ||
99 | platform_device_unregister(&bfin_isp1761_device); | ||
100 | } | ||
101 | |||
102 | arch_initcall(bfin_isp1761_init); | ||
103 | #endif | ||
104 | |||
51 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 105 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
52 | static struct resource bfin_pcmcia_cf_resources[] = { | 106 | static struct resource bfin_pcmcia_cf_resources[] = { |
53 | { | 107 | { |
@@ -59,10 +113,6 @@ static struct resource bfin_pcmcia_cf_resources[] = { | |||
59 | .end = 0x20311FFF, | 113 | .end = 0x20311FFF, |
60 | .flags = IORESOURCE_MEM, | 114 | .flags = IORESOURCE_MEM, |
61 | }, { | 115 | }, { |
62 | .start = IRQ_PROG_INTA, | ||
63 | .end = IRQ_PROG_INTA, | ||
64 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
65 | }, { | ||
66 | .start = IRQ_PF4, | 116 | .start = IRQ_PF4, |
67 | .end = IRQ_PF4, | 117 | .end = IRQ_PF4, |
68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 118 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
@@ -96,14 +146,7 @@ static struct resource smc91x_resources[] = { | |||
96 | .end = 0x20300300 + 16, | 146 | .end = 0x20300300 + 16, |
97 | .flags = IORESOURCE_MEM, | 147 | .flags = IORESOURCE_MEM, |
98 | }, { | 148 | }, { |
99 | .start = IRQ_PROG_INTB, | 149 | |
100 | .end = IRQ_PROG_INTB, | ||
101 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
102 | }, { | ||
103 | /* | ||
104 | * denotes the flag pin and is used directly if | ||
105 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. | ||
106 | */ | ||
107 | .start = IRQ_PF7, | 150 | .start = IRQ_PF7, |
108 | .end = IRQ_PF7, | 151 | .end = IRQ_PF7, |
109 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 152 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -117,6 +160,28 @@ static struct platform_device smc91x_device = { | |||
117 | }; | 160 | }; |
118 | #endif | 161 | #endif |
119 | 162 | ||
163 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
164 | static struct resource dm9000_resources[] = { | ||
165 | [0] = { | ||
166 | .start = 0x203FB800, | ||
167 | .end = 0x203FB800 + 8, | ||
168 | .flags = IORESOURCE_MEM, | ||
169 | }, | ||
170 | [1] = { | ||
171 | .start = IRQ_PF9, | ||
172 | .end = IRQ_PF9, | ||
173 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | ||
174 | }, | ||
175 | }; | ||
176 | |||
177 | static struct platform_device dm9000_device = { | ||
178 | .name = "dm9000", | ||
179 | .id = -1, | ||
180 | .num_resources = ARRAY_SIZE(dm9000_resources), | ||
181 | .resource = dm9000_resources, | ||
182 | }; | ||
183 | #endif | ||
184 | |||
120 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | 185 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) |
121 | static struct resource sl811_hcd_resources[] = { | 186 | static struct resource sl811_hcd_resources[] = { |
122 | { | 187 | { |
@@ -128,12 +193,8 @@ static struct resource sl811_hcd_resources[] = { | |||
128 | .end = 0x20340004, | 193 | .end = 0x20340004, |
129 | .flags = IORESOURCE_MEM, | 194 | .flags = IORESOURCE_MEM, |
130 | }, { | 195 | }, { |
131 | .start = IRQ_PROG_INTA, | 196 | .start = CONFIG_USB_SL811_BFIN_IRQ, |
132 | .end = IRQ_PROG_INTA, | 197 | .end = CONFIG_USB_SL811_BFIN_IRQ, |
133 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
134 | }, { | ||
135 | .start = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, | ||
136 | .end = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, | ||
137 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 198 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
138 | }, | 199 | }, |
139 | }; | 200 | }; |
@@ -141,21 +202,19 @@ static struct resource sl811_hcd_resources[] = { | |||
141 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | 202 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) |
142 | void sl811_port_power(struct device *dev, int is_on) | 203 | void sl811_port_power(struct device *dev, int is_on) |
143 | { | 204 | { |
144 | unsigned short mask = (1<<CONFIG_USB_SL811_BFIN_GPIO_VBUS); | 205 | gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); |
145 | 206 | gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS); | |
146 | bfin_write_PORT_FER(bfin_read_PORT_FER() & ~mask); | ||
147 | bfin_write_FIO_DIR(bfin_read_FIO_DIR() | mask); | ||
148 | 207 | ||
149 | if (is_on) | 208 | if (is_on) |
150 | bfin_write_FIO_FLAG_S(mask); | 209 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 1); |
151 | else | 210 | else |
152 | bfin_write_FIO_FLAG_C(mask); | 211 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 0); |
153 | } | 212 | } |
154 | #endif | 213 | #endif |
155 | 214 | ||
156 | static struct sl811_platform_data sl811_priv = { | 215 | static struct sl811_platform_data sl811_priv = { |
157 | .potpg = 10, | 216 | .potpg = 10, |
158 | .power = 250, /* == 500mA */ | 217 | .power = 250, /* == 500mA */ |
159 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | 218 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) |
160 | .port_power = &sl811_port_power, | 219 | .port_power = &sl811_port_power, |
161 | #endif | 220 | #endif |
@@ -170,7 +229,6 @@ static struct platform_device sl811_hcd_device = { | |||
170 | .num_resources = ARRAY_SIZE(sl811_hcd_resources), | 229 | .num_resources = ARRAY_SIZE(sl811_hcd_resources), |
171 | .resource = sl811_hcd_resources, | 230 | .resource = sl811_hcd_resources, |
172 | }; | 231 | }; |
173 | |||
174 | #endif | 232 | #endif |
175 | 233 | ||
176 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 234 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
@@ -184,13 +242,9 @@ static struct resource isp1362_hcd_resources[] = { | |||
184 | .end = 0x20360004, | 242 | .end = 0x20360004, |
185 | .flags = IORESOURCE_MEM, | 243 | .flags = IORESOURCE_MEM, |
186 | }, { | 244 | }, { |
187 | .start = IRQ_PROG_INTA, | 245 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
188 | .end = IRQ_PROG_INTA, | 246 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
189 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 247 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
190 | }, { | ||
191 | .start = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, | ||
192 | .end = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, | ||
193 | .flags = IORESOURCE_IRQ, | ||
194 | }, | 248 | }, |
195 | }; | 249 | }; |
196 | 250 | ||
@@ -246,7 +300,8 @@ static struct platform_device net2272_bfin_device = { | |||
246 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 300 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
247 | /* all SPI peripherals info goes here */ | 301 | /* all SPI peripherals info goes here */ |
248 | 302 | ||
249 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 303 | #if defined(CONFIG_MTD_M25P80) \ |
304 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
250 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 305 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
251 | { | 306 | { |
252 | .name = "bootloader", | 307 | .name = "bootloader", |
@@ -302,70 +357,198 @@ static struct bfin5xx_spi_chip ad9960_spi_chip_info = { | |||
302 | }; | 357 | }; |
303 | #endif | 358 | #endif |
304 | 359 | ||
360 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
361 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
362 | .enable_dma = 1, | ||
363 | .bits_per_word = 8, | ||
364 | }; | ||
365 | #endif | ||
366 | |||
367 | #if defined(CONFIG_PBX) | ||
368 | static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | ||
369 | .ctl_reg = 0x4, /* send zero */ | ||
370 | .enable_dma = 0, | ||
371 | .bits_per_word = 8, | ||
372 | .cs_change_per_word = 1, | ||
373 | }; | ||
374 | #endif | ||
375 | |||
376 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
377 | static struct bfin5xx_spi_chip ad5304_chip_info = { | ||
378 | .enable_dma = 0, | ||
379 | .bits_per_word = 16, | ||
380 | }; | ||
381 | #endif | ||
382 | |||
383 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
384 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | ||
385 | .enable_dma = 0, | ||
386 | .bits_per_word = 16, | ||
387 | }; | ||
388 | |||
389 | static const struct ad7877_platform_data bfin_ad7877_ts_info = { | ||
390 | .model = 7877, | ||
391 | .vref_delay_usecs = 50, /* internal, no capacitor */ | ||
392 | .x_plate_ohms = 419, | ||
393 | .y_plate_ohms = 486, | ||
394 | .pressure_max = 1000, | ||
395 | .pressure_min = 0, | ||
396 | .stopacq_polarity = 1, | ||
397 | .first_conversion_delay = 3, | ||
398 | .acquisition_time = 1, | ||
399 | .averaging = 1, | ||
400 | .pen_down_acc_interval = 1, | ||
401 | }; | ||
402 | #endif | ||
403 | |||
305 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | 404 | static struct spi_board_info bfin_spi_board_info[] __initdata = { |
306 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 405 | #if defined(CONFIG_MTD_M25P80) \ |
406 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
307 | { | 407 | { |
308 | /* the modalias must be the same as spi device driver name */ | 408 | /* the modalias must be the same as spi device driver name */ |
309 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 409 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
310 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 410 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
311 | .bus_num = 1, /* Framework bus number */ | 411 | .bus_num = 0, /* Framework bus number */ |
312 | .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 412 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
313 | .platform_data = &bfin_spi_flash_data, | 413 | .platform_data = &bfin_spi_flash_data, |
314 | .controller_data = &spi_flash_chip_info, | 414 | .controller_data = &spi_flash_chip_info, |
315 | .mode = SPI_MODE_3, | 415 | .mode = SPI_MODE_3, |
316 | }, | 416 | }, |
317 | #endif | 417 | #endif |
318 | 418 | ||
319 | #if defined(CONFIG_SPI_ADC_BF533) || defined(CONFIG_SPI_ADC_BF533_MODULE) | 419 | #if defined(CONFIG_SPI_ADC_BF533) \ |
420 | || defined(CONFIG_SPI_ADC_BF533_MODULE) | ||
320 | { | 421 | { |
321 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 422 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
322 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 423 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
323 | .bus_num = 1, /* Framework bus number */ | 424 | .bus_num = 0, /* Framework bus number */ |
324 | .chip_select = 1, /* Framework chip select. */ | 425 | .chip_select = 1, /* Framework chip select. */ |
325 | .platform_data = NULL, /* No spi_driver specific config */ | 426 | .platform_data = NULL, /* No spi_driver specific config */ |
326 | .controller_data = &spi_adc_chip_info, | 427 | .controller_data = &spi_adc_chip_info, |
327 | }, | 428 | }, |
328 | #endif | 429 | #endif |
329 | 430 | ||
330 | #if defined(CONFIG_SND_BLACKFIN_AD1836) || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | 431 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ |
432 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | ||
331 | { | 433 | { |
332 | .modalias = "ad1836-spi", | 434 | .modalias = "ad1836-spi", |
333 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 435 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
334 | .bus_num = 1, | 436 | .bus_num = 0, |
335 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 437 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
336 | .controller_data = &ad1836_spi_chip_info, | 438 | .controller_data = &ad1836_spi_chip_info, |
337 | }, | 439 | }, |
338 | #endif | 440 | #endif |
339 | |||
340 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | 441 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) |
341 | { | 442 | { |
342 | .modalias = "ad9960-spi", | 443 | .modalias = "ad9960-spi", |
343 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | 444 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ |
344 | .bus_num = 1, | 445 | .bus_num = 0, |
345 | .chip_select = 1, | 446 | .chip_select = 1, |
346 | .controller_data = &ad9960_spi_chip_info, | 447 | .controller_data = &ad9960_spi_chip_info, |
347 | }, | 448 | }, |
348 | #endif | 449 | #endif |
450 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
451 | { | ||
452 | .modalias = "spi_mmc_dummy", | ||
453 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
454 | .bus_num = 0, | ||
455 | .chip_select = 0, | ||
456 | .platform_data = NULL, | ||
457 | .controller_data = &spi_mmc_chip_info, | ||
458 | .mode = SPI_MODE_3, | ||
459 | }, | ||
460 | { | ||
461 | .modalias = "spi_mmc", | ||
462 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
463 | .bus_num = 0, | ||
464 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
465 | .platform_data = NULL, | ||
466 | .controller_data = &spi_mmc_chip_info, | ||
467 | .mode = SPI_MODE_3, | ||
468 | }, | ||
469 | #endif | ||
470 | #if defined(CONFIG_PBX) | ||
471 | { | ||
472 | .modalias = "fxs-spi", | ||
473 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
474 | .bus_num = 0, | ||
475 | .chip_select = 8 - CONFIG_J11_JUMPER, | ||
476 | .controller_data = &spi_si3xxx_chip_info, | ||
477 | .mode = SPI_MODE_3, | ||
478 | }, | ||
479 | { | ||
480 | .modalias = "fxo-spi", | ||
481 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
482 | .bus_num = 0, | ||
483 | .chip_select = 8 - CONFIG_J19_JUMPER, | ||
484 | .controller_data = &spi_si3xxx_chip_info, | ||
485 | .mode = SPI_MODE_3, | ||
486 | }, | ||
487 | #endif | ||
488 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
489 | { | ||
490 | .modalias = "ad5304_spi", | ||
491 | .max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */ | ||
492 | .bus_num = 0, | ||
493 | .chip_select = 2, | ||
494 | .platform_data = NULL, | ||
495 | .controller_data = &ad5304_chip_info, | ||
496 | .mode = SPI_MODE_2, | ||
497 | }, | ||
498 | #endif | ||
499 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
500 | { | ||
501 | .modalias = "ad7877", | ||
502 | .platform_data = &bfin_ad7877_ts_info, | ||
503 | .irq = IRQ_PF6, | ||
504 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
505 | .bus_num = 1, | ||
506 | .chip_select = 1, | ||
507 | .controller_data = &spi_ad7877_chip_info, | ||
508 | }, | ||
509 | #endif | ||
349 | }; | 510 | }; |
350 | 511 | ||
351 | /* SPI controller data */ | 512 | /* SPI controller data */ |
352 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 513 | static struct bfin5xx_spi_master bfin_spi0_info = { |
353 | .num_chipselect = 8, | 514 | .num_chipselect = 8, |
354 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 515 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
355 | }; | 516 | }; |
356 | 517 | ||
357 | static struct platform_device spi_bfin_master_device = { | 518 | /* SPI (0) */ |
358 | .name = "bfin-spi-master", | 519 | static struct resource bfin_spi0_resource[] = { |
359 | .id = 1, /* Bus number */ | 520 | [0] = { |
521 | .start = SPI0_REGBASE, | ||
522 | .end = SPI0_REGBASE + 0xFF, | ||
523 | .flags = IORESOURCE_MEM, | ||
524 | }, | ||
525 | [1] = { | ||
526 | .start = CH_SPI, | ||
527 | .end = CH_SPI, | ||
528 | .flags = IORESOURCE_IRQ, | ||
529 | }, | ||
530 | }; | ||
531 | |||
532 | static struct platform_device bfin_spi0_device = { | ||
533 | .name = "bfin-spi", | ||
534 | .id = 0, /* Bus number */ | ||
535 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
536 | .resource = bfin_spi0_resource, | ||
360 | .dev = { | 537 | .dev = { |
361 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 538 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
362 | }, | 539 | }, |
363 | }; | 540 | }; |
364 | #endif /* spi master and devices */ | 541 | #endif /* spi master and devices */ |
365 | 542 | ||
366 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 543 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
367 | static struct platform_device bfin_fb_device = { | 544 | static struct platform_device bfin_fb_device = { |
368 | .name = "bf537-fb", | 545 | .name = "bf537-lq035", |
546 | }; | ||
547 | #endif | ||
548 | |||
549 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
550 | static struct platform_device bfin_fb_adv7393_device = { | ||
551 | .name = "bfin-adv7393", | ||
369 | }; | 552 | }; |
370 | #endif | 553 | #endif |
371 | 554 | ||
@@ -390,15 +573,86 @@ static struct platform_device bfin_uart_device = { | |||
390 | }; | 573 | }; |
391 | #endif | 574 | #endif |
392 | 575 | ||
393 | static struct platform_device *stamp_devices[] __initdata = { | 576 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) |
394 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 577 | static struct resource bfin_twi0_resource[] = { |
395 | &rtc_device, | 578 | [0] = { |
579 | .start = TWI0_REGBASE, | ||
580 | .end = TWI0_REGBASE + 0xFF, | ||
581 | .flags = IORESOURCE_MEM, | ||
582 | }, | ||
583 | [1] = { | ||
584 | .start = IRQ_TWI, | ||
585 | .end = IRQ_TWI, | ||
586 | .flags = IORESOURCE_IRQ, | ||
587 | }, | ||
588 | }; | ||
589 | |||
590 | static struct platform_device i2c_bfin_twi_device = { | ||
591 | .name = "i2c-bfin-twi", | ||
592 | .id = 0, | ||
593 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | ||
594 | .resource = bfin_twi0_resource, | ||
595 | }; | ||
596 | #endif | ||
597 | |||
598 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
599 | static struct platform_device bfin_sport0_uart_device = { | ||
600 | .name = "bfin-sport-uart", | ||
601 | .id = 0, | ||
602 | }; | ||
603 | |||
604 | static struct platform_device bfin_sport1_uart_device = { | ||
605 | .name = "bfin-sport-uart", | ||
606 | .id = 1, | ||
607 | }; | ||
608 | #endif | ||
609 | |||
610 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
611 | #define PATA_INT 55 | ||
612 | |||
613 | static struct pata_platform_info bfin_pata_platform_data = { | ||
614 | .ioport_shift = 1, | ||
615 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
616 | }; | ||
617 | |||
618 | static struct resource bfin_pata_resources[] = { | ||
619 | { | ||
620 | .start = 0x20314020, | ||
621 | .end = 0x2031403F, | ||
622 | .flags = IORESOURCE_MEM, | ||
623 | }, | ||
624 | { | ||
625 | .start = 0x2031401C, | ||
626 | .end = 0x2031401F, | ||
627 | .flags = IORESOURCE_MEM, | ||
628 | }, | ||
629 | { | ||
630 | .start = PATA_INT, | ||
631 | .end = PATA_INT, | ||
632 | .flags = IORESOURCE_IRQ, | ||
633 | }, | ||
634 | }; | ||
635 | |||
636 | static struct platform_device bfin_pata_device = { | ||
637 | .name = "pata_platform", | ||
638 | .id = -1, | ||
639 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
640 | .resource = bfin_pata_resources, | ||
641 | .dev = { | ||
642 | .platform_data = &bfin_pata_platform_data, | ||
643 | } | ||
644 | }; | ||
396 | #endif | 645 | #endif |
397 | 646 | ||
647 | static struct platform_device *stamp_devices[] __initdata = { | ||
398 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 648 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
399 | &bfin_pcmcia_cf_device, | 649 | &bfin_pcmcia_cf_device, |
400 | #endif | 650 | #endif |
401 | 651 | ||
652 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
653 | &rtc_device, | ||
654 | #endif | ||
655 | |||
402 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | 656 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) |
403 | &sl811_hcd_device, | 657 | &sl811_hcd_device, |
404 | #endif | 658 | #endif |
@@ -411,6 +665,10 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
411 | &smc91x_device, | 665 | &smc91x_device, |
412 | #endif | 666 | #endif |
413 | 667 | ||
668 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
669 | &dm9000_device, | ||
670 | #endif | ||
671 | |||
414 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 672 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
415 | &bfin_mac_device, | 673 | &bfin_mac_device, |
416 | #endif | 674 | #endif |
@@ -420,16 +678,33 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
420 | #endif | 678 | #endif |
421 | 679 | ||
422 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 680 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
423 | &spi_bfin_master_device, | 681 | &bfin_spi0_device, |
424 | #endif | 682 | #endif |
425 | 683 | ||
426 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 684 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
427 | &bfin_fb_device, | 685 | &bfin_fb_device, |
428 | #endif | 686 | #endif |
429 | 687 | ||
688 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
689 | &bfin_fb_adv7393_device, | ||
690 | #endif | ||
691 | |||
430 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 692 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
431 | &bfin_uart_device, | 693 | &bfin_uart_device, |
432 | #endif | 694 | #endif |
695 | |||
696 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
697 | &i2c_bfin_twi_device, | ||
698 | #endif | ||
699 | |||
700 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
701 | &bfin_sport0_uart_device, | ||
702 | &bfin_sport1_uart_device, | ||
703 | #endif | ||
704 | |||
705 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
706 | &bfin_pata_device, | ||
707 | #endif | ||
433 | }; | 708 | }; |
434 | 709 | ||
435 | static int __init stamp_init(void) | 710 | static int __init stamp_init(void) |
@@ -437,9 +712,21 @@ static int __init stamp_init(void) | |||
437 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 712 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); |
438 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | 713 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); |
439 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 714 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
440 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 715 | spi_register_board_info(bfin_spi_board_info, |
716 | ARRAY_SIZE(bfin_spi_board_info)); | ||
717 | #endif | ||
718 | |||
719 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
720 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
441 | #endif | 721 | #endif |
442 | return 0; | 722 | return 0; |
443 | } | 723 | } |
444 | 724 | ||
445 | arch_initcall(stamp_init); | 725 | arch_initcall(stamp_init); |
726 | |||
727 | void native_machine_restart(char *cmd) | ||
728 | { | ||
729 | /* workaround reboot hang when booting from SPI */ | ||
730 | if ((bfin_read_SYSCR() & 0x7) == 0x3) | ||
731 | bfin_gpio_reset_spi0_ssel1(); | ||
732 | } | ||
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 8806f1230f2d..20507e92a3a4 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <linux/irq.h> | 40 | #include <linux/irq.h> |
41 | #include <asm/dma.h> | ||
41 | #include <asm/bfin5xx_spi.h> | 42 | #include <asm/bfin5xx_spi.h> |
42 | #include <linux/usb_sl811.h> | 43 | #include <linux/usb_sl811.h> |
43 | 44 | ||
@@ -130,15 +131,13 @@ static struct resource sl811_hcd_resources[] = { | |||
130 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | 131 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) |
131 | void sl811_port_power(struct device *dev, int is_on) | 132 | void sl811_port_power(struct device *dev, int is_on) |
132 | { | 133 | { |
133 | unsigned short mask = (1 << CONFIG_USB_SL811_BFIN_GPIO_VBUS); | 134 | gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); |
134 | 135 | gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS); | |
135 | bfin_write_PORT_FER(bfin_read_PORT_FER() & ~mask); | ||
136 | bfin_write_FIO_DIR(bfin_read_FIO_DIR() | mask); | ||
137 | 136 | ||
138 | if (is_on) | 137 | if (is_on) |
139 | bfin_write_FIO_FLAG_S(mask); | 138 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 1); |
140 | else | 139 | else |
141 | bfin_write_FIO_FLAG_C(mask); | 140 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 0); |
142 | } | 141 | } |
143 | #endif | 142 | #endif |
144 | 143 | ||
@@ -323,7 +322,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
323 | /* the modalias must be the same as spi device driver name */ | 322 | /* the modalias must be the same as spi device driver name */ |
324 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 323 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
325 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 324 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
326 | .bus_num = 1, /* Framework bus number */ | 325 | .bus_num = 0, /* Framework bus number */ |
327 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 326 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
328 | .platform_data = &bfin_spi_flash_data, | 327 | .platform_data = &bfin_spi_flash_data, |
329 | .controller_data = &spi_flash_chip_info, | 328 | .controller_data = &spi_flash_chip_info, |
@@ -336,7 +335,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
336 | { | 335 | { |
337 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 336 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
338 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 337 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
339 | .bus_num = 1, /* Framework bus number */ | 338 | .bus_num = 0, /* Framework bus number */ |
340 | .chip_select = 1, /* Framework chip select. */ | 339 | .chip_select = 1, /* Framework chip select. */ |
341 | .platform_data = NULL, /* No spi_driver specific config */ | 340 | .platform_data = NULL, /* No spi_driver specific config */ |
342 | .controller_data = &spi_adc_chip_info, | 341 | .controller_data = &spi_adc_chip_info, |
@@ -348,7 +347,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
348 | { | 347 | { |
349 | .modalias = "ad1836-spi", | 348 | .modalias = "ad1836-spi", |
350 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 349 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
351 | .bus_num = 1, | 350 | .bus_num = 0, |
352 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 351 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
353 | .controller_data = &ad1836_spi_chip_info, | 352 | .controller_data = &ad1836_spi_chip_info, |
354 | }, | 353 | }, |
@@ -357,7 +356,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
357 | { | 356 | { |
358 | .modalias = "ad9960-spi", | 357 | .modalias = "ad9960-spi", |
359 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | 358 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ |
360 | .bus_num = 1, | 359 | .bus_num = 0, |
361 | .chip_select = 1, | 360 | .chip_select = 1, |
362 | .controller_data = &ad9960_spi_chip_info, | 361 | .controller_data = &ad9960_spi_chip_info, |
363 | }, | 362 | }, |
@@ -366,7 +365,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
366 | { | 365 | { |
367 | .modalias = "spi_mmc_dummy", | 366 | .modalias = "spi_mmc_dummy", |
368 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 367 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
369 | .bus_num = 1, | 368 | .bus_num = 0, |
370 | .chip_select = 7, | 369 | .chip_select = 7, |
371 | .platform_data = NULL, | 370 | .platform_data = NULL, |
372 | .controller_data = &spi_mmc_chip_info, | 371 | .controller_data = &spi_mmc_chip_info, |
@@ -375,7 +374,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
375 | { | 374 | { |
376 | .modalias = "spi_mmc", | 375 | .modalias = "spi_mmc", |
377 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 376 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
378 | .bus_num = 1, | 377 | .bus_num = 0, |
379 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 378 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, |
380 | .platform_data = NULL, | 379 | .platform_data = NULL, |
381 | .controller_data = &spi_mmc_chip_info, | 380 | .controller_data = &spi_mmc_chip_info, |
@@ -396,24 +395,40 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
396 | 395 | ||
397 | }; | 396 | }; |
398 | 397 | ||
398 | /* SPI (0) */ | ||
399 | static struct resource bfin_spi0_resource[] = { | ||
400 | [0] = { | ||
401 | .start = SPI0_REGBASE, | ||
402 | .end = SPI0_REGBASE + 0xFF, | ||
403 | .flags = IORESOURCE_MEM, | ||
404 | }, | ||
405 | [1] = { | ||
406 | .start = CH_SPI, | ||
407 | .end = CH_SPI, | ||
408 | .flags = IORESOURCE_IRQ, | ||
409 | } | ||
410 | }; | ||
411 | |||
399 | /* SPI controller data */ | 412 | /* SPI controller data */ |
400 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 413 | static struct bfin5xx_spi_master bfin_spi0_info = { |
401 | .num_chipselect = 8, | 414 | .num_chipselect = 8, |
402 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 415 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
403 | }; | 416 | }; |
404 | 417 | ||
405 | static struct platform_device spi_bfin_master_device = { | 418 | static struct platform_device bfin_spi0_device = { |
406 | .name = "bfin-spi-master", | 419 | .name = "bfin-spi", |
407 | .id = 1, /* Bus number */ | 420 | .id = 0, /* Bus number */ |
421 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
422 | .resource = bfin_spi0_resource, | ||
408 | .dev = { | 423 | .dev = { |
409 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 424 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
410 | }, | 425 | }, |
411 | }; | 426 | }; |
412 | #endif /* spi master and devices */ | 427 | #endif /* spi master and devices */ |
413 | 428 | ||
414 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 429 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
415 | static struct platform_device bfin_fb_device = { | 430 | static struct platform_device bfin_fb_device = { |
416 | .name = "bf537-fb", | 431 | .name = "bf537-lq035", |
417 | }; | 432 | }; |
418 | #endif | 433 | #endif |
419 | 434 | ||
@@ -469,7 +484,7 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
469 | #endif | 484 | #endif |
470 | 485 | ||
471 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 486 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
472 | &spi_bfin_master_device, | 487 | &bfin_spi0_device, |
473 | #endif | 488 | #endif |
474 | 489 | ||
475 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 490 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9c43d7756510..47d7d4a0e73d 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -37,10 +37,13 @@ | |||
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <linux/pata_platform.h> | ||
40 | #include <linux/irq.h> | 41 | #include <linux/irq.h> |
41 | #include <linux/interrupt.h> | 42 | #include <linux/interrupt.h> |
42 | #include <linux/usb_sl811.h> | 43 | #include <linux/usb_sl811.h> |
44 | #include <asm/dma.h> | ||
43 | #include <asm/bfin5xx_spi.h> | 45 | #include <asm/bfin5xx_spi.h> |
46 | #include <asm/reboot.h> | ||
44 | #include <linux/spi/ad7877.h> | 47 | #include <linux/spi/ad7877.h> |
45 | 48 | ||
46 | /* | 49 | /* |
@@ -199,15 +202,13 @@ static struct resource sl811_hcd_resources[] = { | |||
199 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | 202 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) |
200 | void sl811_port_power(struct device *dev, int is_on) | 203 | void sl811_port_power(struct device *dev, int is_on) |
201 | { | 204 | { |
202 | unsigned short mask = (1 << CONFIG_USB_SL811_BFIN_GPIO_VBUS); | 205 | gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); |
203 | 206 | gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS); | |
204 | bfin_write_PORT_FER(bfin_read_PORT_FER() & ~mask); | ||
205 | bfin_write_FIO_DIR(bfin_read_FIO_DIR() | mask); | ||
206 | 207 | ||
207 | if (is_on) | 208 | if (is_on) |
208 | bfin_write_FIO_FLAG_S(mask); | 209 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 1); |
209 | else | 210 | else |
210 | bfin_write_FIO_FLAG_C(mask); | 211 | gpio_set_value(CONFIG_USB_SL811_BFIN_GPIO_VBUS, 0); |
211 | } | 212 | } |
212 | #endif | 213 | #endif |
213 | 214 | ||
@@ -407,7 +408,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
407 | /* the modalias must be the same as spi device driver name */ | 408 | /* the modalias must be the same as spi device driver name */ |
408 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 409 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
409 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 410 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
410 | .bus_num = 1, /* Framework bus number */ | 411 | .bus_num = 0, /* Framework bus number */ |
411 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 412 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
412 | .platform_data = &bfin_spi_flash_data, | 413 | .platform_data = &bfin_spi_flash_data, |
413 | .controller_data = &spi_flash_chip_info, | 414 | .controller_data = &spi_flash_chip_info, |
@@ -420,7 +421,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
420 | { | 421 | { |
421 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 422 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
422 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 423 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
423 | .bus_num = 1, /* Framework bus number */ | 424 | .bus_num = 0, /* Framework bus number */ |
424 | .chip_select = 1, /* Framework chip select. */ | 425 | .chip_select = 1, /* Framework chip select. */ |
425 | .platform_data = NULL, /* No spi_driver specific config */ | 426 | .platform_data = NULL, /* No spi_driver specific config */ |
426 | .controller_data = &spi_adc_chip_info, | 427 | .controller_data = &spi_adc_chip_info, |
@@ -432,7 +433,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
432 | { | 433 | { |
433 | .modalias = "ad1836-spi", | 434 | .modalias = "ad1836-spi", |
434 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 435 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
435 | .bus_num = 1, | 436 | .bus_num = 0, |
436 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 437 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
437 | .controller_data = &ad1836_spi_chip_info, | 438 | .controller_data = &ad1836_spi_chip_info, |
438 | }, | 439 | }, |
@@ -441,7 +442,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
441 | { | 442 | { |
442 | .modalias = "ad9960-spi", | 443 | .modalias = "ad9960-spi", |
443 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | 444 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ |
444 | .bus_num = 1, | 445 | .bus_num = 0, |
445 | .chip_select = 1, | 446 | .chip_select = 1, |
446 | .controller_data = &ad9960_spi_chip_info, | 447 | .controller_data = &ad9960_spi_chip_info, |
447 | }, | 448 | }, |
@@ -450,7 +451,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
450 | { | 451 | { |
451 | .modalias = "spi_mmc_dummy", | 452 | .modalias = "spi_mmc_dummy", |
452 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 453 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
453 | .bus_num = 1, | 454 | .bus_num = 0, |
454 | .chip_select = 0, | 455 | .chip_select = 0, |
455 | .platform_data = NULL, | 456 | .platform_data = NULL, |
456 | .controller_data = &spi_mmc_chip_info, | 457 | .controller_data = &spi_mmc_chip_info, |
@@ -459,7 +460,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
459 | { | 460 | { |
460 | .modalias = "spi_mmc", | 461 | .modalias = "spi_mmc", |
461 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 462 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
462 | .bus_num = 1, | 463 | .bus_num = 0, |
463 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 464 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, |
464 | .platform_data = NULL, | 465 | .platform_data = NULL, |
465 | .controller_data = &spi_mmc_chip_info, | 466 | .controller_data = &spi_mmc_chip_info, |
@@ -470,16 +471,16 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
470 | { | 471 | { |
471 | .modalias = "fxs-spi", | 472 | .modalias = "fxs-spi", |
472 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 473 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
473 | .bus_num = 1, | 474 | .bus_num = 0, |
474 | .chip_select = 3, | 475 | .chip_select = 8 - CONFIG_J11_JUMPER, |
475 | .controller_data = &spi_si3xxx_chip_info, | 476 | .controller_data = &spi_si3xxx_chip_info, |
476 | .mode = SPI_MODE_3, | 477 | .mode = SPI_MODE_3, |
477 | }, | 478 | }, |
478 | { | 479 | { |
479 | .modalias = "fxo-spi", | 480 | .modalias = "fxo-spi", |
480 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 481 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
481 | .bus_num = 1, | 482 | .bus_num = 0, |
482 | .chip_select = 2, | 483 | .chip_select = 8 - CONFIG_J19_JUMPER, |
483 | .controller_data = &spi_si3xxx_chip_info, | 484 | .controller_data = &spi_si3xxx_chip_info, |
484 | .mode = SPI_MODE_3, | 485 | .mode = SPI_MODE_3, |
485 | }, | 486 | }, |
@@ -488,7 +489,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
488 | { | 489 | { |
489 | .modalias = "ad5304_spi", | 490 | .modalias = "ad5304_spi", |
490 | .max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */ | 491 | .max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */ |
491 | .bus_num = 1, | 492 | .bus_num = 0, |
492 | .chip_select = 2, | 493 | .chip_select = 2, |
493 | .platform_data = NULL, | 494 | .platform_data = NULL, |
494 | .controller_data = &ad5304_chip_info, | 495 | .controller_data = &ad5304_chip_info, |
@@ -509,23 +510,45 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
509 | }; | 510 | }; |
510 | 511 | ||
511 | /* SPI controller data */ | 512 | /* SPI controller data */ |
512 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 513 | static struct bfin5xx_spi_master bfin_spi0_info = { |
513 | .num_chipselect = 8, | 514 | .num_chipselect = 8, |
514 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 515 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
515 | }; | 516 | }; |
516 | 517 | ||
517 | static struct platform_device spi_bfin_master_device = { | 518 | /* SPI (0) */ |
518 | .name = "bfin-spi-master", | 519 | static struct resource bfin_spi0_resource[] = { |
519 | .id = 1, /* Bus number */ | 520 | [0] = { |
521 | .start = SPI0_REGBASE, | ||
522 | .end = SPI0_REGBASE + 0xFF, | ||
523 | .flags = IORESOURCE_MEM, | ||
524 | }, | ||
525 | [1] = { | ||
526 | .start = CH_SPI, | ||
527 | .end = CH_SPI, | ||
528 | .flags = IORESOURCE_IRQ, | ||
529 | }, | ||
530 | }; | ||
531 | |||
532 | static struct platform_device bfin_spi0_device = { | ||
533 | .name = "bfin-spi", | ||
534 | .id = 0, /* Bus number */ | ||
535 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
536 | .resource = bfin_spi0_resource, | ||
520 | .dev = { | 537 | .dev = { |
521 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 538 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
522 | }, | 539 | }, |
523 | }; | 540 | }; |
524 | #endif /* spi master and devices */ | 541 | #endif /* spi master and devices */ |
525 | 542 | ||
526 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 543 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
527 | static struct platform_device bfin_fb_device = { | 544 | static struct platform_device bfin_fb_device = { |
528 | .name = "bf537-fb", | 545 | .name = "bf537-lq035", |
546 | }; | ||
547 | #endif | ||
548 | |||
549 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
550 | static struct platform_device bfin_fb_adv7393_device = { | ||
551 | .name = "bfin-adv7393", | ||
529 | }; | 552 | }; |
530 | #endif | 553 | #endif |
531 | 554 | ||
@@ -551,9 +574,24 @@ static struct platform_device bfin_uart_device = { | |||
551 | #endif | 574 | #endif |
552 | 575 | ||
553 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | 576 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) |
577 | static struct resource bfin_twi0_resource[] = { | ||
578 | [0] = { | ||
579 | .start = TWI0_REGBASE, | ||
580 | .end = TWI0_REGBASE, | ||
581 | .flags = IORESOURCE_MEM, | ||
582 | }, | ||
583 | [1] = { | ||
584 | .start = IRQ_TWI, | ||
585 | .end = IRQ_TWI, | ||
586 | .flags = IORESOURCE_IRQ, | ||
587 | }, | ||
588 | }; | ||
589 | |||
554 | static struct platform_device i2c_bfin_twi_device = { | 590 | static struct platform_device i2c_bfin_twi_device = { |
555 | .name = "i2c-bfin-twi", | 591 | .name = "i2c-bfin-twi", |
556 | .id = 0, | 592 | .id = 0, |
593 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | ||
594 | .resource = bfin_twi0_resource, | ||
557 | }; | 595 | }; |
558 | #endif | 596 | #endif |
559 | 597 | ||
@@ -569,6 +607,43 @@ static struct platform_device bfin_sport1_uart_device = { | |||
569 | }; | 607 | }; |
570 | #endif | 608 | #endif |
571 | 609 | ||
610 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
611 | #define PATA_INT 55 | ||
612 | |||
613 | static struct pata_platform_info bfin_pata_platform_data = { | ||
614 | .ioport_shift = 1, | ||
615 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
616 | }; | ||
617 | |||
618 | static struct resource bfin_pata_resources[] = { | ||
619 | { | ||
620 | .start = 0x20314020, | ||
621 | .end = 0x2031403F, | ||
622 | .flags = IORESOURCE_MEM, | ||
623 | }, | ||
624 | { | ||
625 | .start = 0x2031401C, | ||
626 | .end = 0x2031401F, | ||
627 | .flags = IORESOURCE_MEM, | ||
628 | }, | ||
629 | { | ||
630 | .start = PATA_INT, | ||
631 | .end = PATA_INT, | ||
632 | .flags = IORESOURCE_IRQ, | ||
633 | }, | ||
634 | }; | ||
635 | |||
636 | static struct platform_device bfin_pata_device = { | ||
637 | .name = "pata_platform", | ||
638 | .id = -1, | ||
639 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
640 | .resource = bfin_pata_resources, | ||
641 | .dev = { | ||
642 | .platform_data = &bfin_pata_platform_data, | ||
643 | } | ||
644 | }; | ||
645 | #endif | ||
646 | |||
572 | static struct platform_device *stamp_devices[] __initdata = { | 647 | static struct platform_device *stamp_devices[] __initdata = { |
573 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 648 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
574 | &bfin_pcmcia_cf_device, | 649 | &bfin_pcmcia_cf_device, |
@@ -603,13 +678,17 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
603 | #endif | 678 | #endif |
604 | 679 | ||
605 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 680 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
606 | &spi_bfin_master_device, | 681 | &bfin_spi0_device, |
607 | #endif | 682 | #endif |
608 | 683 | ||
609 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | 684 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) |
610 | &bfin_fb_device, | 685 | &bfin_fb_device, |
611 | #endif | 686 | #endif |
612 | 687 | ||
688 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
689 | &bfin_fb_adv7393_device, | ||
690 | #endif | ||
691 | |||
613 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 692 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
614 | &bfin_uart_device, | 693 | &bfin_uart_device, |
615 | #endif | 694 | #endif |
@@ -622,6 +701,10 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
622 | &bfin_sport0_uart_device, | 701 | &bfin_sport0_uart_device, |
623 | &bfin_sport1_uart_device, | 702 | &bfin_sport1_uart_device, |
624 | #endif | 703 | #endif |
704 | |||
705 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
706 | &bfin_pata_device, | ||
707 | #endif | ||
625 | }; | 708 | }; |
626 | 709 | ||
627 | static int __init stamp_init(void) | 710 | static int __init stamp_init(void) |
@@ -632,7 +715,18 @@ static int __init stamp_init(void) | |||
632 | spi_register_board_info(bfin_spi_board_info, | 715 | spi_register_board_info(bfin_spi_board_info, |
633 | ARRAY_SIZE(bfin_spi_board_info)); | 716 | ARRAY_SIZE(bfin_spi_board_info)); |
634 | #endif | 717 | #endif |
718 | |||
719 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
720 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
721 | #endif | ||
635 | return 0; | 722 | return 0; |
636 | } | 723 | } |
637 | 724 | ||
638 | arch_initcall(stamp_init); | 725 | arch_initcall(stamp_init); |
726 | |||
727 | void native_machine_restart(char *cmd) | ||
728 | { | ||
729 | /* workaround reboot hang when booting from SPI */ | ||
730 | if ((bfin_read_SYSCR() & 0x7) == 0x3) | ||
731 | bfin_gpio_reset_spi0_ssel1(); | ||
732 | } | ||
diff --git a/arch/blackfin/mach-bf537/head.S b/arch/blackfin/mach-bf537/head.S index 429c8a1019da..3014fe8dd155 100644 --- a/arch/blackfin/mach-bf537/head.S +++ b/arch/blackfin/mach-bf537/head.S | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
34 | 34 | ||
35 | #if CONFIG_BFIN_KERNEL_CLOCK | 35 | #if CONFIG_BFIN_KERNEL_CLOCK |
36 | #include <asm/mach-common/clocks.h> | ||
36 | #include <asm/mach/mem_init.h> | 37 | #include <asm/mach/mem_init.h> |
37 | #endif | 38 | #endif |
38 | 39 | ||
@@ -50,10 +51,12 @@ __INIT | |||
50 | ENTRY(__start) | 51 | ENTRY(__start) |
51 | /* R0: argument of command line string, passed from uboot, save it */ | 52 | /* R0: argument of command line string, passed from uboot, save it */ |
52 | R7 = R0; | 53 | R7 = R0; |
53 | /* Set the SYSCFG register: | 54 | /* Enable Cycle Counter and Nesting Of Interrupts */ |
54 | * Enable Cycle Counter and Nesting Of Interrupts (3rd Bit) | 55 | #ifdef CONFIG_BFIN_SCRATCH_REG_CYCLES |
55 | */ | 56 | R0 = SYSCFG_SNEN; |
56 | R0 = 0x36; | 57 | #else |
58 | R0 = SYSCFG_SNEN | SYSCFG_CCEN; | ||
59 | #endif | ||
57 | SYSCFG = R0; | 60 | SYSCFG = R0; |
58 | R0 = 0; | 61 | R0 = 0; |
59 | 62 | ||
@@ -95,43 +98,43 @@ ENTRY(__start) | |||
95 | M2 = r0; | 98 | M2 = r0; |
96 | M3 = r0; | 99 | M3 = r0; |
97 | 100 | ||
98 | trace_buffer_start(p0,r0); | 101 | trace_buffer_init(p0,r0); |
99 | P0 = R1; | 102 | P0 = R1; |
100 | R0 = R1; | 103 | R0 = R1; |
101 | 104 | ||
102 | /* Turn off the icache */ | 105 | /* Turn off the icache */ |
103 | p0.l = (IMEM_CONTROL & 0xFFFF); | 106 | p0.l = LO(IMEM_CONTROL); |
104 | p0.h = (IMEM_CONTROL >> 16); | 107 | p0.h = HI(IMEM_CONTROL); |
105 | R1 = [p0]; | 108 | R1 = [p0]; |
106 | R0 = ~ENICPLB; | 109 | R0 = ~ENICPLB; |
107 | R0 = R0 & R1; | 110 | R0 = R0 & R1; |
108 | 111 | ||
109 | /* Anomaly 05000125 */ | 112 | /* Anomaly 05000125 */ |
110 | #ifdef ANOMALY_05000125 | 113 | #if ANOMALY_05000125 |
111 | CLI R2; | 114 | CLI R2; |
112 | SSYNC; | 115 | SSYNC; |
113 | #endif | 116 | #endif |
114 | [p0] = R0; | 117 | [p0] = R0; |
115 | SSYNC; | 118 | SSYNC; |
116 | #ifdef ANOMALY_05000125 | 119 | #if ANOMALY_05000125 |
117 | STI R2; | 120 | STI R2; |
118 | #endif | 121 | #endif |
119 | 122 | ||
120 | /* Turn off the dcache */ | 123 | /* Turn off the dcache */ |
121 | p0.l = (DMEM_CONTROL & 0xFFFF); | 124 | p0.l = LO(DMEM_CONTROL); |
122 | p0.h = (DMEM_CONTROL >> 16); | 125 | p0.h = HI(DMEM_CONTROL); |
123 | R1 = [p0]; | 126 | R1 = [p0]; |
124 | R0 = ~ENDCPLB; | 127 | R0 = ~ENDCPLB; |
125 | R0 = R0 & R1; | 128 | R0 = R0 & R1; |
126 | 129 | ||
127 | /* Anomaly 05000125 */ | 130 | /* Anomaly 05000125 */ |
128 | #ifdef ANOMALY_05000125 | 131 | #if ANOMALY_05000125 |
129 | CLI R2; | 132 | CLI R2; |
130 | SSYNC; | 133 | SSYNC; |
131 | #endif | 134 | #endif |
132 | [p0] = R0; | 135 | [p0] = R0; |
133 | SSYNC; | 136 | SSYNC; |
134 | #ifdef ANOMALY_05000125 | 137 | #if ANOMALY_05000125 |
135 | STI R2; | 138 | STI R2; |
136 | #endif | 139 | #endif |
137 | 140 | ||
@@ -141,12 +144,12 @@ ENTRY(__start) | |||
141 | */ | 144 | */ |
142 | p0.h = hi(BFIN_PORT_MUX); | 145 | p0.h = hi(BFIN_PORT_MUX); |
143 | p0.l = lo(BFIN_PORT_MUX); | 146 | p0.l = lo(BFIN_PORT_MUX); |
144 | #ifdef ANOMALY_05000212 | 147 | #if ANOMALY_05000212 |
145 | R0.L = W[P0]; /* Read */ | 148 | R0.L = W[P0]; /* Read */ |
146 | SSYNC; | 149 | SSYNC; |
147 | #endif | 150 | #endif |
148 | R0 = (PGDE_UART | PFTE_UART)(Z); | 151 | R0 = (PGDE_UART | PFTE_UART)(Z); |
149 | #ifdef ANOMALY_05000212 | 152 | #if ANOMALY_05000212 |
150 | W[P0] = R0.L; /* Write */ | 153 | W[P0] = R0.L; /* Write */ |
151 | SSYNC; | 154 | SSYNC; |
152 | #endif | 155 | #endif |
@@ -155,12 +158,12 @@ ENTRY(__start) | |||
155 | 158 | ||
156 | p0.h = hi(PORTF_FER); | 159 | p0.h = hi(PORTF_FER); |
157 | p0.l = lo(PORTF_FER); | 160 | p0.l = lo(PORTF_FER); |
158 | #ifdef ANOMALY_05000212 | 161 | #if ANOMALY_05000212 |
159 | R0.L = W[P0]; /* Read */ | 162 | R0.L = W[P0]; /* Read */ |
160 | SSYNC; | 163 | SSYNC; |
161 | #endif | 164 | #endif |
162 | R0 = 0x000F(Z); | 165 | R0 = 0x000F(Z); |
163 | #ifdef ANOMALY_05000212 | 166 | #if ANOMALY_05000212 |
164 | W[P0] = R0.L; /* Write */ | 167 | W[P0] = R0.L; /* Write */ |
165 | SSYNC; | 168 | SSYNC; |
166 | #endif | 169 | #endif |
@@ -221,6 +224,12 @@ ENTRY(__start) | |||
221 | fp = sp; | 224 | fp = sp; |
222 | usp = sp; | 225 | usp = sp; |
223 | 226 | ||
227 | #ifdef CONFIG_EARLY_PRINTK | ||
228 | SP += -12; | ||
229 | call _init_early_exception_vectors; | ||
230 | SP += 12; | ||
231 | #endif | ||
232 | |||
224 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 233 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
225 | call _bf53x_relocate_l1_mem; | 234 | call _bf53x_relocate_l1_mem; |
226 | #if CONFIG_BFIN_KERNEL_CLOCK | 235 | #if CONFIG_BFIN_KERNEL_CLOCK |
@@ -274,7 +283,7 @@ ENTRY(__start) | |||
274 | p0.l = .LWAIT_HERE; | 283 | p0.l = .LWAIT_HERE; |
275 | p0.h = .LWAIT_HERE; | 284 | p0.h = .LWAIT_HERE; |
276 | reti = p0; | 285 | reti = p0; |
277 | #if defined(ANOMALY_05000281) | 286 | #if ANOMALY_05000281 |
278 | nop; nop; nop; | 287 | nop; nop; nop; |
279 | #endif | 288 | #endif |
280 | rti; | 289 | rti; |
@@ -436,8 +445,8 @@ ENTRY(_start_dma_code) | |||
436 | w[p0] = r0.l; | 445 | w[p0] = r0.l; |
437 | ssync; | 446 | ssync; |
438 | 447 | ||
439 | p0.l = (EBIU_SDBCTL & 0xFFFF); | 448 | p0.l = LO(EBIU_SDBCTL); |
440 | p0.h = (EBIU_SDBCTL >> 16); /* SDRAM Memory Bank Control Register */ | 449 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ |
441 | r0 = mem_SDBCTL; | 450 | r0 = mem_SDBCTL; |
442 | w[p0] = r0.l; | 451 | w[p0] = r0.l; |
443 | ssync; | 452 | ssync; |
@@ -475,85 +484,6 @@ ENTRY(_start_dma_code) | |||
475 | ENDPROC(_start_dma_code) | 484 | ENDPROC(_start_dma_code) |
476 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | 485 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
477 | 486 | ||
478 | ENTRY(_bfin_reset) | ||
479 | /* No more interrupts to be handled*/ | ||
480 | CLI R6; | ||
481 | SSYNC; | ||
482 | |||
483 | #if defined(CONFIG_MTD_M25P80) | ||
484 | /* | ||
485 | * The following code fix the SPI flash reboot issue, | ||
486 | * /CS signal of the chip which is using PF10 return to GPIO mode | ||
487 | */ | ||
488 | p0.h = hi(PORTF_FER); | ||
489 | p0.l = lo(PORTF_FER); | ||
490 | r0.l = 0x0000; | ||
491 | w[p0] = r0.l; | ||
492 | SSYNC; | ||
493 | |||
494 | /* /CS return to high */ | ||
495 | p0.h = hi(PORTFIO); | ||
496 | p0.l = lo(PORTFIO); | ||
497 | r0.l = 0xFFFF; | ||
498 | w[p0] = r0.l; | ||
499 | SSYNC; | ||
500 | |||
501 | /* Delay some time, This is necessary */ | ||
502 | r1.h = 0; | ||
503 | r1.l = 0x400; | ||
504 | p1 = r1; | ||
505 | lsetup (.L_delay_lab1, .L_delay_lab1_end) lc1 = p1; | ||
506 | .L_delay_lab1: | ||
507 | r0.h = 0; | ||
508 | r0.l = 0x8000; | ||
509 | p0 = r0; | ||
510 | lsetup (.L_delay_lab0, .L_delay_lab0_end) lc0 = p0; | ||
511 | .L_delay_lab0: | ||
512 | nop; | ||
513 | .L_delay_lab0_end: | ||
514 | nop; | ||
515 | .L_delay_lab1_end: | ||
516 | nop; | ||
517 | #endif | ||
518 | |||
519 | /* Clear the IMASK register */ | ||
520 | p0.h = hi(IMASK); | ||
521 | p0.l = lo(IMASK); | ||
522 | r0 = 0x0; | ||
523 | [p0] = r0; | ||
524 | |||
525 | /* Clear the ILAT register */ | ||
526 | p0.h = hi(ILAT); | ||
527 | p0.l = lo(ILAT); | ||
528 | r0 = [p0]; | ||
529 | [p0] = r0; | ||
530 | SSYNC; | ||
531 | |||
532 | /* make sure SYSCR is set to use BMODE */ | ||
533 | P0.h = hi(SYSCR); | ||
534 | P0.l = lo(SYSCR); | ||
535 | R0.l = 0x0; | ||
536 | W[P0] = R0.l; | ||
537 | SSYNC; | ||
538 | |||
539 | /* issue a system soft reset */ | ||
540 | P1.h = hi(SWRST); | ||
541 | P1.l = lo(SWRST); | ||
542 | R1.l = 0x0007; | ||
543 | W[P1] = R1; | ||
544 | SSYNC; | ||
545 | |||
546 | /* clear system soft reset */ | ||
547 | R0.l = 0x0000; | ||
548 | W[P0] = R0; | ||
549 | SSYNC; | ||
550 | |||
551 | /* issue core reset */ | ||
552 | raise 1; | ||
553 | |||
554 | RTS; | ||
555 | ENDPROC(_bfin_reset) | ||
556 | |||
557 | .data | 487 | .data |
558 | 488 | ||
559 | /* | 489 | /* |
diff --git a/arch/blackfin/mach-bf548/Kconfig b/arch/blackfin/mach-bf548/Kconfig index e78b03d56c7c..08d8dc83701c 100644 --- a/arch/blackfin/mach-bf548/Kconfig +++ b/arch/blackfin/mach-bf548/Kconfig | |||
@@ -2,6 +2,13 @@ if (BF54x) | |||
2 | 2 | ||
3 | menu "BF548 Specific Configuration" | 3 | menu "BF548 Specific Configuration" |
4 | 4 | ||
5 | config DEB_DMA_URGENT | ||
6 | bool "DMA has priority over core for ext. accesses" | ||
7 | depends on BF54x | ||
8 | default n | ||
9 | help | ||
10 | Treat any DEB1, DEB2 and DEB3 request as Urgent | ||
11 | |||
5 | comment "Interrupt Priority Assignment" | 12 | comment "Interrupt Priority Assignment" |
6 | menu "Priority" | 13 | menu "Priority" |
7 | 14 | ||
@@ -282,7 +289,7 @@ menu "Assignment" | |||
282 | 289 | ||
283 | config PINTx_REASSIGN | 290 | config PINTx_REASSIGN |
284 | bool "Reprogram PINT Assignment" | 291 | bool "Reprogram PINT Assignment" |
285 | default n | 292 | default y |
286 | help | 293 | help |
287 | The interrupt assignment registers controls the pin-to-interrupt | 294 | The interrupt assignment registers controls the pin-to-interrupt |
288 | assignment in a byte-wide manner. Each option allows you to select | 295 | assignment in a byte-wide manner. Each option allows you to select |
@@ -303,7 +310,7 @@ config PINT1_ASSIGN | |||
303 | config PINT2_ASSIGN | 310 | config PINT2_ASSIGN |
304 | hex "PINT2_ASSIGN" | 311 | hex "PINT2_ASSIGN" |
305 | depends on PINTx_REASSIGN | 312 | depends on PINTx_REASSIGN |
306 | default 0x00000101 | 313 | default 0x07000101 |
307 | config PINT3_ASSIGN | 314 | config PINT3_ASSIGN |
308 | hex "PINT3_ASSIGN" | 315 | hex "PINT3_ASSIGN" |
309 | depends on PINTx_REASSIGN | 316 | depends on PINTx_REASSIGN |
diff --git a/arch/blackfin/mach-bf548/Makefile b/arch/blackfin/mach-bf548/Makefile index 060ad78ebf1d..7e7c9c8ac5b2 100644 --- a/arch/blackfin/mach-bf548/Makefile +++ b/arch/blackfin/mach-bf548/Makefile | |||
@@ -4,6 +4,6 @@ | |||
4 | 4 | ||
5 | extra-y := head.o | 5 | extra-y := head.o |
6 | 6 | ||
7 | obj-y := ints-priority.o dma.o gpio.o | 7 | obj-y := ints-priority.o dma.o |
8 | 8 | ||
9 | obj-$(CONFIG_CPU_FREQ) += cpu.o | 9 | obj-$(CONFIG_CPU_FREQ) += cpu.o |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 96ad95fab1a8..2c47db494f7d 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -35,9 +35,16 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/irq.h> | 37 | #include <linux/irq.h> |
38 | #include <linux/irq.h> | ||
39 | #include <linux/interrupt.h> | 38 | #include <linux/interrupt.h> |
39 | #include <linux/usb/musb.h> | ||
40 | #include <asm/bfin5xx_spi.h> | 40 | #include <asm/bfin5xx_spi.h> |
41 | #include <asm/cplb.h> | ||
42 | #include <asm/dma.h> | ||
43 | #include <asm/gpio.h> | ||
44 | #include <asm/nand.h> | ||
45 | #include <asm/mach/bf54x_keys.h> | ||
46 | #include <linux/input.h> | ||
47 | #include <linux/spi/ad7877.h> | ||
41 | 48 | ||
42 | /* | 49 | /* |
43 | * Name the Board for the /proc/cpuinfo | 50 | * Name the Board for the /proc/cpuinfo |
@@ -48,6 +55,88 @@ char *bfin_board_name = "ADSP-BF548-EZKIT"; | |||
48 | * Driver needs to know address, irq and flag pin. | 55 | * Driver needs to know address, irq and flag pin. |
49 | */ | 56 | */ |
50 | 57 | ||
58 | #if defined(CONFIG_FB_BF54X_LQ043) || defined(CONFIG_FB_BF54X_LQ043_MODULE) | ||
59 | |||
60 | #include <asm/mach/bf54x-lq043.h> | ||
61 | |||
62 | static struct bfin_bf54xfb_mach_info bf54x_lq043_data = { | ||
63 | .width = 480, | ||
64 | .height = 272, | ||
65 | .xres = {480, 480, 480}, | ||
66 | .yres = {272, 272, 272}, | ||
67 | .bpp = {24, 24, 24}, | ||
68 | .disp = GPIO_PE3, | ||
69 | }; | ||
70 | |||
71 | static struct resource bf54x_lq043_resources[] = { | ||
72 | { | ||
73 | .start = IRQ_EPPI0_ERR, | ||
74 | .end = IRQ_EPPI0_ERR, | ||
75 | .flags = IORESOURCE_IRQ, | ||
76 | }, | ||
77 | }; | ||
78 | |||
79 | static struct platform_device bf54x_lq043_device = { | ||
80 | .name = "bf54x-lq043", | ||
81 | .id = -1, | ||
82 | .num_resources = ARRAY_SIZE(bf54x_lq043_resources), | ||
83 | .resource = bf54x_lq043_resources, | ||
84 | .dev = { | ||
85 | .platform_data = &bf54x_lq043_data, | ||
86 | }, | ||
87 | }; | ||
88 | #endif | ||
89 | |||
90 | #if defined(CONFIG_KEYBOARD_BFIN) || defined(CONFIG_KEYBOARD_BFIN_MODULE) | ||
91 | static int bf548_keymap[] = { | ||
92 | KEYVAL(0, 0, KEY_ENTER), | ||
93 | KEYVAL(0, 1, KEY_HELP), | ||
94 | KEYVAL(0, 2, KEY_0), | ||
95 | KEYVAL(0, 3, KEY_BACKSPACE), | ||
96 | KEYVAL(1, 0, KEY_TAB), | ||
97 | KEYVAL(1, 1, KEY_9), | ||
98 | KEYVAL(1, 2, KEY_8), | ||
99 | KEYVAL(1, 3, KEY_7), | ||
100 | KEYVAL(2, 0, KEY_DOWN), | ||
101 | KEYVAL(2, 1, KEY_6), | ||
102 | KEYVAL(2, 2, KEY_5), | ||
103 | KEYVAL(2, 3, KEY_4), | ||
104 | KEYVAL(3, 0, KEY_UP), | ||
105 | KEYVAL(3, 1, KEY_3), | ||
106 | KEYVAL(3, 2, KEY_2), | ||
107 | KEYVAL(3, 3, KEY_1), | ||
108 | }; | ||
109 | |||
110 | static struct bfin_kpad_platform_data bf54x_kpad_data = { | ||
111 | .rows = 4, | ||
112 | .cols = 4, | ||
113 | .keymap = bf548_keymap, | ||
114 | .keymapsize = ARRAY_SIZE(bf548_keymap), | ||
115 | .repeat = 0, | ||
116 | .debounce_time = 5000, /* ns (5ms) */ | ||
117 | .coldrive_time = 1000, /* ns (1ms) */ | ||
118 | .keyup_test_interval = 50, /* ms (50ms) */ | ||
119 | }; | ||
120 | |||
121 | static struct resource bf54x_kpad_resources[] = { | ||
122 | { | ||
123 | .start = IRQ_KEY, | ||
124 | .end = IRQ_KEY, | ||
125 | .flags = IORESOURCE_IRQ, | ||
126 | }, | ||
127 | }; | ||
128 | |||
129 | static struct platform_device bf54x_kpad_device = { | ||
130 | .name = "bf54x-keys", | ||
131 | .id = -1, | ||
132 | .num_resources = ARRAY_SIZE(bf54x_kpad_resources), | ||
133 | .resource = bf54x_kpad_resources, | ||
134 | .dev = { | ||
135 | .platform_data = &bf54x_kpad_data, | ||
136 | }, | ||
137 | }; | ||
138 | #endif | ||
139 | |||
51 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 140 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
52 | static struct platform_device rtc_device = { | 141 | static struct platform_device rtc_device = { |
53 | .name = "rtc-bfin", | 142 | .name = "rtc-bfin", |
@@ -94,6 +183,344 @@ static struct platform_device bfin_uart_device = { | |||
94 | }; | 183 | }; |
95 | #endif | 184 | #endif |
96 | 185 | ||
186 | #if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE) | ||
187 | static struct resource smsc911x_resources[] = { | ||
188 | { | ||
189 | .name = "smsc911x-memory", | ||
190 | .start = 0x24000000, | ||
191 | .end = 0x24000000 + 0xFF, | ||
192 | .flags = IORESOURCE_MEM, | ||
193 | }, | ||
194 | { | ||
195 | .start = IRQ_PE8, | ||
196 | .end = IRQ_PE8, | ||
197 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
198 | }, | ||
199 | }; | ||
200 | static struct platform_device smsc911x_device = { | ||
201 | .name = "smsc911x", | ||
202 | .id = 0, | ||
203 | .num_resources = ARRAY_SIZE(smsc911x_resources), | ||
204 | .resource = smsc911x_resources, | ||
205 | }; | ||
206 | #endif | ||
207 | |||
208 | #if defined(CONFIG_USB_BF54x_HCD) || defined(CONFIG_USB_BF54x_HCD_MODULE) | ||
209 | static struct resource bf54x_hcd_resources[] = { | ||
210 | { | ||
211 | .start = 0xFFC03C00, | ||
212 | .end = 0xFFC040FF, | ||
213 | .flags = IORESOURCE_MEM, | ||
214 | }, | ||
215 | }; | ||
216 | |||
217 | static struct platform_device bf54x_hcd = { | ||
218 | .name = "bf54x-hcd", | ||
219 | .id = 0, | ||
220 | .num_resources = ARRAY_SIZE(bf54x_hcd_resources), | ||
221 | .resource = bf54x_hcd_resources, | ||
222 | }; | ||
223 | #endif | ||
224 | |||
225 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
226 | static struct resource musb_resources[] = { | ||
227 | [0] = { | ||
228 | .start = 0xFFC03C00, | ||
229 | .end = 0xFFC040FF, | ||
230 | .flags = IORESOURCE_MEM, | ||
231 | }, | ||
232 | [1] = { /* general IRQ */ | ||
233 | .start = IRQ_USB_INT0, | ||
234 | .end = IRQ_USB_INT0, | ||
235 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
236 | }, | ||
237 | [2] = { /* DMA IRQ */ | ||
238 | .start = IRQ_USB_DMA, | ||
239 | .end = IRQ_USB_DMA, | ||
240 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
241 | }, | ||
242 | }; | ||
243 | |||
244 | static struct musb_hdrc_platform_data musb_plat = { | ||
245 | #ifdef CONFIG_USB_MUSB_OTG | ||
246 | .mode = MUSB_OTG, | ||
247 | #elif CONFIG_USB_MUSB_HDRC_HCD | ||
248 | .mode = MUSB_HOST, | ||
249 | #elif CONFIG_USB_GADGET_MUSB_HDRC | ||
250 | .mode = MUSB_PERIPHERAL, | ||
251 | #endif | ||
252 | .multipoint = 1, | ||
253 | }; | ||
254 | |||
255 | static u64 musb_dmamask = ~(u32)0; | ||
256 | |||
257 | static struct platform_device musb_device = { | ||
258 | .name = "musb_hdrc", | ||
259 | .id = 0, | ||
260 | .dev = { | ||
261 | .dma_mask = &musb_dmamask, | ||
262 | .coherent_dma_mask = 0xffffffff, | ||
263 | .platform_data = &musb_plat, | ||
264 | }, | ||
265 | .num_resources = ARRAY_SIZE(musb_resources), | ||
266 | .resource = musb_resources, | ||
267 | }; | ||
268 | #endif | ||
269 | |||
270 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | ||
271 | static struct resource bfin_atapi_resources[] = { | ||
272 | { | ||
273 | .start = 0xFFC03800, | ||
274 | .end = 0xFFC0386F, | ||
275 | .flags = IORESOURCE_MEM, | ||
276 | }, | ||
277 | { | ||
278 | .start = IRQ_ATAPI_ERR, | ||
279 | .end = IRQ_ATAPI_ERR, | ||
280 | .flags = IORESOURCE_IRQ, | ||
281 | }, | ||
282 | }; | ||
283 | |||
284 | static struct platform_device bfin_atapi_device = { | ||
285 | .name = "pata-bf54x", | ||
286 | .id = -1, | ||
287 | .num_resources = ARRAY_SIZE(bfin_atapi_resources), | ||
288 | .resource = bfin_atapi_resources, | ||
289 | }; | ||
290 | #endif | ||
291 | |||
292 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
293 | static struct mtd_partition partition_info[] = { | ||
294 | { | ||
295 | .name = "Linux Kernel", | ||
296 | .offset = 0, | ||
297 | .size = 4 * SIZE_1M, | ||
298 | }, | ||
299 | { | ||
300 | .name = "File System", | ||
301 | .offset = 4 * SIZE_1M, | ||
302 | .size = (256 - 4) * SIZE_1M, | ||
303 | }, | ||
304 | }; | ||
305 | |||
306 | static struct bf5xx_nand_platform bf5xx_nand_platform = { | ||
307 | .page_size = NFC_PG_SIZE_256, | ||
308 | .data_width = NFC_NWIDTH_8, | ||
309 | .partitions = partition_info, | ||
310 | .nr_partitions = ARRAY_SIZE(partition_info), | ||
311 | .rd_dly = 3, | ||
312 | .wr_dly = 3, | ||
313 | }; | ||
314 | |||
315 | static struct resource bf5xx_nand_resources[] = { | ||
316 | { | ||
317 | .start = 0xFFC03B00, | ||
318 | .end = 0xFFC03B4F, | ||
319 | .flags = IORESOURCE_MEM, | ||
320 | }, | ||
321 | { | ||
322 | .start = CH_NFC, | ||
323 | .end = CH_NFC, | ||
324 | .flags = IORESOURCE_IRQ, | ||
325 | }, | ||
326 | }; | ||
327 | |||
328 | static struct platform_device bf5xx_nand_device = { | ||
329 | .name = "bf5xx-nand", | ||
330 | .id = 0, | ||
331 | .num_resources = ARRAY_SIZE(bf5xx_nand_resources), | ||
332 | .resource = bf5xx_nand_resources, | ||
333 | .dev = { | ||
334 | .platform_data = &bf5xx_nand_platform, | ||
335 | }, | ||
336 | }; | ||
337 | #endif | ||
338 | |||
339 | #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN) | ||
340 | static struct platform_device bf54x_sdh_device = { | ||
341 | .name = "bfin-sdh", | ||
342 | .id = 0, | ||
343 | }; | ||
344 | #endif | ||
345 | |||
346 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
347 | /* all SPI peripherals info goes here */ | ||
348 | #if defined(CONFIG_MTD_M25P80) \ | ||
349 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
350 | /* SPI flash chip (m25p16) */ | ||
351 | static struct mtd_partition bfin_spi_flash_partitions[] = { | ||
352 | { | ||
353 | .name = "bootloader", | ||
354 | .size = 0x00040000, | ||
355 | .offset = 0, | ||
356 | .mask_flags = MTD_CAP_ROM | ||
357 | }, { | ||
358 | .name = "linux kernel", | ||
359 | .size = 0x1c0000, | ||
360 | .offset = 0x40000 | ||
361 | } | ||
362 | }; | ||
363 | |||
364 | static struct flash_platform_data bfin_spi_flash_data = { | ||
365 | .name = "m25p80", | ||
366 | .parts = bfin_spi_flash_partitions, | ||
367 | .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), | ||
368 | .type = "m25p16", | ||
369 | }; | ||
370 | |||
371 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | ||
372 | .enable_dma = 0, /* use dma transfer with this chip*/ | ||
373 | .bits_per_word = 8, | ||
374 | .cs_change_per_word = 0, | ||
375 | }; | ||
376 | #endif | ||
377 | |||
378 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
379 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | ||
380 | .cs_change_per_word = 1, | ||
381 | .enable_dma = 0, | ||
382 | .bits_per_word = 16, | ||
383 | }; | ||
384 | |||
385 | static const struct ad7877_platform_data bfin_ad7877_ts_info = { | ||
386 | .model = 7877, | ||
387 | .vref_delay_usecs = 50, /* internal, no capacitor */ | ||
388 | .x_plate_ohms = 419, | ||
389 | .y_plate_ohms = 486, | ||
390 | .pressure_max = 1000, | ||
391 | .pressure_min = 0, | ||
392 | .stopacq_polarity = 1, | ||
393 | .first_conversion_delay = 3, | ||
394 | .acquisition_time = 1, | ||
395 | .averaging = 1, | ||
396 | .pen_down_acc_interval = 1, | ||
397 | }; | ||
398 | #endif | ||
399 | |||
400 | static struct spi_board_info bf54x_spi_board_info[] __initdata = { | ||
401 | #if defined(CONFIG_MTD_M25P80) \ | ||
402 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
403 | { | ||
404 | /* the modalias must be the same as spi device driver name */ | ||
405 | .modalias = "m25p80", /* Name of spi_driver for this device */ | ||
406 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
407 | .bus_num = 0, /* Framework bus number */ | ||
408 | .chip_select = 1, /* SPI_SSEL1*/ | ||
409 | .platform_data = &bfin_spi_flash_data, | ||
410 | .controller_data = &spi_flash_chip_info, | ||
411 | .mode = SPI_MODE_3, | ||
412 | }, | ||
413 | #endif | ||
414 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
415 | { | ||
416 | .modalias = "ad7877", | ||
417 | .platform_data = &bfin_ad7877_ts_info, | ||
418 | .irq = IRQ_PJ11, | ||
419 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
420 | .bus_num = 0, | ||
421 | .chip_select = 2, | ||
422 | .controller_data = &spi_ad7877_chip_info, | ||
423 | }, | ||
424 | #endif | ||
425 | }; | ||
426 | |||
427 | /* SPI (0) */ | ||
428 | static struct resource bfin_spi0_resource[] = { | ||
429 | [0] = { | ||
430 | .start = SPI0_REGBASE, | ||
431 | .end = SPI0_REGBASE + 0xFF, | ||
432 | .flags = IORESOURCE_MEM, | ||
433 | }, | ||
434 | [1] = { | ||
435 | .start = CH_SPI0, | ||
436 | .end = CH_SPI0, | ||
437 | .flags = IORESOURCE_IRQ, | ||
438 | } | ||
439 | }; | ||
440 | |||
441 | /* SPI (1) */ | ||
442 | static struct resource bfin_spi1_resource[] = { | ||
443 | [0] = { | ||
444 | .start = SPI1_REGBASE, | ||
445 | .end = SPI1_REGBASE + 0xFF, | ||
446 | .flags = IORESOURCE_MEM, | ||
447 | }, | ||
448 | [1] = { | ||
449 | .start = CH_SPI1, | ||
450 | .end = CH_SPI1, | ||
451 | .flags = IORESOURCE_IRQ, | ||
452 | } | ||
453 | }; | ||
454 | |||
455 | /* SPI controller data */ | ||
456 | static struct bfin5xx_spi_master bf54x_spi_master_info = { | ||
457 | .num_chipselect = 8, | ||
458 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
459 | }; | ||
460 | |||
461 | static struct platform_device bf54x_spi_master0 = { | ||
462 | .name = "bfin-spi", | ||
463 | .id = 0, /* Bus number */ | ||
464 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
465 | .resource = bfin_spi0_resource, | ||
466 | .dev = { | ||
467 | .platform_data = &bf54x_spi_master_info, /* Passed to driver */ | ||
468 | }, | ||
469 | }; | ||
470 | |||
471 | static struct platform_device bf54x_spi_master1 = { | ||
472 | .name = "bfin-spi", | ||
473 | .id = 1, /* Bus number */ | ||
474 | .num_resources = ARRAY_SIZE(bfin_spi1_resource), | ||
475 | .resource = bfin_spi1_resource, | ||
476 | .dev = { | ||
477 | .platform_data = &bf54x_spi_master_info, /* Passed to driver */ | ||
478 | }, | ||
479 | }; | ||
480 | #endif /* spi master and devices */ | ||
481 | |||
482 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
483 | static struct resource bfin_twi0_resource[] = { | ||
484 | [0] = { | ||
485 | .start = TWI0_REGBASE, | ||
486 | .end = TWI0_REGBASE + 0xFF, | ||
487 | .flags = IORESOURCE_MEM, | ||
488 | }, | ||
489 | [1] = { | ||
490 | .start = IRQ_TWI0, | ||
491 | .end = IRQ_TWI0, | ||
492 | .flags = IORESOURCE_IRQ, | ||
493 | }, | ||
494 | }; | ||
495 | |||
496 | static struct platform_device i2c_bfin_twi0_device = { | ||
497 | .name = "i2c-bfin-twi", | ||
498 | .id = 0, | ||
499 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | ||
500 | .resource = bfin_twi0_resource, | ||
501 | }; | ||
502 | |||
503 | static struct resource bfin_twi1_resource[] = { | ||
504 | [0] = { | ||
505 | .start = TWI1_REGBASE, | ||
506 | .end = TWI1_REGBASE + 0xFF, | ||
507 | .flags = IORESOURCE_MEM, | ||
508 | }, | ||
509 | [1] = { | ||
510 | .start = IRQ_TWI1, | ||
511 | .end = IRQ_TWI1, | ||
512 | .flags = IORESOURCE_IRQ, | ||
513 | }, | ||
514 | }; | ||
515 | |||
516 | static struct platform_device i2c_bfin_twi1_device = { | ||
517 | .name = "i2c-bfin-twi", | ||
518 | .id = 1, | ||
519 | .num_resources = ARRAY_SIZE(bfin_twi1_resource), | ||
520 | .resource = bfin_twi1_resource, | ||
521 | }; | ||
522 | #endif | ||
523 | |||
97 | static struct platform_device *ezkit_devices[] __initdata = { | 524 | static struct platform_device *ezkit_devices[] __initdata = { |
98 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 525 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
99 | &rtc_device, | 526 | &rtc_device, |
@@ -102,12 +529,60 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
102 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 529 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
103 | &bfin_uart_device, | 530 | &bfin_uart_device, |
104 | #endif | 531 | #endif |
532 | |||
533 | #if defined(CONFIG_FB_BF54X_LQ043) || defined(CONFIG_FB_BF54X_LQ043_MODULE) | ||
534 | &bf54x_lq043_device, | ||
535 | #endif | ||
536 | |||
537 | #if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE) | ||
538 | &smsc911x_device, | ||
539 | #endif | ||
540 | |||
541 | #if defined(CONFIG_USB_BF54x_HCD) || defined(CONFIG_USB_BF54x_HCD_MODULE) | ||
542 | &bf54x_hcd, | ||
543 | #endif | ||
544 | |||
545 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
546 | &musb_device, | ||
547 | #endif | ||
548 | |||
549 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | ||
550 | &bfin_atapi_device, | ||
551 | #endif | ||
552 | |||
553 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
554 | &bf5xx_nand_device, | ||
555 | #endif | ||
556 | |||
557 | #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN) | ||
558 | &bf54x_sdh_device, | ||
559 | #endif | ||
560 | |||
561 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
562 | &bf54x_spi_master0, | ||
563 | /* &bf54x_spi_master1,*/ | ||
564 | #endif | ||
565 | |||
566 | #if defined(CONFIG_KEYBOARD_BFIN) || defined(CONFIG_KEYBOARD_BFIN_MODULE) | ||
567 | &bf54x_kpad_device, | ||
568 | #endif | ||
569 | |||
570 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
571 | &i2c_bfin_twi0_device, | ||
572 | &i2c_bfin_twi1_device, | ||
573 | #endif | ||
105 | }; | 574 | }; |
106 | 575 | ||
107 | static int __init stamp_init(void) | 576 | static int __init stamp_init(void) |
108 | { | 577 | { |
109 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 578 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); |
110 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); | 579 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); |
580 | |||
581 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
582 | spi_register_board_info(bf54x_spi_board_info, | ||
583 | ARRAY_SIZE(bf54x_spi_board_info)); | ||
584 | #endif | ||
585 | |||
111 | return 0; | 586 | return 0; |
112 | } | 587 | } |
113 | 588 | ||
diff --git a/arch/blackfin/mach-bf548/gpio.c b/arch/blackfin/mach-bf548/gpio.c deleted file mode 100644 index 0da5f0003b8c..000000000000 --- a/arch/blackfin/mach-bf548/gpio.c +++ /dev/null | |||
@@ -1,323 +0,0 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-bf548/gpio.c | ||
3 | * Based on: | ||
4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
5 | * | ||
6 | * Created: | ||
7 | * Description: GPIO Abstraction Layer | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | ||
29 | |||
30 | #include <linux/module.h> | ||
31 | #include <linux/err.h> | ||
32 | #include <asm/blackfin.h> | ||
33 | #include <asm/gpio.h> | ||
34 | #include <asm/portmux.h> | ||
35 | #include <linux/irq.h> | ||
36 | |||
37 | static struct gpio_port_t *gpio_array[gpio_bank(MAX_BLACKFIN_GPIOS)] = { | ||
38 | (struct gpio_port_t *)PORTA_FER, | ||
39 | (struct gpio_port_t *)PORTB_FER, | ||
40 | (struct gpio_port_t *)PORTC_FER, | ||
41 | (struct gpio_port_t *)PORTD_FER, | ||
42 | (struct gpio_port_t *)PORTE_FER, | ||
43 | (struct gpio_port_t *)PORTF_FER, | ||
44 | (struct gpio_port_t *)PORTG_FER, | ||
45 | (struct gpio_port_t *)PORTH_FER, | ||
46 | (struct gpio_port_t *)PORTI_FER, | ||
47 | (struct gpio_port_t *)PORTJ_FER, | ||
48 | }; | ||
49 | |||
50 | static unsigned short reserved_gpio_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; | ||
51 | static unsigned short reserved_peri_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; | ||
52 | |||
53 | inline int check_gpio(unsigned short gpio) | ||
54 | { | ||
55 | if (gpio == GPIO_PB15 || gpio == GPIO_PC14 || gpio == GPIO_PC15 | ||
56 | || gpio == GPIO_PH14 || gpio == GPIO_PH15 | ||
57 | || gpio == GPIO_PJ14 || gpio == GPIO_PJ15 | ||
58 | || gpio > MAX_BLACKFIN_GPIOS) | ||
59 | return -EINVAL; | ||
60 | return 0; | ||
61 | } | ||
62 | |||
63 | inline void portmux_setup(unsigned short portno, unsigned short function) | ||
64 | { | ||
65 | u32 pmux; | ||
66 | |||
67 | pmux = gpio_array[gpio_bank(portno)]->port_mux; | ||
68 | |||
69 | pmux &= ~(0x3 << (2 * gpio_sub_n(portno))); | ||
70 | pmux |= (function & 0x3) << (2 * gpio_sub_n(portno)); | ||
71 | |||
72 | gpio_array[gpio_bank(portno)]->port_mux = pmux; | ||
73 | |||
74 | } | ||
75 | |||
76 | inline u16 get_portmux(unsigned short portno) | ||
77 | { | ||
78 | u32 pmux; | ||
79 | |||
80 | pmux = gpio_array[gpio_bank(portno)]->port_mux; | ||
81 | |||
82 | return (pmux >> (2 * gpio_sub_n(portno)) & 0x3); | ||
83 | |||
84 | } | ||
85 | |||
86 | static void port_setup(unsigned short gpio, unsigned short usage) | ||
87 | { | ||
88 | if (usage == GPIO_USAGE) { | ||
89 | if (gpio_array[gpio_bank(gpio)]->port_fer & gpio_bit(gpio)) | ||
90 | printk(KERN_WARNING | ||
91 | "bfin-gpio: Possible Conflict with Peripheral " | ||
92 | "usage and GPIO %d detected!\n", gpio); | ||
93 | gpio_array[gpio_bank(gpio)]->port_fer &= ~gpio_bit(gpio); | ||
94 | } else | ||
95 | gpio_array[gpio_bank(gpio)]->port_fer |= gpio_bit(gpio); | ||
96 | SSYNC(); | ||
97 | } | ||
98 | |||
99 | static int __init bfin_gpio_init(void) | ||
100 | { | ||
101 | printk(KERN_INFO "Blackfin GPIO Controller\n"); | ||
102 | |||
103 | return 0; | ||
104 | } | ||
105 | |||
106 | arch_initcall(bfin_gpio_init); | ||
107 | |||
108 | int peripheral_request(unsigned short per, const char *label) | ||
109 | { | ||
110 | unsigned long flags; | ||
111 | unsigned short ident = P_IDENT(per); | ||
112 | |||
113 | if (!(per & P_DEFINED)) | ||
114 | return -ENODEV; | ||
115 | |||
116 | if (check_gpio(ident) < 0) | ||
117 | return -EINVAL; | ||
118 | |||
119 | local_irq_save(flags); | ||
120 | |||
121 | if (unlikely(reserved_gpio_map[gpio_bank(ident)] & gpio_bit(ident))) { | ||
122 | printk(KERN_ERR | ||
123 | "%s: Peripheral %d is already reserved as GPIO!\n", | ||
124 | __FUNCTION__, per); | ||
125 | dump_stack(); | ||
126 | local_irq_restore(flags); | ||
127 | return -EBUSY; | ||
128 | } | ||
129 | |||
130 | if (unlikely(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident))) { | ||
131 | |||
132 | u16 funct = get_portmux(ident); | ||
133 | |||
134 | if (!((per & P_MAYSHARE) && (funct == P_FUNCT2MUX(per)))) { | ||
135 | printk(KERN_ERR | ||
136 | "%s: Peripheral %d is already reserved!\n", | ||
137 | __FUNCTION__, per); | ||
138 | dump_stack(); | ||
139 | local_irq_restore(flags); | ||
140 | return -EBUSY; | ||
141 | } | ||
142 | } | ||
143 | |||
144 | reserved_peri_map[gpio_bank(ident)] |= gpio_bit(ident); | ||
145 | |||
146 | portmux_setup(ident, P_FUNCT2MUX(per)); | ||
147 | port_setup(ident, PERIPHERAL_USAGE); | ||
148 | |||
149 | local_irq_restore(flags); | ||
150 | |||
151 | return 0; | ||
152 | } | ||
153 | EXPORT_SYMBOL(peripheral_request); | ||
154 | |||
155 | int peripheral_request_list(unsigned short per[], const char *label) | ||
156 | { | ||
157 | |||
158 | u16 cnt; | ||
159 | int ret; | ||
160 | |||
161 | for (cnt = 0; per[cnt] != 0; cnt++) { | ||
162 | ret = peripheral_request(per[cnt], label); | ||
163 | if (ret < 0) | ||
164 | return ret; | ||
165 | } | ||
166 | |||
167 | return 0; | ||
168 | } | ||
169 | EXPORT_SYMBOL(peripheral_request_list); | ||
170 | |||
171 | void peripheral_free(unsigned short per) | ||
172 | { | ||
173 | unsigned long flags; | ||
174 | unsigned short ident = P_IDENT(per); | ||
175 | |||
176 | if (!(per & P_DEFINED)) | ||
177 | return; | ||
178 | |||
179 | if (check_gpio(ident) < 0) | ||
180 | return; | ||
181 | |||
182 | local_irq_save(flags); | ||
183 | |||
184 | if (unlikely(!(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident)))) { | ||
185 | printk(KERN_ERR "bfin-gpio: Peripheral %d wasn't reserved!\n", per); | ||
186 | dump_stack(); | ||
187 | local_irq_restore(flags); | ||
188 | return; | ||
189 | } | ||
190 | |||
191 | if (!(per & P_MAYSHARE)) { | ||
192 | port_setup(ident, GPIO_USAGE); | ||
193 | } | ||
194 | |||
195 | reserved_peri_map[gpio_bank(ident)] &= ~gpio_bit(ident); | ||
196 | |||
197 | local_irq_restore(flags); | ||
198 | } | ||
199 | EXPORT_SYMBOL(peripheral_free); | ||
200 | |||
201 | void peripheral_free_list(unsigned short per[]) | ||
202 | { | ||
203 | u16 cnt; | ||
204 | |||
205 | for (cnt = 0; per[cnt] != 0; cnt++) { | ||
206 | peripheral_free(per[cnt]); | ||
207 | } | ||
208 | |||
209 | } | ||
210 | EXPORT_SYMBOL(peripheral_free_list); | ||
211 | |||
212 | /*********************************************************** | ||
213 | * | ||
214 | * FUNCTIONS: Blackfin GPIO Driver | ||
215 | * | ||
216 | * INPUTS/OUTPUTS: | ||
217 | * gpio - GPIO Number between 0 and MAX_BLACKFIN_GPIOS | ||
218 | * | ||
219 | * | ||
220 | * DESCRIPTION: Blackfin GPIO Driver API | ||
221 | * | ||
222 | * CAUTION: | ||
223 | ************************************************************* | ||
224 | * MODIFICATION HISTORY : | ||
225 | **************************************************************/ | ||
226 | |||
227 | int gpio_request(unsigned short gpio, const char *label) | ||
228 | { | ||
229 | unsigned long flags; | ||
230 | |||
231 | if (check_gpio(gpio) < 0) | ||
232 | return -EINVAL; | ||
233 | |||
234 | local_irq_save(flags); | ||
235 | |||
236 | if (unlikely(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | ||
237 | printk(KERN_ERR "bfin-gpio: GPIO %d is already reserved!\n", gpio); | ||
238 | dump_stack(); | ||
239 | local_irq_restore(flags); | ||
240 | return -EBUSY; | ||
241 | } | ||
242 | |||
243 | if (unlikely(reserved_peri_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | ||
244 | printk(KERN_ERR | ||
245 | "bfin-gpio: GPIO %d is already reserved as Peripheral!\n", gpio); | ||
246 | dump_stack(); | ||
247 | local_irq_restore(flags); | ||
248 | return -EBUSY; | ||
249 | } | ||
250 | |||
251 | reserved_gpio_map[gpio_bank(gpio)] |= gpio_bit(gpio); | ||
252 | |||
253 | local_irq_restore(flags); | ||
254 | |||
255 | port_setup(gpio, GPIO_USAGE); | ||
256 | |||
257 | return 0; | ||
258 | } | ||
259 | EXPORT_SYMBOL(gpio_request); | ||
260 | |||
261 | void gpio_free(unsigned short gpio) | ||
262 | { | ||
263 | unsigned long flags; | ||
264 | |||
265 | if (check_gpio(gpio) < 0) | ||
266 | return; | ||
267 | |||
268 | local_irq_save(flags); | ||
269 | |||
270 | if (unlikely(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio)))) { | ||
271 | printk(KERN_ERR "bfin-gpio: GPIO %d wasn't reserved!\n", gpio); | ||
272 | dump_stack(); | ||
273 | local_irq_restore(flags); | ||
274 | return; | ||
275 | } | ||
276 | |||
277 | reserved_gpio_map[gpio_bank(gpio)] &= ~gpio_bit(gpio); | ||
278 | |||
279 | local_irq_restore(flags); | ||
280 | } | ||
281 | EXPORT_SYMBOL(gpio_free); | ||
282 | |||
283 | void gpio_direction_input(unsigned short gpio) | ||
284 | { | ||
285 | unsigned long flags; | ||
286 | |||
287 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
288 | |||
289 | local_irq_save(flags); | ||
290 | gpio_array[gpio_bank(gpio)]->port_dir_clear = gpio_bit(gpio); | ||
291 | gpio_array[gpio_bank(gpio)]->port_inen |= gpio_bit(gpio); | ||
292 | local_irq_restore(flags); | ||
293 | } | ||
294 | EXPORT_SYMBOL(gpio_direction_input); | ||
295 | |||
296 | void gpio_direction_output(unsigned short gpio) | ||
297 | { | ||
298 | unsigned long flags; | ||
299 | |||
300 | BUG_ON(!(reserved_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))); | ||
301 | |||
302 | local_irq_save(flags); | ||
303 | gpio_array[gpio_bank(gpio)]->port_inen &= ~gpio_bit(gpio); | ||
304 | gpio_array[gpio_bank(gpio)]->port_dir_set = gpio_bit(gpio); | ||
305 | local_irq_restore(flags); | ||
306 | } | ||
307 | EXPORT_SYMBOL(gpio_direction_output); | ||
308 | |||
309 | void gpio_set_value(unsigned short gpio, unsigned short arg) | ||
310 | { | ||
311 | if (arg) | ||
312 | gpio_array[gpio_bank(gpio)]->port_set = gpio_bit(gpio); | ||
313 | else | ||
314 | gpio_array[gpio_bank(gpio)]->port_clear = gpio_bit(gpio); | ||
315 | |||
316 | } | ||
317 | EXPORT_SYMBOL(gpio_set_value); | ||
318 | |||
319 | unsigned short gpio_get_value(unsigned short gpio) | ||
320 | { | ||
321 | return (1 & (gpio_array[gpio_bank(gpio)]->port_data >> gpio_sub_n(gpio))); | ||
322 | } | ||
323 | EXPORT_SYMBOL(gpio_get_value); | ||
diff --git a/arch/blackfin/mach-bf548/head.S b/arch/blackfin/mach-bf548/head.S index 06751ae8b857..3071c243d426 100644 --- a/arch/blackfin/mach-bf548/head.S +++ b/arch/blackfin/mach-bf548/head.S | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
32 | #include <asm/trace.h> | 32 | #include <asm/trace.h> |
33 | #if CONFIG_BFIN_KERNEL_CLOCK | 33 | #if CONFIG_BFIN_KERNEL_CLOCK |
34 | #include <asm/mach-common/clocks.h> | ||
34 | #include <asm/mach/mem_init.h> | 35 | #include <asm/mach/mem_init.h> |
35 | #endif | 36 | #endif |
36 | 37 | ||
@@ -49,9 +50,13 @@ ENTRY(__start) | |||
49 | ENTRY(__stext) | 50 | ENTRY(__stext) |
50 | /* R0: argument of command line string, passed from uboot, save it */ | 51 | /* R0: argument of command line string, passed from uboot, save it */ |
51 | R7 = R0; | 52 | R7 = R0; |
52 | /* Set the SYSCFG register */ | 53 | /* Enable Cycle Counter and Nesting Of Interrupts */ |
53 | R0 = 0x36; | 54 | #ifdef CONFIG_BFIN_SCRATCH_REG_CYCLES |
54 | SYSCFG = R0; /*Enable Cycle Counter and Nesting Of Interrupts(3rd Bit)*/ | 55 | R0 = SYSCFG_SNEN; |
56 | #else | ||
57 | R0 = SYSCFG_SNEN | SYSCFG_CCEN; | ||
58 | #endif | ||
59 | SYSCFG = R0; | ||
55 | R0 = 0; | 60 | R0 = 0; |
56 | 61 | ||
57 | /* Clear Out All the data and pointer Registers*/ | 62 | /* Clear Out All the data and pointer Registers*/ |
@@ -92,13 +97,13 @@ ENTRY(__stext) | |||
92 | M2 = r0; | 97 | M2 = r0; |
93 | M3 = r0; | 98 | M3 = r0; |
94 | 99 | ||
95 | trace_buffer_start(p0,r0); | 100 | trace_buffer_init(p0,r0); |
96 | P0 = R1; | 101 | P0 = R1; |
97 | R0 = R1; | 102 | R0 = R1; |
98 | 103 | ||
99 | /* Turn off the icache */ | 104 | /* Turn off the icache */ |
100 | p0.l = (IMEM_CONTROL & 0xFFFF); | 105 | p0.l = LO(IMEM_CONTROL); |
101 | p0.h = (IMEM_CONTROL >> 16); | 106 | p0.h = HI(IMEM_CONTROL); |
102 | R1 = [p0]; | 107 | R1 = [p0]; |
103 | R0 = ~ENICPLB; | 108 | R0 = ~ENICPLB; |
104 | R0 = R0 & R1; | 109 | R0 = R0 & R1; |
@@ -106,8 +111,8 @@ ENTRY(__stext) | |||
106 | SSYNC; | 111 | SSYNC; |
107 | 112 | ||
108 | /* Turn off the dcache */ | 113 | /* Turn off the dcache */ |
109 | p0.l = (DMEM_CONTROL & 0xFFFF); | 114 | p0.l = LO(DMEM_CONTROL); |
110 | p0.h = (DMEM_CONTROL >> 16); | 115 | p0.h = HI(DMEM_CONTROL); |
111 | R1 = [p0]; | 116 | R1 = [p0]; |
112 | R0 = ~ENDCPLB; | 117 | R0 = ~ENDCPLB; |
113 | R0 = R0 & R1; | 118 | R0 = R0 & R1; |
@@ -120,6 +125,12 @@ ENTRY(__stext) | |||
120 | FP = SP; | 125 | FP = SP; |
121 | USP = SP; | 126 | USP = SP; |
122 | 127 | ||
128 | #ifdef CONFIG_EARLY_PRINTK | ||
129 | SP += -12; | ||
130 | call _init_early_exception_vectors; | ||
131 | SP += 12; | ||
132 | #endif | ||
133 | |||
123 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 134 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
124 | call _bf53x_relocate_l1_mem; | 135 | call _bf53x_relocate_l1_mem; |
125 | #if CONFIG_BFIN_KERNEL_CLOCK | 136 | #if CONFIG_BFIN_KERNEL_CLOCK |
@@ -172,7 +183,7 @@ ENTRY(__stext) | |||
172 | p0.l = .LWAIT_HERE; | 183 | p0.l = .LWAIT_HERE; |
173 | p0.h = .LWAIT_HERE; | 184 | p0.h = .LWAIT_HERE; |
174 | reti = p0; | 185 | reti = p0; |
175 | #if defined (ANOMALY_05000281) | 186 | #if ANOMALY_05000281 |
176 | nop; | 187 | nop; |
177 | nop; | 188 | nop; |
178 | nop; | 189 | nop; |
@@ -335,8 +346,8 @@ ENTRY(_start_dma_code) | |||
335 | w[p0] = r0.l; | 346 | w[p0] = r0.l; |
336 | ssync; | 347 | ssync; |
337 | 348 | ||
338 | p0.l = (EBIU_SDBCTL & 0xFFFF); | 349 | p0.l = LO(EBIU_SDBCTL); |
339 | p0.h = (EBIU_SDBCTL >> 16); /* SDRAM Memory Bank Control Register */ | 350 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ |
340 | r0 = mem_SDBCTL; | 351 | r0 = mem_SDBCTL; |
341 | w[p0] = r0.l; | 352 | w[p0] = r0.l; |
342 | ssync; | 353 | ssync; |
@@ -373,129 +384,6 @@ ENTRY(_start_dma_code) | |||
373 | RTS; | 384 | RTS; |
374 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | 385 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
375 | 386 | ||
376 | ENTRY(_bfin_reset) | ||
377 | /* No more interrupts to be handled*/ | ||
378 | CLI R6; | ||
379 | SSYNC; | ||
380 | |||
381 | #if defined(CONFIG_MTD_M25P80) | ||
382 | /* | ||
383 | * The following code fix the SPI flash reboot issue, | ||
384 | * /CS signal of the chip which is using PF10 return to GPIO mode | ||
385 | */ | ||
386 | p0.h = hi(PORTF_FER); | ||
387 | p0.l = lo(PORTF_FER); | ||
388 | r0.l = 0x0000; | ||
389 | w[p0] = r0.l; | ||
390 | SSYNC; | ||
391 | |||
392 | /* /CS return to high */ | ||
393 | p0.h = hi(PORTFIO); | ||
394 | p0.l = lo(PORTFIO); | ||
395 | r0.l = 0xFFFF; | ||
396 | w[p0] = r0.l; | ||
397 | SSYNC; | ||
398 | |||
399 | /* Delay some time, This is necessary */ | ||
400 | r1.h = 0; | ||
401 | r1.l = 0x400; | ||
402 | p1 = r1; | ||
403 | lsetup (_delay_lab1,_delay_lab1_end ) lc1 = p1; | ||
404 | _delay_lab1: | ||
405 | r0.h = 0; | ||
406 | r0.l = 0x8000; | ||
407 | p0 = r0; | ||
408 | lsetup (_delay_lab0,_delay_lab0_end ) lc0 = p0; | ||
409 | _delay_lab0: | ||
410 | nop; | ||
411 | _delay_lab0_end: | ||
412 | nop; | ||
413 | _delay_lab1_end: | ||
414 | nop; | ||
415 | #endif | ||
416 | |||
417 | /* Clear the bits 13-15 in SWRST if they werent cleared */ | ||
418 | p0.h = hi(SWRST); | ||
419 | p0.l = lo(SWRST); | ||
420 | csync; | ||
421 | r0.l = w[p0]; | ||
422 | |||
423 | /* Clear the IMASK register */ | ||
424 | p0.h = hi(IMASK); | ||
425 | p0.l = lo(IMASK); | ||
426 | r0 = 0x0; | ||
427 | [p0] = r0; | ||
428 | |||
429 | /* Clear the ILAT register */ | ||
430 | p0.h = hi(ILAT); | ||
431 | p0.l = lo(ILAT); | ||
432 | r0 = [p0]; | ||
433 | [p0] = r0; | ||
434 | SSYNC; | ||
435 | |||
436 | /* Disable the WDOG TIMER */ | ||
437 | p0.h = hi(WDOG_CTL); | ||
438 | p0.l = lo(WDOG_CTL); | ||
439 | r0.l = 0xAD6; | ||
440 | w[p0] = r0.l; | ||
441 | SSYNC; | ||
442 | |||
443 | /* Clear the sticky bit incase it is already set */ | ||
444 | p0.h = hi(WDOG_CTL); | ||
445 | p0.l = lo(WDOG_CTL); | ||
446 | r0.l = 0x8AD6; | ||
447 | w[p0] = r0.l; | ||
448 | SSYNC; | ||
449 | |||
450 | /* Program the count value */ | ||
451 | R0.l = 0x100; | ||
452 | R0.h = 0x0; | ||
453 | P0.h = hi(WDOG_CNT); | ||
454 | P0.l = lo(WDOG_CNT); | ||
455 | [P0] = R0; | ||
456 | SSYNC; | ||
457 | |||
458 | /* Program WDOG_STAT if necessary */ | ||
459 | P0.h = hi(WDOG_CTL); | ||
460 | P0.l = lo(WDOG_CTL); | ||
461 | R0 = W[P0](Z); | ||
462 | CC = BITTST(R0,1); | ||
463 | if !CC JUMP .LWRITESTAT; | ||
464 | CC = BITTST(R0,2); | ||
465 | if !CC JUMP .LWRITESTAT; | ||
466 | JUMP .LSKIP_WRITE; | ||
467 | |||
468 | .LWRITESTAT: | ||
469 | /* When watch dog timer is enabled, | ||
470 | * a write to STAT will load the contents of CNT to STAT | ||
471 | */ | ||
472 | R0 = 0x0000(z); | ||
473 | P0.h = hi(WDOG_STAT); | ||
474 | P0.l = lo(WDOG_STAT) | ||
475 | [P0] = R0; | ||
476 | SSYNC; | ||
477 | |||
478 | .LSKIP_WRITE: | ||
479 | /* Enable the reset event */ | ||
480 | P0.h = hi(WDOG_CTL); | ||
481 | P0.l = lo(WDOG_CTL); | ||
482 | R0 = W[P0](Z); | ||
483 | BITCLR(R0,1); | ||
484 | BITCLR(R0,2); | ||
485 | W[P0] = R0.L; | ||
486 | SSYNC; | ||
487 | NOP; | ||
488 | |||
489 | /* Enable the wdog counter */ | ||
490 | R0 = W[P0](Z); | ||
491 | BITCLR(R0,4); | ||
492 | W[P0] = R0.L; | ||
493 | SSYNC; | ||
494 | |||
495 | IDLE; | ||
496 | |||
497 | RTS; | ||
498 | |||
499 | .data | 387 | .data |
500 | 388 | ||
501 | /* | 389 | /* |
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 5b2b544529a1..cd827a1b6ba1 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -34,7 +34,9 @@ | |||
34 | #include <linux/spi/spi.h> | 34 | #include <linux/spi/spi.h> |
35 | #include <linux/spi/flash.h> | 35 | #include <linux/spi/flash.h> |
36 | #include <linux/usb_isp1362.h> | 36 | #include <linux/usb_isp1362.h> |
37 | #include <linux/pata_platform.h> | ||
37 | #include <linux/irq.h> | 38 | #include <linux/irq.h> |
39 | #include <asm/dma.h> | ||
38 | #include <asm/bfin5xx_spi.h> | 40 | #include <asm/bfin5xx_spi.h> |
39 | 41 | ||
40 | /* | 42 | /* |
@@ -112,7 +114,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
112 | /* the modalias must be the same as spi device driver name */ | 114 | /* the modalias must be the same as spi device driver name */ |
113 | .modalias = "m25p80", /* Name of spi_driver for this device */ | 115 | .modalias = "m25p80", /* Name of spi_driver for this device */ |
114 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 116 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
115 | .bus_num = 1, /* Framework bus number */ | 117 | .bus_num = 0, /* Framework bus number */ |
116 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | 118 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ |
117 | .platform_data = &bfin_spi_flash_data, | 119 | .platform_data = &bfin_spi_flash_data, |
118 | .controller_data = &spi_flash_chip_info, | 120 | .controller_data = &spi_flash_chip_info, |
@@ -124,7 +126,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
124 | { | 126 | { |
125 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | 127 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ |
126 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | 128 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ |
127 | .bus_num = 1, /* Framework bus number */ | 129 | .bus_num = 0, /* Framework bus number */ |
128 | .chip_select = 1, /* Framework chip select. */ | 130 | .chip_select = 1, /* Framework chip select. */ |
129 | .platform_data = NULL, /* No spi_driver specific config */ | 131 | .platform_data = NULL, /* No spi_driver specific config */ |
130 | .controller_data = &spi_adc_chip_info, | 132 | .controller_data = &spi_adc_chip_info, |
@@ -135,7 +137,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
135 | { | 137 | { |
136 | .modalias = "ad1836-spi", | 138 | .modalias = "ad1836-spi", |
137 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 139 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
138 | .bus_num = 1, | 140 | .bus_num = 0, |
139 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 141 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
140 | .controller_data = &ad1836_spi_chip_info, | 142 | .controller_data = &ad1836_spi_chip_info, |
141 | }, | 143 | }, |
@@ -144,7 +146,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
144 | { | 146 | { |
145 | .modalias = "ad9960-spi", | 147 | .modalias = "ad9960-spi", |
146 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | 148 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ |
147 | .bus_num = 1, | 149 | .bus_num = 0, |
148 | .chip_select = 1, | 150 | .chip_select = 1, |
149 | .controller_data = &ad9960_spi_chip_info, | 151 | .controller_data = &ad9960_spi_chip_info, |
150 | }, | 152 | }, |
@@ -153,7 +155,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
153 | { | 155 | { |
154 | .modalias = "spi_mmc", | 156 | .modalias = "spi_mmc", |
155 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | 157 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ |
156 | .bus_num = 1, | 158 | .bus_num = 0, |
157 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | 159 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, |
158 | .platform_data = NULL, | 160 | .platform_data = NULL, |
159 | .controller_data = &spi_mmc_chip_info, | 161 | .controller_data = &spi_mmc_chip_info, |
@@ -162,17 +164,33 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
162 | #endif | 164 | #endif |
163 | }; | 165 | }; |
164 | 166 | ||
167 | /* SPI (0) */ | ||
168 | static struct resource bfin_spi0_resource[] = { | ||
169 | [0] = { | ||
170 | .start = SPI0_REGBASE, | ||
171 | .end = SPI0_REGBASE + 0xFF, | ||
172 | .flags = IORESOURCE_MEM, | ||
173 | }, | ||
174 | [1] = { | ||
175 | .start = CH_SPI, | ||
176 | .end = CH_SPI, | ||
177 | .flags = IORESOURCE_IRQ, | ||
178 | } | ||
179 | }; | ||
180 | |||
165 | /* SPI controller data */ | 181 | /* SPI controller data */ |
166 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 182 | static struct bfin5xx_spi_master bfin_spi0_info = { |
167 | .num_chipselect = 8, | 183 | .num_chipselect = 8, |
168 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 184 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
169 | }; | 185 | }; |
170 | 186 | ||
171 | static struct platform_device spi_bfin_master_device = { | 187 | static struct platform_device bfin_spi0_device = { |
172 | .name = "bfin-spi-master", | 188 | .name = "bfin-spi", |
173 | .id = 1, /* Bus number */ | 189 | .id = 0, /* Bus number */ |
190 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
191 | .resource = bfin_spi0_resource, | ||
174 | .dev = { | 192 | .dev = { |
175 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 193 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
176 | }, | 194 | }, |
177 | }; | 195 | }; |
178 | #endif /* spi master and devices */ | 196 | #endif /* spi master and devices */ |
@@ -256,6 +274,43 @@ static struct platform_device bfin_uart_device = { | |||
256 | }; | 274 | }; |
257 | #endif | 275 | #endif |
258 | 276 | ||
277 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
278 | #define PATA_INT 119 | ||
279 | |||
280 | static struct pata_platform_info bfin_pata_platform_data = { | ||
281 | .ioport_shift = 2, | ||
282 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
283 | }; | ||
284 | |||
285 | static struct resource bfin_pata_resources[] = { | ||
286 | { | ||
287 | .start = 0x2400C000, | ||
288 | .end = 0x2400C001F, | ||
289 | .flags = IORESOURCE_MEM, | ||
290 | }, | ||
291 | { | ||
292 | .start = 0x2400D018, | ||
293 | .end = 0x2400D01B, | ||
294 | .flags = IORESOURCE_MEM, | ||
295 | }, | ||
296 | { | ||
297 | .start = PATA_INT, | ||
298 | .end = PATA_INT, | ||
299 | .flags = IORESOURCE_IRQ, | ||
300 | }, | ||
301 | }; | ||
302 | |||
303 | static struct platform_device bfin_pata_device = { | ||
304 | .name = "pata_platform", | ||
305 | .id = -1, | ||
306 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
307 | .resource = bfin_pata_resources, | ||
308 | .dev = { | ||
309 | .platform_data = &bfin_pata_platform_data, | ||
310 | } | ||
311 | }; | ||
312 | #endif | ||
313 | |||
259 | static struct platform_device *cm_bf561_devices[] __initdata = { | 314 | static struct platform_device *cm_bf561_devices[] __initdata = { |
260 | 315 | ||
261 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 316 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
@@ -271,9 +326,12 @@ static struct platform_device *cm_bf561_devices[] __initdata = { | |||
271 | #endif | 326 | #endif |
272 | 327 | ||
273 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 328 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
274 | &spi_bfin_master_device, | 329 | &bfin_spi0_device, |
275 | #endif | 330 | #endif |
276 | 331 | ||
332 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
333 | &bfin_pata_device, | ||
334 | #endif | ||
277 | }; | 335 | }; |
278 | 336 | ||
279 | static int __init cm_bf561_init(void) | 337 | static int __init cm_bf561_init(void) |
@@ -283,6 +341,10 @@ static int __init cm_bf561_init(void) | |||
283 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 341 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
284 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 342 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
285 | #endif | 343 | #endif |
344 | |||
345 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
346 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
347 | #endif | ||
286 | return 0; | 348 | return 0; |
287 | } | 349 | } |
288 | 350 | ||
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index 724191da20a2..57e14edca8b1 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -32,6 +32,8 @@ | |||
32 | #include <linux/spi/spi.h> | 32 | #include <linux/spi/spi.h> |
33 | #include <linux/irq.h> | 33 | #include <linux/irq.h> |
34 | #include <linux/interrupt.h> | 34 | #include <linux/interrupt.h> |
35 | #include <linux/pata_platform.h> | ||
36 | #include <asm/dma.h> | ||
35 | #include <asm/bfin5xx_spi.h> | 37 | #include <asm/bfin5xx_spi.h> |
36 | 38 | ||
37 | /* | 39 | /* |
@@ -140,17 +142,33 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | |||
140 | #endif | 142 | #endif |
141 | #endif | 143 | #endif |
142 | 144 | ||
145 | /* SPI (0) */ | ||
146 | static struct resource bfin_spi0_resource[] = { | ||
147 | [0] = { | ||
148 | .start = SPI0_REGBASE, | ||
149 | .end = SPI0_REGBASE + 0xFF, | ||
150 | .flags = IORESOURCE_MEM, | ||
151 | }, | ||
152 | [1] = { | ||
153 | .start = CH_SPI, | ||
154 | .end = CH_SPI, | ||
155 | .flags = IORESOURCE_IRQ, | ||
156 | } | ||
157 | }; | ||
158 | |||
143 | /* SPI controller data */ | 159 | /* SPI controller data */ |
144 | static struct bfin5xx_spi_master spi_bfin_master_info = { | 160 | static struct bfin5xx_spi_master bfin_spi0_info = { |
145 | .num_chipselect = 8, | 161 | .num_chipselect = 8, |
146 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 162 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
147 | }; | 163 | }; |
148 | 164 | ||
149 | static struct platform_device spi_bfin_master_device = { | 165 | static struct platform_device bfin_spi0_device = { |
150 | .name = "bfin-spi-master", | 166 | .name = "bfin-spi", |
151 | .id = 1, /* Bus number */ | 167 | .id = 0, /* Bus number */ |
168 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
169 | .resource = bfin_spi0_resource, | ||
152 | .dev = { | 170 | .dev = { |
153 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | 171 | .platform_data = &bfin_spi0_info, /* Passed to driver */ |
154 | }, | 172 | }, |
155 | }; | 173 | }; |
156 | 174 | ||
@@ -160,23 +178,63 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
160 | { | 178 | { |
161 | .modalias = "ad1836-spi", | 179 | .modalias = "ad1836-spi", |
162 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 180 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
163 | .bus_num = 1, | 181 | .bus_num = 0, |
164 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 182 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
165 | .controller_data = &ad1836_spi_chip_info, | 183 | .controller_data = &ad1836_spi_chip_info, |
166 | }, | 184 | }, |
167 | #endif | 185 | #endif |
168 | }; | 186 | }; |
169 | 187 | ||
188 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
189 | #define PATA_INT 55 | ||
190 | |||
191 | static struct pata_platform_info bfin_pata_platform_data = { | ||
192 | .ioport_shift = 1, | ||
193 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
194 | }; | ||
195 | |||
196 | static struct resource bfin_pata_resources[] = { | ||
197 | { | ||
198 | .start = 0x20314020, | ||
199 | .end = 0x2031403F, | ||
200 | .flags = IORESOURCE_MEM, | ||
201 | }, | ||
202 | { | ||
203 | .start = 0x2031401C, | ||
204 | .end = 0x2031401F, | ||
205 | .flags = IORESOURCE_MEM, | ||
206 | }, | ||
207 | { | ||
208 | .start = PATA_INT, | ||
209 | .end = PATA_INT, | ||
210 | .flags = IORESOURCE_IRQ, | ||
211 | }, | ||
212 | }; | ||
213 | |||
214 | static struct platform_device bfin_pata_device = { | ||
215 | .name = "pata_platform", | ||
216 | .id = -1, | ||
217 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
218 | .resource = bfin_pata_resources, | ||
219 | .dev = { | ||
220 | .platform_data = &bfin_pata_platform_data, | ||
221 | } | ||
222 | }; | ||
223 | #endif | ||
224 | |||
170 | static struct platform_device *ezkit_devices[] __initdata = { | 225 | static struct platform_device *ezkit_devices[] __initdata = { |
171 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 226 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
172 | &smc91x_device, | 227 | &smc91x_device, |
173 | #endif | 228 | #endif |
174 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 229 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
175 | &spi_bfin_master_device, | 230 | &bfin_spi0_device, |
176 | #endif | 231 | #endif |
177 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 232 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
178 | &bfin_uart_device, | 233 | &bfin_uart_device, |
179 | #endif | 234 | #endif |
235 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
236 | &bfin_pata_device, | ||
237 | #endif | ||
180 | }; | 238 | }; |
181 | 239 | ||
182 | static int __init ezkit_init(void) | 240 | static int __init ezkit_init(void) |
@@ -194,7 +252,15 @@ static int __init ezkit_init(void) | |||
194 | SSYNC(); | 252 | SSYNC(); |
195 | #endif | 253 | #endif |
196 | 254 | ||
197 | return spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 255 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
256 | spi_register_board_info(bfin_spi_board_info, | ||
257 | ARRAY_SIZE(bfin_spi_board_info)); | ||
258 | #endif | ||
259 | |||
260 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
261 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
262 | #endif | ||
263 | return 0; | ||
198 | } | 264 | } |
199 | 265 | ||
200 | arch_initcall(ezkit_init); | 266 | arch_initcall(ezkit_init); |
diff --git a/arch/blackfin/mach-bf561/head.S b/arch/blackfin/mach-bf561/head.S index 38650a628980..96a3d456fb6d 100644 --- a/arch/blackfin/mach-bf561/head.S +++ b/arch/blackfin/mach-bf561/head.S | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
34 | 34 | ||
35 | #if CONFIG_BFIN_KERNEL_CLOCK | 35 | #if CONFIG_BFIN_KERNEL_CLOCK |
36 | #include <asm/mach-common/clocks.h> | ||
36 | #include <asm/mach/mem_init.h> | 37 | #include <asm/mach/mem_init.h> |
37 | #endif | 38 | #endif |
38 | 39 | ||
@@ -50,10 +51,12 @@ __INIT | |||
50 | ENTRY(__start) | 51 | ENTRY(__start) |
51 | /* R0: argument of command line string, passed from uboot, save it */ | 52 | /* R0: argument of command line string, passed from uboot, save it */ |
52 | R7 = R0; | 53 | R7 = R0; |
53 | /* Set the SYSCFG register: | 54 | /* Enable Cycle Counter and Nesting Of Interrupts */ |
54 | * Enable Cycle Counter and Nesting Of Interrupts (3rd Bit) | 55 | #ifdef CONFIG_BFIN_SCRATCH_REG_CYCLES |
55 | */ | 56 | R0 = SYSCFG_SNEN; |
56 | R0 = 0x36; | 57 | #else |
58 | R0 = SYSCFG_SNEN | SYSCFG_CCEN; | ||
59 | #endif | ||
57 | SYSCFG = R0; | 60 | SYSCFG = R0; |
58 | R0 = 0; | 61 | R0 = 0; |
59 | 62 | ||
@@ -95,43 +98,42 @@ ENTRY(__start) | |||
95 | M2 = r0; | 98 | M2 = r0; |
96 | M3 = r0; | 99 | M3 = r0; |
97 | 100 | ||
98 | trace_buffer_start(p0,r0); | 101 | trace_buffer_init(p0,r0); |
99 | P0 = R1; | 102 | P0 = R1; |
100 | R0 = R1; | 103 | R0 = R1; |
101 | 104 | ||
102 | /* Turn off the icache */ | 105 | /* Turn off the icache */ |
103 | p0.l = (IMEM_CONTROL & 0xFFFF); | 106 | p0.l = LO(IMEM_CONTROL); |
104 | p0.h = (IMEM_CONTROL >> 16); | 107 | p0.h = HI(IMEM_CONTROL); |
105 | R1 = [p0]; | 108 | R1 = [p0]; |
106 | R0 = ~ENICPLB; | 109 | R0 = ~ENICPLB; |
107 | R0 = R0 & R1; | 110 | R0 = R0 & R1; |
108 | 111 | ||
109 | /* Anomaly 05000125 */ | 112 | #if ANOMALY_05000125 |
110 | #ifdef ANOMALY_05000125 | ||
111 | CLI R2; | 113 | CLI R2; |
112 | SSYNC; | 114 | SSYNC; |
113 | #endif | 115 | #endif |
114 | [p0] = R0; | 116 | [p0] = R0; |
115 | SSYNC; | 117 | SSYNC; |
116 | #ifdef ANOMALY_05000125 | 118 | #if ANOMALY_05000125 |
117 | STI R2; | 119 | STI R2; |
118 | #endif | 120 | #endif |
119 | 121 | ||
120 | /* Turn off the dcache */ | 122 | /* Turn off the dcache */ |
121 | p0.l = (DMEM_CONTROL & 0xFFFF); | 123 | p0.l = LO(DMEM_CONTROL); |
122 | p0.h = (DMEM_CONTROL >> 16); | 124 | p0.h = HI(DMEM_CONTROL); |
123 | R1 = [p0]; | 125 | R1 = [p0]; |
124 | R0 = ~ENDCPLB; | 126 | R0 = ~ENDCPLB; |
125 | R0 = R0 & R1; | 127 | R0 = R0 & R1; |
126 | 128 | ||
127 | /* Anomaly 05000125 */ | 129 | /* Anomaly 05000125 */ |
128 | #ifdef ANOMALY_05000125 | 130 | #if ANOMALY_05000125 |
129 | CLI R2; | 131 | CLI R2; |
130 | SSYNC; | 132 | SSYNC; |
131 | #endif | 133 | #endif |
132 | [p0] = R0; | 134 | [p0] = R0; |
133 | SSYNC; | 135 | SSYNC; |
134 | #ifdef ANOMALY_05000125 | 136 | #if ANOMALY_05000125 |
135 | STI R2; | 137 | STI R2; |
136 | #endif | 138 | #endif |
137 | 139 | ||
@@ -167,6 +169,12 @@ ENTRY(__start) | |||
167 | fp = sp; | 169 | fp = sp; |
168 | usp = sp; | 170 | usp = sp; |
169 | 171 | ||
172 | #ifdef CONFIG_EARLY_PRINTK | ||
173 | SP += -12; | ||
174 | call _init_early_exception_vectors; | ||
175 | SP += 12; | ||
176 | #endif | ||
177 | |||
170 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 178 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
171 | call _bf53x_relocate_l1_mem; | 179 | call _bf53x_relocate_l1_mem; |
172 | #if CONFIG_BFIN_KERNEL_CLOCK | 180 | #if CONFIG_BFIN_KERNEL_CLOCK |
@@ -220,7 +228,7 @@ ENTRY(__start) | |||
220 | p0.l = .LWAIT_HERE; | 228 | p0.l = .LWAIT_HERE; |
221 | p0.h = .LWAIT_HERE; | 229 | p0.h = .LWAIT_HERE; |
222 | reti = p0; | 230 | reti = p0; |
223 | #if defined(ANOMALY_05000281) | 231 | #if ANOMALY_05000281 |
224 | nop; nop; nop; | 232 | nop; nop; nop; |
225 | #endif | 233 | #endif |
226 | rti; | 234 | rti; |
@@ -372,8 +380,8 @@ ENTRY(_start_dma_code) | |||
372 | w[p0] = r0.l; | 380 | w[p0] = r0.l; |
373 | ssync; | 381 | ssync; |
374 | 382 | ||
375 | p0.l = (EBIU_SDBCTL & 0xFFFF); | 383 | p0.l = LO(EBIU_SDBCTL); |
376 | p0.h = (EBIU_SDBCTL >> 16); /* SDRAM Memory Bank Control Register */ | 384 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ |
377 | r0 = mem_SDBCTL; | 385 | r0 = mem_SDBCTL; |
378 | w[p0] = r0.l; | 386 | w[p0] = r0.l; |
379 | ssync; | 387 | ssync; |
@@ -404,66 +412,6 @@ ENTRY(_start_dma_code) | |||
404 | ENDPROC(_start_dma_code) | 412 | ENDPROC(_start_dma_code) |
405 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | 413 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
406 | 414 | ||
407 | ENTRY(_bfin_reset) | ||
408 | /* No more interrupts to be handled*/ | ||
409 | CLI R6; | ||
410 | SSYNC; | ||
411 | |||
412 | #if defined(CONFIG_BFIN_SHARED_FLASH_ENET) | ||
413 | p0.h = hi(FIO_INEN); | ||
414 | p0.l = lo(FIO_INEN); | ||
415 | r0.l = ~(PF1 | PF0); | ||
416 | w[p0] = r0.l; | ||
417 | |||
418 | p0.h = hi(FIO_DIR); | ||
419 | p0.l = lo(FIO_DIR); | ||
420 | r0.l = (PF1 | PF0); | ||
421 | w[p0] = r0.l; | ||
422 | |||
423 | p0.h = hi(FIO_FLAG_C); | ||
424 | p0.l = lo(FIO_FLAG_C); | ||
425 | r0.l = (PF1 | PF0); | ||
426 | w[p0] = r0.l; | ||
427 | #endif | ||
428 | |||
429 | /* Clear the IMASK register */ | ||
430 | p0.h = hi(IMASK); | ||
431 | p0.l = lo(IMASK); | ||
432 | r0 = 0x0; | ||
433 | [p0] = r0; | ||
434 | |||
435 | /* Clear the ILAT register */ | ||
436 | p0.h = hi(ILAT); | ||
437 | p0.l = lo(ILAT); | ||
438 | r0 = [p0]; | ||
439 | [p0] = r0; | ||
440 | SSYNC; | ||
441 | |||
442 | /* make sure SYSCR is set to use BMODE */ | ||
443 | P0.h = hi(SYSCR); | ||
444 | P0.l = lo(SYSCR); | ||
445 | R0.l = 0x20; /* on BF561, disable core b */ | ||
446 | W[P0] = R0.l; | ||
447 | SSYNC; | ||
448 | |||
449 | /* issue a system soft reset */ | ||
450 | P1.h = hi(SWRST); | ||
451 | P1.l = lo(SWRST); | ||
452 | R1.l = 0x0007; | ||
453 | W[P1] = R1; | ||
454 | SSYNC; | ||
455 | |||
456 | /* clear system soft reset */ | ||
457 | R0.l = 0x0000; | ||
458 | W[P0] = R0; | ||
459 | SSYNC; | ||
460 | |||
461 | /* issue core reset */ | ||
462 | raise 1; | ||
463 | |||
464 | RTS; | ||
465 | ENDPROC(_bfin_reset) | ||
466 | |||
467 | .data | 415 | .data |
468 | 416 | ||
469 | /* | 417 | /* |
diff --git a/arch/blackfin/mach-common/Makefile b/arch/blackfin/mach-common/Makefile index 0279ede70392..4d7733dfd5de 100644 --- a/arch/blackfin/mach-common/Makefile +++ b/arch/blackfin/mach-common/Makefile | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | obj-y := \ | 5 | obj-y := \ |
6 | cache.o cacheinit.o cplbhdlr.o cplbmgr.o entry.o \ | 6 | cache.o cacheinit.o cplbhdlr.o cplbmgr.o entry.o \ |
7 | interrupt.o lock.o irqpanic.o | 7 | interrupt.o lock.o irqpanic.o arch_checks.o |
8 | 8 | ||
9 | obj-$(CONFIG_CPLB_INFO) += cplbinfo.o | 9 | obj-$(CONFIG_CPLB_INFO) += cplbinfo.o |
10 | obj-$(CONFIG_BFIN_SINGLE_CORE) += ints-priority-sc.o | 10 | obj-$(CONFIG_BFIN_SINGLE_CORE) += ints-priority-sc.o |
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c new file mode 100644 index 000000000000..2f6ce397780f --- /dev/null +++ b/arch/blackfin/mach-common/arch_checks.c | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-common/arch_checks.c | ||
3 | * Based on: | ||
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
5 | * | ||
6 | * Created: 25Jul07 | ||
7 | * Description: Do some checking to make sure things are OK | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | ||
29 | |||
30 | #include <asm/mach/anomaly.h> | ||
31 | #include <asm/mach-common/clocks.h> | ||
32 | |||
33 | #ifdef CONFIG_BFIN_KERNEL_CLOCK | ||
34 | |||
35 | # if (CONFIG_VCO_HZ > CONFIG_MAX_VCO_HZ) | ||
36 | # error "VCO selected is more than maximum value. Please change the VCO multipler" | ||
37 | # endif | ||
38 | |||
39 | # if (CONFIG_SCLK_HZ > CONFIG_MAX_SCLK_HZ) | ||
40 | # error "Sclk value selected is more than maximum. Please select a proper value for SCLK multiplier" | ||
41 | # endif | ||
42 | |||
43 | # if (CONFIG_SCLK_HZ < CONFIG_MIN_SCLK_HZ) | ||
44 | # error "Sclk value selected is less than minimum. Please select a proper value for SCLK multiplier" | ||
45 | # endif | ||
46 | |||
47 | # if (ANOMALY_05000273) && (CONFIG_SCLK_HZ * 2 > CONFIG_CCLK_HZ) | ||
48 | # error "ANOMALY 05000273, please make sure CCLK is at least 2x SCLK" | ||
49 | # endif | ||
50 | |||
51 | # if (CONFIG_SCLK_HZ > CONFIG_CCLK_HZ) && (CONFIG_SCLK_HZ != CONFIG_CLKIN_HZ) && (CONFIG_CCLK_HZ != CONFIG_CLKIN_HZ) | ||
52 | # error "Please select sclk less than cclk" | ||
53 | # endif | ||
54 | |||
55 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | ||
56 | |||
57 | #if (CONFIG_MEM_SIZE % 4) | ||
58 | #error "SDRAM mem size must be multible of 4MB" | ||
59 | #endif | ||
60 | |||
diff --git a/arch/blackfin/mach-common/cache.S b/arch/blackfin/mach-common/cache.S index 7063795eb7c0..0521b1588204 100644 --- a/arch/blackfin/mach-common/cache.S +++ b/arch/blackfin/mach-common/cache.S | |||
@@ -79,8 +79,8 @@ ENTRY(_icache_invalidate) | |||
79 | ENTRY(_invalidate_entire_icache) | 79 | ENTRY(_invalidate_entire_icache) |
80 | [--SP] = ( R7:5); | 80 | [--SP] = ( R7:5); |
81 | 81 | ||
82 | P0.L = (IMEM_CONTROL & 0xFFFF); | 82 | P0.L = LO(IMEM_CONTROL); |
83 | P0.H = (IMEM_CONTROL >> 16); | 83 | P0.H = HI(IMEM_CONTROL); |
84 | R7 = [P0]; | 84 | R7 = [P0]; |
85 | 85 | ||
86 | /* Clear the IMC bit , All valid bits in the instruction | 86 | /* Clear the IMC bit , All valid bits in the instruction |
@@ -197,8 +197,8 @@ ENTRY(_invalidate_entire_dcache) | |||
197 | ENTRY(_dcache_invalidate) | 197 | ENTRY(_dcache_invalidate) |
198 | [--SP] = ( R7:6); | 198 | [--SP] = ( R7:6); |
199 | 199 | ||
200 | P0.L = (DMEM_CONTROL & 0xFFFF); | 200 | P0.L = LO(DMEM_CONTROL); |
201 | P0.H = (DMEM_CONTROL >> 16); | 201 | P0.H = HI(DMEM_CONTROL); |
202 | R7 = [P0]; | 202 | R7 = [P0]; |
203 | 203 | ||
204 | /* Clear the DMC[1:0] bits, All valid bits in the data | 204 | /* Clear the DMC[1:0] bits, All valid bits in the data |
diff --git a/arch/blackfin/mach-common/cacheinit.S b/arch/blackfin/mach-common/cacheinit.S index 5be6b975ae4a..22fada0c1cb3 100644 --- a/arch/blackfin/mach-common/cacheinit.S +++ b/arch/blackfin/mach-common/cacheinit.S | |||
@@ -38,13 +38,13 @@ | |||
38 | 38 | ||
39 | .text | 39 | .text |
40 | 40 | ||
41 | #ifdef ANOMALY_05000125 | 41 | #if ANOMALY_05000125 |
42 | #if defined(CONFIG_BLKFIN_CACHE) | 42 | #if defined(CONFIG_BFIN_ICACHE) |
43 | ENTRY(_bfin_write_IMEM_CONTROL) | 43 | ENTRY(_bfin_write_IMEM_CONTROL) |
44 | 44 | ||
45 | /* Enable Instruction Cache */ | 45 | /* Enable Instruction Cache */ |
46 | P0.l = (IMEM_CONTROL & 0xFFFF); | 46 | P0.l = LO(IMEM_CONTROL); |
47 | P0.h = (IMEM_CONTROL >> 16); | 47 | P0.h = HI(IMEM_CONTROL); |
48 | 48 | ||
49 | /* Anomaly 05000125 */ | 49 | /* Anomaly 05000125 */ |
50 | CLI R1; | 50 | CLI R1; |
@@ -58,10 +58,10 @@ ENTRY(_bfin_write_IMEM_CONTROL) | |||
58 | ENDPROC(_bfin_write_IMEM_CONTROL) | 58 | ENDPROC(_bfin_write_IMEM_CONTROL) |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | #if defined(CONFIG_BLKFIN_DCACHE) | 61 | #if defined(CONFIG_BFIN_DCACHE) |
62 | ENTRY(_bfin_write_DMEM_CONTROL) | 62 | ENTRY(_bfin_write_DMEM_CONTROL) |
63 | P0.l = (DMEM_CONTROL & 0xFFFF); | 63 | P0.l = LO(DMEM_CONTROL); |
64 | P0.h = (DMEM_CONTROL >> 16); | 64 | P0.h = HI(DMEM_CONTROL); |
65 | 65 | ||
66 | CLI R1; | 66 | CLI R1; |
67 | SSYNC; /* SSYNC required before writing to DMEM_CONTROL. */ | 67 | SSYNC; /* SSYNC required before writing to DMEM_CONTROL. */ |
diff --git a/arch/blackfin/mach-common/cplbhdlr.S b/arch/blackfin/mach-common/cplbhdlr.S index 2f3c72c23997..2788532de72b 100644 --- a/arch/blackfin/mach-common/cplbhdlr.S +++ b/arch/blackfin/mach-common/cplbhdlr.S | |||
@@ -69,14 +69,14 @@ ENTRY(__cplb_hdr) | |||
69 | 69 | ||
70 | .Lis_icplb_miss: | 70 | .Lis_icplb_miss: |
71 | 71 | ||
72 | #if defined(CONFIG_BLKFIN_CACHE) || defined(CONFIG_BLKFIN_DCACHE) | 72 | #if defined(CONFIG_BFIN_ICACHE) || defined(CONFIG_BFIN_DCACHE) |
73 | # if defined(CONFIG_BLKFIN_CACHE) && !defined(CONFIG_BLKFIN_DCACHE) | 73 | # if defined(CONFIG_BFIN_ICACHE) && !defined(CONFIG_BFIN_DCACHE) |
74 | R1 = CPLB_ENABLE_ICACHE; | 74 | R1 = CPLB_ENABLE_ICACHE; |
75 | # endif | 75 | # endif |
76 | # if !defined(CONFIG_BLKFIN_CACHE) && defined(CONFIG_BLKFIN_DCACHE) | 76 | # if !defined(CONFIG_BFIN_ICACHE) && defined(CONFIG_BFIN_DCACHE) |
77 | R1 = CPLB_ENABLE_DCACHE; | 77 | R1 = CPLB_ENABLE_DCACHE; |
78 | # endif | 78 | # endif |
79 | # if defined(CONFIG_BLKFIN_CACHE) && defined(CONFIG_BLKFIN_DCACHE) | 79 | # if defined(CONFIG_BFIN_ICACHE) && defined(CONFIG_BFIN_DCACHE) |
80 | R1 = CPLB_ENABLE_DCACHE | CPLB_ENABLE_ICACHE; | 80 | R1 = CPLB_ENABLE_DCACHE | CPLB_ENABLE_ICACHE; |
81 | # endif | 81 | # endif |
82 | #else | 82 | #else |
diff --git a/arch/blackfin/mach-common/cplbmgr.S b/arch/blackfin/mach-common/cplbmgr.S index e4b47e09cf13..946703ef48ff 100644 --- a/arch/blackfin/mach-common/cplbmgr.S +++ b/arch/blackfin/mach-common/cplbmgr.S | |||
@@ -75,15 +75,15 @@ ENTRY(_cplb_mgr) | |||
75 | * from the configuration table. | 75 | * from the configuration table. |
76 | */ | 76 | */ |
77 | 77 | ||
78 | P4.L = (ICPLB_FAULT_ADDR & 0xFFFF); | 78 | P4.L = LO(ICPLB_FAULT_ADDR); |
79 | P4.H = (ICPLB_FAULT_ADDR >> 16); | 79 | P4.H = HI(ICPLB_FAULT_ADDR); |
80 | 80 | ||
81 | P1 = 16; | 81 | P1 = 16; |
82 | P5.L = _page_size_table; | 82 | P5.L = _page_size_table; |
83 | P5.H = _page_size_table; | 83 | P5.H = _page_size_table; |
84 | 84 | ||
85 | P0.L = (ICPLB_DATA0 & 0xFFFF); | 85 | P0.L = LO(ICPLB_DATA0); |
86 | P0.H = (ICPLB_DATA0 >> 16); | 86 | P0.H = HI(ICPLB_DATA0); |
87 | R4 = [P4]; /* Get faulting address*/ | 87 | R4 = [P4]; /* Get faulting address*/ |
88 | R6 = 64; /* Advance past the fault address, which*/ | 88 | R6 = 64; /* Advance past the fault address, which*/ |
89 | R6 = R6 + R4; /* we'll use if we find a match*/ | 89 | R6 = R6 + R4; /* we'll use if we find a match*/ |
@@ -117,13 +117,13 @@ ENTRY(_cplb_mgr) | |||
117 | I0 = R4; /* Fault address we'll search for*/ | 117 | I0 = R4; /* Fault address we'll search for*/ |
118 | 118 | ||
119 | /* set up pointers */ | 119 | /* set up pointers */ |
120 | P0.L = (ICPLB_DATA0 & 0xFFFF); | 120 | P0.L = LO(ICPLB_DATA0); |
121 | P0.H = (ICPLB_DATA0 >> 16); | 121 | P0.H = HI(ICPLB_DATA0); |
122 | 122 | ||
123 | /* The replacement procedure for ICPLBs */ | 123 | /* The replacement procedure for ICPLBs */ |
124 | 124 | ||
125 | P4.L = (IMEM_CONTROL & 0xFFFF); | 125 | P4.L = LO(IMEM_CONTROL); |
126 | P4.H = (IMEM_CONTROL >> 16); | 126 | P4.H = HI(IMEM_CONTROL); |
127 | 127 | ||
128 | /* disable cplbs */ | 128 | /* disable cplbs */ |
129 | R5 = [P4]; /* Control Register*/ | 129 | R5 = [P4]; /* Control Register*/ |
@@ -243,8 +243,8 @@ ENTRY(_cplb_mgr) | |||
243 | * last entry of the table. | 243 | * last entry of the table. |
244 | */ | 244 | */ |
245 | 245 | ||
246 | P1.L = (ICPLB_DATA15 & 0xFFFF); /* ICPLB_DATA15 */ | 246 | P1.L = LO(ICPLB_DATA15); /* ICPLB_DATA15 */ |
247 | P1.H = (ICPLB_DATA15 >> 16); | 247 | P1.H = HI(ICPLB_DATA15); |
248 | [P1] = R2; | 248 | [P1] = R2; |
249 | [P1-0x100] = R4; | 249 | [P1-0x100] = R4; |
250 | #ifdef CONFIG_CPLB_INFO | 250 | #ifdef CONFIG_CPLB_INFO |
@@ -292,10 +292,10 @@ ENTRY(_cplb_mgr) | |||
292 | * pending writes associated with the CPLB. | 292 | * pending writes associated with the CPLB. |
293 | */ | 293 | */ |
294 | 294 | ||
295 | P4.L = (DCPLB_STATUS & 0xFFFF); | 295 | P4.L = LO(DCPLB_STATUS); |
296 | P4.H = (DCPLB_STATUS >> 16); | 296 | P4.H = HI(DCPLB_STATUS); |
297 | P3.L = (DCPLB_DATA0 & 0xFFFF); | 297 | P3.L = LO(DCPLB_DATA0); |
298 | P3.H = (DCPLB_DATA0 >> 16); | 298 | P3.H = HI(DCPLB_DATA0); |
299 | R5 = [P4]; | 299 | R5 = [P4]; |
300 | 300 | ||
301 | /* A protection violation can be caused by more than just writes | 301 | /* A protection violation can be caused by more than just writes |
@@ -355,11 +355,11 @@ ENTRY(_cplb_mgr) | |||
355 | * config table, that covers the faulting address. | 355 | * config table, that covers the faulting address. |
356 | */ | 356 | */ |
357 | 357 | ||
358 | P1.L = (DCPLB_DATA15 & 0xFFFF); | 358 | P1.L = LO(DCPLB_DATA15); |
359 | P1.H = (DCPLB_DATA15 >> 16); | 359 | P1.H = HI(DCPLB_DATA15); |
360 | 360 | ||
361 | P4.L = (DCPLB_FAULT_ADDR & 0xFFFF); | 361 | P4.L = LO(DCPLB_FAULT_ADDR); |
362 | P4.H = (DCPLB_FAULT_ADDR >> 16); | 362 | P4.H = HI(DCPLB_FAULT_ADDR); |
363 | R4 = [P4]; | 363 | R4 = [P4]; |
364 | I0 = R4; | 364 | I0 = R4; |
365 | 365 | ||
@@ -368,8 +368,8 @@ ENTRY(_cplb_mgr) | |||
368 | R6 = R1; /* Save for later*/ | 368 | R6 = R1; /* Save for later*/ |
369 | 369 | ||
370 | /* Turn off CPLBs while we work.*/ | 370 | /* Turn off CPLBs while we work.*/ |
371 | P4.L = (DMEM_CONTROL & 0xFFFF); | 371 | P4.L = LO(DMEM_CONTROL); |
372 | P4.H = (DMEM_CONTROL >> 16); | 372 | P4.H = HI(DMEM_CONTROL); |
373 | R5 = [P4]; | 373 | R5 = [P4]; |
374 | BITCLR(R5,ENDCPLB_P); | 374 | BITCLR(R5,ENDCPLB_P); |
375 | CLI R0; | 375 | CLI R0; |
@@ -384,8 +384,8 @@ ENTRY(_cplb_mgr) | |||
384 | * are no good. | 384 | * are no good. |
385 | */ | 385 | */ |
386 | 386 | ||
387 | I1.L = (DCPLB_DATA0 & 0xFFFF); | 387 | I1.L = LO(DCPLB_DATA0); |
388 | I1.H = (DCPLB_DATA0 >> 16); | 388 | I1.H = HI(DCPLB_DATA0); |
389 | P1 = 2; | 389 | P1 = 2; |
390 | P2 = 16; | 390 | P2 = 16; |
391 | I2.L = _dcplb_preference; | 391 | I2.L = _dcplb_preference; |
@@ -405,7 +405,7 @@ ENTRY(_cplb_mgr) | |||
405 | P3.L = _page_size_table; /* retrieve end address */ | 405 | P3.L = _page_size_table; /* retrieve end address */ |
406 | P3.H = _page_size_table; /* retrieve end address */ | 406 | P3.H = _page_size_table; /* retrieve end address */ |
407 | R3 = 0x1002; /* 16th - position, 2 bits -length */ | 407 | R3 = 0x1002; /* 16th - position, 2 bits -length */ |
408 | #ifdef ANOMALY_05000209 | 408 | #if ANOMALY_05000209 |
409 | nop; /* Anomaly 05000209 */ | 409 | nop; /* Anomaly 05000209 */ |
410 | #endif | 410 | #endif |
411 | R7 = EXTRACT(R1,R3.l); | 411 | R7 = EXTRACT(R1,R3.l); |
@@ -475,8 +475,8 @@ ENTRY(_cplb_mgr) | |||
475 | * one space closer to the start. | 475 | * one space closer to the start. |
476 | */ | 476 | */ |
477 | 477 | ||
478 | R1.L = (DCPLB_DATA16 & 0xFFFF); /* DCPLB_DATA15 + 4 */ | 478 | R1.L = LO(DCPLB_DATA16); /* DCPLB_DATA15 + 4 */ |
479 | R1.H = (DCPLB_DATA16 >> 16); | 479 | R1.H = HI(DCPLB_DATA16); |
480 | R0 = P0; | 480 | R0 = P0; |
481 | 481 | ||
482 | /* If the victim happens to be in DCPLB15, | 482 | /* If the victim happens to be in DCPLB15, |
@@ -549,8 +549,8 @@ ENTRY(_cplb_mgr) | |||
549 | * if necessary. | 549 | * if necessary. |
550 | */ | 550 | */ |
551 | 551 | ||
552 | P1.L = (DCPLB_DATA15 & 0xFFFF); | 552 | P1.L = LO(DCPLB_DATA15); |
553 | P1.H = (DCPLB_DATA15 >> 16); | 553 | P1.H = HI(DCPLB_DATA15); |
554 | 554 | ||
555 | /* If the DCPLB has cache bits set, but caching hasn't | 555 | /* If the DCPLB has cache bits set, but caching hasn't |
556 | * been enabled, then we want to mask off the cache-in-L1 | 556 | * been enabled, then we want to mask off the cache-in-L1 |
@@ -565,7 +565,7 @@ ENTRY(_cplb_mgr) | |||
565 | * cost of first-write exceptions to mark the page as dirty. | 565 | * cost of first-write exceptions to mark the page as dirty. |
566 | */ | 566 | */ |
567 | 567 | ||
568 | #ifdef CONFIG_BLKFIN_WT | 568 | #ifdef CONFIG_BFIN_WT |
569 | BITSET(R6, 14); /* Set WT*/ | 569 | BITSET(R6, 14); /* Set WT*/ |
570 | #endif | 570 | #endif |
571 | 571 | ||
diff --git a/arch/blackfin/mach-common/dpmc.S b/arch/blackfin/mach-common/dpmc.S index 97cdcd6a00d4..39fbc2861107 100644 --- a/arch/blackfin/mach-common/dpmc.S +++ b/arch/blackfin/mach-common/dpmc.S | |||
@@ -39,8 +39,8 @@ ENTRY(_unmask_wdog_wakeup_evt) | |||
39 | P0.H = hi(SICA_IWR1); | 39 | P0.H = hi(SICA_IWR1); |
40 | P0.L = lo(SICA_IWR1); | 40 | P0.L = lo(SICA_IWR1); |
41 | #else | 41 | #else |
42 | P0.h = (SIC_IWR >> 16); | 42 | P0.h = HI(SIC_IWR); |
43 | P0.l = (SIC_IWR & 0xFFFF); | 43 | P0.l = LO(SIC_IWR); |
44 | #endif | 44 | #endif |
45 | R7 = [P0]; | 45 | R7 = [P0]; |
46 | #if defined(CONFIG_BF561) | 46 | #if defined(CONFIG_BF561) |
@@ -60,11 +60,11 @@ ENTRY(_unmask_wdog_wakeup_evt) | |||
60 | */ | 60 | */ |
61 | R7 = 0x0000(z); | 61 | R7 = 0x0000(z); |
62 | #if defined(CONFIG_BF561) | 62 | #if defined(CONFIG_BF561) |
63 | P0.h = (WDOGA_STAT >> 16); | 63 | P0.h = HI(WDOGA_STAT); |
64 | P0.l = (WDOGA_STAT & 0xFFFF); | 64 | P0.l = LO(WDOGA_STAT); |
65 | #else | 65 | #else |
66 | P0.h = (WDOG_STAT >> 16); | 66 | P0.h = HI(WDOG_STAT); |
67 | P0.l = (WDOG_STAT & 0xFFFF); | 67 | P0.l = LO(WDOG_STAT); |
68 | #endif | 68 | #endif |
69 | [P0] = R7; | 69 | [P0] = R7; |
70 | SSYNC; | 70 | SSYNC; |
@@ -73,21 +73,21 @@ ENTRY(_unmask_wdog_wakeup_evt) | |||
73 | ENTRY(_program_wdog_timer) | 73 | ENTRY(_program_wdog_timer) |
74 | [--SP] = ( R7:0, P5:0 ); | 74 | [--SP] = ( R7:0, P5:0 ); |
75 | #if defined(CONFIG_BF561) | 75 | #if defined(CONFIG_BF561) |
76 | P0.h = (WDOGA_CNT >> 16); | 76 | P0.h = HI(WDOGA_CNT); |
77 | P0.l = (WDOGA_CNT & 0xFFFF); | 77 | P0.l = LO(WDOGA_CNT); |
78 | #else | 78 | #else |
79 | P0.h = (WDOG_CNT >> 16); | 79 | P0.h = HI(WDOG_CNT); |
80 | P0.l = (WDOG_CNT & 0xFFFF); | 80 | P0.l = LO(WDOG_CNT); |
81 | #endif | 81 | #endif |
82 | [P0] = R0; | 82 | [P0] = R0; |
83 | SSYNC; | 83 | SSYNC; |
84 | 84 | ||
85 | #if defined(CONFIG_BF561) | 85 | #if defined(CONFIG_BF561) |
86 | P0.h = (WDOGA_CTL >> 16); | 86 | P0.h = HI(WDOGA_CTL); |
87 | P0.l = (WDOGA_CTL & 0xFFFF); | 87 | P0.l = LO(WDOGA_CTL); |
88 | #else | 88 | #else |
89 | P0.h = (WDOG_CTL >> 16); | 89 | P0.h = HI(WDOG_CTL); |
90 | P0.l = (WDOG_CTL & 0xFFFF); | 90 | P0.l = LO(WDOG_CTL); |
91 | #endif | 91 | #endif |
92 | R7 = W[P0](Z); | 92 | R7 = W[P0](Z); |
93 | CC = BITTST(R7,1); | 93 | CC = BITTST(R7,1); |
@@ -97,11 +97,11 @@ ENTRY(_program_wdog_timer) | |||
97 | 97 | ||
98 | .LSKIP_WRITE_TO_STAT: | 98 | .LSKIP_WRITE_TO_STAT: |
99 | #if defined(CONFIG_BF561) | 99 | #if defined(CONFIG_BF561) |
100 | P0.h = (WDOGA_CTL >> 16); | 100 | P0.h = HI(WDOGA_CTL); |
101 | P0.l = (WDOGA_CTL & 0xFFFF); | 101 | P0.l = LO(WDOGA_CTL); |
102 | #else | 102 | #else |
103 | P0.h = (WDOG_CTL >> 16); | 103 | P0.h = HI(WDOG_CTL); |
104 | P0.l = (WDOG_CTL & 0xFFFF); | 104 | P0.l = LO(WDOG_CTL); |
105 | #endif | 105 | #endif |
106 | R7 = W[P0](Z); | 106 | R7 = W[P0](Z); |
107 | BITCLR(R7,1); /* Enable GP event */ | 107 | BITCLR(R7,1); /* Enable GP event */ |
@@ -122,11 +122,11 @@ ENTRY(_clear_wdog_wakeup_evt) | |||
122 | [--SP] = ( R7:0, P5:0 ); | 122 | [--SP] = ( R7:0, P5:0 ); |
123 | 123 | ||
124 | #if defined(CONFIG_BF561) | 124 | #if defined(CONFIG_BF561) |
125 | P0.h = (WDOGA_CTL >> 16); | 125 | P0.h = HI(WDOGA_CTL); |
126 | P0.l = (WDOGA_CTL & 0xFFFF); | 126 | P0.l = LO(WDOGA_CTL); |
127 | #else | 127 | #else |
128 | P0.h = (WDOG_CTL >> 16); | 128 | P0.h = HI(WDOG_CTL); |
129 | P0.l = (WDOG_CTL & 0xFFFF); | 129 | P0.l = LO(WDOG_CTL); |
130 | #endif | 130 | #endif |
131 | R7 = 0x0AD6(Z); | 131 | R7 = 0x0AD6(Z); |
132 | W[P0] = R7.L; | 132 | W[P0] = R7.L; |
@@ -149,11 +149,11 @@ ENTRY(_clear_wdog_wakeup_evt) | |||
149 | ENTRY(_disable_wdog_timer) | 149 | ENTRY(_disable_wdog_timer) |
150 | [--SP] = ( R7:0, P5:0 ); | 150 | [--SP] = ( R7:0, P5:0 ); |
151 | #if defined(CONFIG_BF561) | 151 | #if defined(CONFIG_BF561) |
152 | P0.h = (WDOGA_CTL >> 16); | 152 | P0.h = HI(WDOGA_CTL); |
153 | P0.l = (WDOGA_CTL & 0xFFFF); | 153 | P0.l = LO(WDOGA_CTL); |
154 | #else | 154 | #else |
155 | P0.h = (WDOG_CTL >> 16); | 155 | P0.h = HI(WDOG_CTL); |
156 | P0.l = (WDOG_CTL & 0xFFFF); | 156 | P0.l = LO(WDOG_CTL); |
157 | #endif | 157 | #endif |
158 | R7 = 0xAD6(Z); | 158 | R7 = 0xAD6(Z); |
159 | W[P0] = R7.L; | 159 | W[P0] = R7.L; |
@@ -300,7 +300,7 @@ ENTRY(_sleep_deeper) | |||
300 | P0.H = hi(PLL_CTL); | 300 | P0.H = hi(PLL_CTL); |
301 | P0.L = lo(PLL_CTL); | 301 | P0.L = lo(PLL_CTL); |
302 | R5 = W[P0](z); | 302 | R5 = W[P0](z); |
303 | R0.L = (MIN_VC/CONFIG_CLKIN_HZ) << 9; | 303 | R0.L = (CONFIG_MIN_VCO_HZ/CONFIG_CLKIN_HZ) << 9; |
304 | W[P0] = R0.l; | 304 | W[P0] = R0.l; |
305 | 305 | ||
306 | SSYNC; | 306 | SSYNC; |
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 960458808344..e3ad5802868a 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -29,21 +29,7 @@ | |||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
30 | */ | 30 | */ |
31 | 31 | ||
32 | /* | 32 | /* NOTE: This code handles signal-recognition, which happens every time |
33 | * 25-Dec-2004 - LG Soft India | ||
34 | * 1. Fix in return_from_int, to make sure any pending | ||
35 | * system call in ILAT for this process to get | ||
36 | * executed, otherwise in case context switch happens, | ||
37 | * system call of first process (i.e in ILAT) will be | ||
38 | * carried forward to the switched process. | ||
39 | * 2. Removed Constant references for the following | ||
40 | * a. IPEND | ||
41 | * b. EXCAUSE mask | ||
42 | * c. PAGE Mask | ||
43 | */ | ||
44 | |||
45 | /* | ||
46 | * NOTE: This code handles signal-recognition, which happens every time | ||
47 | * after a timer-interrupt and after each system call. | 33 | * after a timer-interrupt and after each system call. |
48 | */ | 34 | */ |
49 | 35 | ||
@@ -58,6 +44,23 @@ | |||
58 | 44 | ||
59 | #include <asm/mach-common/context.S> | 45 | #include <asm/mach-common/context.S> |
60 | 46 | ||
47 | #if defined(CONFIG_BFIN_SCRATCH_REG_RETN) | ||
48 | # define EX_SCRATCH_REG RETN | ||
49 | #elif defined(CONFIG_BFIN_SCRATCH_REG_RETE) | ||
50 | # define EX_SCRATCH_REG RETE | ||
51 | #else | ||
52 | # define EX_SCRATCH_REG CYCLES | ||
53 | #endif | ||
54 | |||
55 | #if ANOMALY_05000281 | ||
56 | ENTRY(_safe_speculative_execution) | ||
57 | NOP; | ||
58 | NOP; | ||
59 | NOP; | ||
60 | jump _safe_speculative_execution; | ||
61 | ENDPROC(_safe_speculative_execution) | ||
62 | #endif | ||
63 | |||
61 | #ifdef CONFIG_EXCPT_IRQ_SYSC_L1 | 64 | #ifdef CONFIG_EXCPT_IRQ_SYSC_L1 |
62 | .section .l1.text | 65 | .section .l1.text |
63 | #else | 66 | #else |
@@ -69,7 +72,7 @@ | |||
69 | * patch up CPLB misses on the kernel stack. | 72 | * patch up CPLB misses on the kernel stack. |
70 | */ | 73 | */ |
71 | ENTRY(_ex_dcplb) | 74 | ENTRY(_ex_dcplb) |
72 | #if defined(ANOMALY_05000261) | 75 | #if ANOMALY_05000261 |
73 | /* | 76 | /* |
74 | * Work around an anomaly: if we see a new DCPLB fault, return | 77 | * Work around an anomaly: if we see a new DCPLB fault, return |
75 | * without doing anything. Then, if we get the same fault again, | 78 | * without doing anything. Then, if we get the same fault again, |
@@ -93,7 +96,7 @@ ENTRY(_ex_icplb) | |||
93 | call __cplb_hdr; | 96 | call __cplb_hdr; |
94 | DEBUG_START_HWTRACE(p5, r7) | 97 | DEBUG_START_HWTRACE(p5, r7) |
95 | RESTORE_ALL_SYS | 98 | RESTORE_ALL_SYS |
96 | SP = RETN; | 99 | SP = EX_SCRATCH_REG; |
97 | rtx; | 100 | rtx; |
98 | ENDPROC(_ex_icplb) | 101 | ENDPROC(_ex_icplb) |
99 | 102 | ||
@@ -102,7 +105,7 @@ ENTRY(_ex_syscall) | |||
102 | (R7:6,P5:4) = [sp++]; | 105 | (R7:6,P5:4) = [sp++]; |
103 | ASTAT = [sp++]; | 106 | ASTAT = [sp++]; |
104 | raise 15; /* invoked by TRAP #0, for sys call */ | 107 | raise 15; /* invoked by TRAP #0, for sys call */ |
105 | sp = retn; | 108 | sp = EX_SCRATCH_REG; |
106 | rtx | 109 | rtx |
107 | ENDPROC(_ex_syscall) | 110 | ENDPROC(_ex_syscall) |
108 | 111 | ||
@@ -135,9 +138,9 @@ ENTRY(_ex_single_step) | |||
135 | cc = r6 == r7; | 138 | cc = r6 == r7; |
136 | if !cc jump _ex_trap_c; | 139 | if !cc jump _ex_trap_c; |
137 | 140 | ||
138 | _return_from_exception: | 141 | ENTRY(_return_from_exception) |
139 | DEBUG_START_HWTRACE(p5, r7) | 142 | DEBUG_START_HWTRACE(p5, r7) |
140 | #ifdef ANOMALY_05000257 | 143 | #if ANOMALY_05000257 |
141 | R7=LC0; | 144 | R7=LC0; |
142 | LC0=R7; | 145 | LC0=R7; |
143 | R7=LC1; | 146 | R7=LC1; |
@@ -145,7 +148,7 @@ _return_from_exception: | |||
145 | #endif | 148 | #endif |
146 | (R7:6,P5:4) = [sp++]; | 149 | (R7:6,P5:4) = [sp++]; |
147 | ASTAT = [sp++]; | 150 | ASTAT = [sp++]; |
148 | sp = retn; | 151 | sp = EX_SCRATCH_REG; |
149 | rtx; | 152 | rtx; |
150 | ENDPROC(_ex_soft_bp) | 153 | ENDPROC(_ex_soft_bp) |
151 | 154 | ||
@@ -163,7 +166,17 @@ ENTRY(_handle_bad_cplb) | |||
163 | [--sp] = ASTAT; | 166 | [--sp] = ASTAT; |
164 | [--sp] = (R7:6, P5:4); | 167 | [--sp] = (R7:6, P5:4); |
165 | 168 | ||
169 | ENTRY(_ex_replaceable) | ||
170 | nop; | ||
171 | |||
166 | ENTRY(_ex_trap_c) | 172 | ENTRY(_ex_trap_c) |
173 | /* Make sure we are not in a double fault */ | ||
174 | p4.l = lo(IPEND); | ||
175 | p4.h = hi(IPEND); | ||
176 | r7 = [p4]; | ||
177 | CC = BITTST (r7, 5); | ||
178 | if CC jump _double_fault; | ||
179 | |||
167 | /* Call C code (trap_c) to handle the exception, which most | 180 | /* Call C code (trap_c) to handle the exception, which most |
168 | * likely involves sending a signal to the current process. | 181 | * likely involves sending a signal to the current process. |
169 | * To avoid double faults, lower our priority to IRQ5 first. | 182 | * To avoid double faults, lower our priority to IRQ5 first. |
@@ -204,11 +217,57 @@ ENTRY(_ex_trap_c) | |||
204 | DEBUG_START_HWTRACE(p5, r7) | 217 | DEBUG_START_HWTRACE(p5, r7) |
205 | (R7:6,P5:4) = [sp++]; | 218 | (R7:6,P5:4) = [sp++]; |
206 | ASTAT = [sp++]; | 219 | ASTAT = [sp++]; |
207 | SP = RETN; | 220 | SP = EX_SCRATCH_REG; |
208 | raise 5; | 221 | raise 5; |
209 | rtx; | 222 | rtx; |
210 | ENDPROC(_ex_trap_c) | 223 | ENDPROC(_ex_trap_c) |
211 | 224 | ||
225 | /* We just realized we got an exception, while we were processing a different | ||
226 | * exception. This is a unrecoverable event, so crash | ||
227 | */ | ||
228 | ENTRY(_double_fault) | ||
229 | /* Turn caches & protection off, to ensure we don't get any more | ||
230 | * double exceptions | ||
231 | */ | ||
232 | |||
233 | P4.L = LO(IMEM_CONTROL); | ||
234 | P4.H = HI(IMEM_CONTROL); | ||
235 | |||
236 | R5 = [P4]; /* Control Register*/ | ||
237 | BITCLR(R5,ENICPLB_P); | ||
238 | SSYNC; /* SSYNC required before writing to IMEM_CONTROL. */ | ||
239 | .align 8; | ||
240 | [P4] = R5; | ||
241 | SSYNC; | ||
242 | |||
243 | P4.L = LO(DMEM_CONTROL); | ||
244 | P4.H = HI(DMEM_CONTROL); | ||
245 | R5 = [P4]; | ||
246 | BITCLR(R5,ENDCPLB_P); | ||
247 | SSYNC; /* SSYNC required before writing to DMEM_CONTROL. */ | ||
248 | .align 8; | ||
249 | [P4] = R5; | ||
250 | SSYNC; | ||
251 | |||
252 | /* Fix up the stack */ | ||
253 | (R7:6,P5:4) = [sp++]; | ||
254 | ASTAT = [sp++]; | ||
255 | SP = EX_SCRATCH_REG; | ||
256 | |||
257 | /* We should be out of the exception stack, and back down into | ||
258 | * kernel or user space stack | ||
259 | */ | ||
260 | SAVE_ALL_SYS | ||
261 | |||
262 | r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ | ||
263 | SP += -12; | ||
264 | call _double_fault_c; | ||
265 | SP += 12; | ||
266 | .L_double_fault_panic: | ||
267 | JUMP .L_double_fault_panic | ||
268 | |||
269 | ENDPROC(_double_fault) | ||
270 | |||
212 | ENTRY(_exception_to_level5) | 271 | ENTRY(_exception_to_level5) |
213 | SAVE_ALL_SYS | 272 | SAVE_ALL_SYS |
214 | 273 | ||
@@ -279,7 +338,7 @@ ENTRY(_trap) /* Exception: 4th entry into system event table(supervisor mode)*/ | |||
279 | * covered by a CPLB. Switch to an exception stack; use RETN as a | 338 | * covered by a CPLB. Switch to an exception stack; use RETN as a |
280 | * scratch register (for want of a better option). | 339 | * scratch register (for want of a better option). |
281 | */ | 340 | */ |
282 | retn = sp; | 341 | EX_SCRATCH_REG = sp; |
283 | sp.l = _exception_stack_top; | 342 | sp.l = _exception_stack_top; |
284 | sp.h = _exception_stack_top; | 343 | sp.h = _exception_stack_top; |
285 | /* Try to deal with syscalls quickly. */ | 344 | /* Try to deal with syscalls quickly. */ |
@@ -290,8 +349,8 @@ ENTRY(_trap) /* Exception: 4th entry into system event table(supervisor mode)*/ | |||
290 | r6.l = lo(SEQSTAT_EXCAUSE); | 349 | r6.l = lo(SEQSTAT_EXCAUSE); |
291 | r6.h = hi(SEQSTAT_EXCAUSE); | 350 | r6.h = hi(SEQSTAT_EXCAUSE); |
292 | r7 = r7 & r6; | 351 | r7 = r7 & r6; |
293 | p5.h = _extable; | 352 | p5.h = _ex_table; |
294 | p5.l = _extable; | 353 | p5.l = _ex_table; |
295 | p4 = r7; | 354 | p4 = r7; |
296 | p5 = p5 + (p4 << 2); | 355 | p5 = p5 + (p4 << 2); |
297 | p4 = [p5]; | 356 | p4 = [p5]; |
@@ -634,9 +693,9 @@ ENTRY(_return_from_int) | |||
634 | p1.h = _schedule_and_signal_from_int; | 693 | p1.h = _schedule_and_signal_from_int; |
635 | [p0] = p1; | 694 | [p0] = p1; |
636 | csync; | 695 | csync; |
637 | #if defined(ANOMALY_05000281) | 696 | #if ANOMALY_05000281 |
638 | r0.l = lo(CONFIG_BOOT_LOAD); | 697 | r0.l = _safe_speculative_execution; |
639 | r0.h = hi(CONFIG_BOOT_LOAD); | 698 | r0.h = _safe_speculative_execution; |
640 | reti = r0; | 699 | reti = r0; |
641 | #endif | 700 | #endif |
642 | r0 = 0x801f (z); | 701 | r0 = 0x801f (z); |
@@ -648,9 +707,9 @@ ENTRY(_return_from_int) | |||
648 | ENDPROC(_return_from_int) | 707 | ENDPROC(_return_from_int) |
649 | 708 | ||
650 | ENTRY(_lower_to_irq14) | 709 | ENTRY(_lower_to_irq14) |
651 | #if defined(ANOMALY_05000281) | 710 | #if ANOMALY_05000281 |
652 | r0.l = lo(CONFIG_BOOT_LOAD); | 711 | r0.l = _safe_speculative_execution; |
653 | r0.h = hi(CONFIG_BOOT_LOAD); | 712 | r0.h = _safe_speculative_execution; |
654 | reti = r0; | 713 | reti = r0; |
655 | #endif | 714 | #endif |
656 | r0 = 0x401f; | 715 | r0 = 0x401f; |
@@ -731,6 +790,114 @@ ENTRY(_init_exception_buff) | |||
731 | rts; | 790 | rts; |
732 | ENDPROC(_init_exception_buff) | 791 | ENDPROC(_init_exception_buff) |
733 | 792 | ||
793 | /* We handle this 100% in exception space - to reduce overhead | ||
794 | * Only potiential problem is if the software buffer gets swapped out of the | ||
795 | * CPLB table - then double fault. - so we don't let this happen in other places | ||
796 | */ | ||
797 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
798 | ENTRY(_ex_trace_buff_full) | ||
799 | [--sp] = P3; | ||
800 | [--sp] = P2; | ||
801 | [--sp] = LC0; | ||
802 | [--sp] = LT0; | ||
803 | [--sp] = LB0; | ||
804 | P5.L = _trace_buff_offset; | ||
805 | P5.H = _trace_buff_offset; | ||
806 | P3 = [P5]; /* trace_buff_offset */ | ||
807 | P5.L = lo(TBUFSTAT); | ||
808 | P5.H = hi(TBUFSTAT); | ||
809 | R7 = [P5]; | ||
810 | R7 <<= 1; /* double, since we need to read twice */ | ||
811 | LC0 = R7; | ||
812 | R7 <<= 2; /* need to shift over again, | ||
813 | * to get the number of bytes */ | ||
814 | P5.L = lo(TBUF); | ||
815 | P5.H = hi(TBUF); | ||
816 | R6 = ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN)*1024) - 1; | ||
817 | |||
818 | P2 = R7; | ||
819 | P3 = P3 + P2; | ||
820 | R7 = P3; | ||
821 | R7 = R7 & R6; | ||
822 | P3 = R7; | ||
823 | P2.L = _trace_buff_offset; | ||
824 | P2.H = _trace_buff_offset; | ||
825 | [P2] = P3; | ||
826 | |||
827 | P2.L = _software_trace_buff; | ||
828 | P2.H = _software_trace_buff; | ||
829 | |||
830 | LSETUP (.Lstart, .Lend) LC0; | ||
831 | .Lstart: | ||
832 | R7 = [P5]; /* read TBUF */ | ||
833 | P4 = P3 + P2; | ||
834 | [P4] = R7; | ||
835 | P3 += -4; | ||
836 | R7 = P3; | ||
837 | R7 = R7 & R6; | ||
838 | .Lend: | ||
839 | P3 = R7; | ||
840 | |||
841 | LB0 = [sp++]; | ||
842 | LT0 = [sp++]; | ||
843 | LC0 = [sp++]; | ||
844 | P2 = [sp++]; | ||
845 | P3 = [sp++]; | ||
846 | jump _return_from_exception; | ||
847 | ENDPROC(_ex_trace_buff_full) | ||
848 | |||
849 | #if CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN == 4 | ||
850 | .data | ||
851 | #else | ||
852 | .section .l1.data.B | ||
853 | #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN */ | ||
854 | ENTRY(_trace_buff_offset) | ||
855 | .long 0; | ||
856 | ALIGN | ||
857 | ENTRY(_software_trace_buff) | ||
858 | .rept ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN)*256); | ||
859 | .long 0 | ||
860 | .endr | ||
861 | #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */ | ||
862 | |||
863 | #if CONFIG_EARLY_PRINTK | ||
864 | .section .init.text | ||
865 | ENTRY(_early_trap) | ||
866 | SAVE_ALL_SYS | ||
867 | trace_buffer_stop(p0,r0); | ||
868 | |||
869 | /* Turn caches off, to ensure we don't get double exceptions */ | ||
870 | |||
871 | P4.L = LO(IMEM_CONTROL); | ||
872 | P4.H = HI(IMEM_CONTROL); | ||
873 | |||
874 | R5 = [P4]; /* Control Register*/ | ||
875 | BITCLR(R5,ENICPLB_P); | ||
876 | CLI R1; | ||
877 | SSYNC; /* SSYNC required before writing to IMEM_CONTROL. */ | ||
878 | .align 8; | ||
879 | [P4] = R5; | ||
880 | SSYNC; | ||
881 | |||
882 | P4.L = LO(DMEM_CONTROL); | ||
883 | P4.H = HI(DMEM_CONTROL); | ||
884 | R5 = [P4]; | ||
885 | BITCLR(R5,ENDCPLB_P); | ||
886 | SSYNC; /* SSYNC required before writing to DMEM_CONTROL. */ | ||
887 | .align 8; | ||
888 | [P4] = R5; | ||
889 | SSYNC; | ||
890 | STI R1; | ||
891 | |||
892 | r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ | ||
893 | r1 = RETX; | ||
894 | |||
895 | SP += -12; | ||
896 | call _early_trap_c; | ||
897 | SP += 12; | ||
898 | ENDPROC(_early_trap) | ||
899 | #endif /* CONFIG_EARLY_PRINTK */ | ||
900 | |||
734 | /* | 901 | /* |
735 | * Put these in the kernel data section - that should always be covered by | 902 | * Put these in the kernel data section - that should always be covered by |
736 | * a CPLB. This is needed to ensure we don't get double fault conditions | 903 | * a CPLB. This is needed to ensure we don't get double fault conditions |
@@ -741,30 +908,33 @@ ENDPROC(_init_exception_buff) | |||
741 | #else | 908 | #else |
742 | .data | 909 | .data |
743 | #endif | 910 | #endif |
744 | ALIGN | 911 | ENTRY(_ex_table) |
745 | _extable: | ||
746 | /* entry for each EXCAUSE[5:0] | 912 | /* entry for each EXCAUSE[5:0] |
747 | * This table must be in sync with the table in ./kernel/traps.c | 913 | * This table must be in sync with the table in ./kernel/traps.c |
748 | * EXCPT instruction can provide 4 bits of EXCAUSE, allowing 16 to be user defined | 914 | * EXCPT instruction can provide 4 bits of EXCAUSE, allowing 16 to be user defined |
749 | */ | 915 | */ |
750 | .long _ex_syscall; /* 0x00 - User Defined - Linux Syscall */ | 916 | .long _ex_syscall /* 0x00 - User Defined - Linux Syscall */ |
751 | .long _ex_soft_bp /* 0x01 - User Defined - Software breakpoint */ | 917 | .long _ex_soft_bp /* 0x01 - User Defined - Software breakpoint */ |
752 | .long _ex_trap_c /* 0x02 - User Defined */ | 918 | .long _ex_replaceable /* 0x02 - User Defined */ |
753 | .long _ex_trap_c /* 0x03 - User Defined - userspace stack overflow */ | 919 | .long _ex_trap_c /* 0x03 - User Defined - userspace stack overflow */ |
754 | .long _ex_trap_c /* 0x04 - User Defined */ | 920 | .long _ex_replaceable /* 0x04 - User Defined */ |
755 | .long _ex_trap_c /* 0x05 - User Defined */ | 921 | .long _ex_replaceable /* 0x05 - User Defined */ |
756 | .long _ex_trap_c /* 0x06 - User Defined */ | 922 | .long _ex_replaceable /* 0x06 - User Defined */ |
757 | .long _ex_trap_c /* 0x07 - User Defined */ | 923 | .long _ex_replaceable /* 0x07 - User Defined */ |
758 | .long _ex_trap_c /* 0x08 - User Defined */ | 924 | .long _ex_replaceable /* 0x08 - User Defined */ |
759 | .long _ex_trap_c /* 0x09 - User Defined */ | 925 | .long _ex_replaceable /* 0x09 - User Defined */ |
760 | .long _ex_trap_c /* 0x0A - User Defined */ | 926 | .long _ex_replaceable /* 0x0A - User Defined */ |
761 | .long _ex_trap_c /* 0x0B - User Defined */ | 927 | .long _ex_replaceable /* 0x0B - User Defined */ |
762 | .long _ex_trap_c /* 0x0C - User Defined */ | 928 | .long _ex_replaceable /* 0x0C - User Defined */ |
763 | .long _ex_trap_c /* 0x0D - User Defined */ | 929 | .long _ex_replaceable /* 0x0D - User Defined */ |
764 | .long _ex_trap_c /* 0x0E - User Defined */ | 930 | .long _ex_replaceable /* 0x0E - User Defined */ |
765 | .long _ex_trap_c /* 0x0F - User Defined */ | 931 | .long _ex_replaceable /* 0x0F - User Defined */ |
766 | .long _ex_single_step /* 0x10 - HW Single step */ | 932 | .long _ex_single_step /* 0x10 - HW Single step */ |
933 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | ||
934 | .long _ex_trace_buff_full /* 0x11 - Trace Buffer Full */ | ||
935 | #else | ||
767 | .long _ex_trap_c /* 0x11 - Trace Buffer Full */ | 936 | .long _ex_trap_c /* 0x11 - Trace Buffer Full */ |
937 | #endif | ||
768 | .long _ex_trap_c /* 0x12 - Reserved */ | 938 | .long _ex_trap_c /* 0x12 - Reserved */ |
769 | .long _ex_trap_c /* 0x13 - Reserved */ | 939 | .long _ex_trap_c /* 0x13 - Reserved */ |
770 | .long _ex_trap_c /* 0x14 - Reserved */ | 940 | .long _ex_trap_c /* 0x14 - Reserved */ |
@@ -812,8 +982,8 @@ _extable: | |||
812 | .long _ex_trap_c /* 0x3D - Reserved */ | 982 | .long _ex_trap_c /* 0x3D - Reserved */ |
813 | .long _ex_trap_c /* 0x3E - Reserved */ | 983 | .long _ex_trap_c /* 0x3E - Reserved */ |
814 | .long _ex_trap_c /* 0x3F - Reserved */ | 984 | .long _ex_trap_c /* 0x3F - Reserved */ |
985 | END(_ex_table) | ||
815 | 986 | ||
816 | ALIGN | ||
817 | ENTRY(_sys_call_table) | 987 | ENTRY(_sys_call_table) |
818 | .long _sys_restart_syscall /* 0 */ | 988 | .long _sys_restart_syscall /* 0 */ |
819 | .long _sys_exit | 989 | .long _sys_exit |
@@ -1184,7 +1354,7 @@ _exception_stack: | |||
1184 | .endr | 1354 | .endr |
1185 | _exception_stack_top: | 1355 | _exception_stack_top: |
1186 | 1356 | ||
1187 | #if defined(ANOMALY_05000261) | 1357 | #if ANOMALY_05000261 |
1188 | /* Used by the assembly entry point to work around an anomaly. */ | 1358 | /* Used by the assembly entry point to work around an anomaly. */ |
1189 | _last_cplb_fault_retx: | 1359 | _last_cplb_fault_retx: |
1190 | .long 0; | 1360 | .long 0; |
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index 203e20709163..c6b32fe0f6e9 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S | |||
@@ -46,30 +46,6 @@ | |||
46 | 46 | ||
47 | .align 4 /* just in case */ | 47 | .align 4 /* just in case */ |
48 | 48 | ||
49 | /* | ||
50 | * initial interrupt handlers | ||
51 | */ | ||
52 | |||
53 | #ifndef CONFIG_KGDB | ||
54 | /* interrupt routine for emulation - 0 */ | ||
55 | /* Currently used only if GDB stub is not in - invalid */ | ||
56 | /* gdb-stub set the evt itself */ | ||
57 | /* save registers for post-mortem only */ | ||
58 | ENTRY(_evt_emulation) | ||
59 | SAVE_ALL_SYS | ||
60 | #ifdef CONFIG_FRAME_POINTER | ||
61 | fp = 0; | ||
62 | #endif | ||
63 | r0 = IRQ_EMU; | ||
64 | r1 = sp; | ||
65 | SP += -12; | ||
66 | call _irq_panic; | ||
67 | SP += 12; | ||
68 | /* - GDB stub fills this in by itself (if defined) */ | ||
69 | rte; | ||
70 | ENDPROC(_evt_emulation) | ||
71 | #endif | ||
72 | |||
73 | /* Common interrupt entry code. First we do CLI, then push | 49 | /* Common interrupt entry code. First we do CLI, then push |
74 | * RETI, to keep interrupts disabled, but to allow this state to be changed | 50 | * RETI, to keep interrupts disabled, but to allow this state to be changed |
75 | * by local_bh_enable. | 51 | * by local_bh_enable. |
@@ -140,7 +116,7 @@ __common_int_entry: | |||
140 | fp = 0; | 116 | fp = 0; |
141 | #endif | 117 | #endif |
142 | 118 | ||
143 | #if defined (ANOMALY_05000283) || defined (ANOMALY_05000315) | 119 | #if ANOMALY_05000283 || ANOMALY_05000315 |
144 | cc = r7 == r7; | 120 | cc = r7 == r7; |
145 | p5.h = 0xffc0; | 121 | p5.h = 0xffc0; |
146 | p5.l = 0x0014; | 122 | p5.l = 0x0014; |
@@ -163,7 +139,7 @@ ENTRY(_evt_ivhw) | |||
163 | #ifdef CONFIG_FRAME_POINTER | 139 | #ifdef CONFIG_FRAME_POINTER |
164 | fp = 0; | 140 | fp = 0; |
165 | #endif | 141 | #endif |
166 | #ifdef ANOMALY_05000283 | 142 | #if ANOMALY_05000283 |
167 | cc = r7 == r7; | 143 | cc = r7 == r7; |
168 | p5.h = 0xffc0; | 144 | p5.h = 0xffc0; |
169 | p5.l = 0x0014; | 145 | p5.l = 0x0014; |
@@ -201,27 +177,15 @@ ENTRY(_evt_ivhw) | |||
201 | jump .Lcommon_restore_context; | 177 | jump .Lcommon_restore_context; |
202 | #endif | 178 | #endif |
203 | 179 | ||
204 | /* interrupt routine for evt2 - 2. This is NMI. */ | 180 | /* Interrupt routine for evt2 (NMI). |
205 | ENTRY(_evt_evt2) | 181 | * We don't actually use this, so just return. |
206 | SAVE_CONTEXT | 182 | * For inner circle type details, please see: |
207 | #ifdef CONFIG_FRAME_POINTER | 183 | * http://docs.blackfin.uclinux.org/doku.php?id=linux:nmi |
208 | fp = 0; | 184 | */ |
209 | #endif | 185 | ENTRY(_evt_nmi) |
210 | #ifdef ANOMALY_05000283 | 186 | .weak _evt_nmi |
211 | cc = r7 == r7; | ||
212 | p5.h = 0xffc0; | ||
213 | p5.l = 0x0014; | ||
214 | if cc jump 1f; | ||
215 | r7.l = W[p5]; | ||
216 | 1: | ||
217 | #endif | ||
218 | r0 = IRQ_NMI; | ||
219 | r1 = sp; | ||
220 | SP += -12; | ||
221 | call _asm_do_IRQ; | ||
222 | SP += 12; | ||
223 | RESTORE_CONTEXT | ||
224 | rtn; | 187 | rtn; |
188 | ENDPROC(_evt_nmi) | ||
225 | 189 | ||
226 | /* interrupt routine for core timer - 6 */ | 190 | /* interrupt routine for core timer - 6 */ |
227 | ENTRY(_evt_timer) | 191 | ENTRY(_evt_timer) |
diff --git a/arch/blackfin/mach-common/ints-priority-dc.c b/arch/blackfin/mach-common/ints-priority-dc.c index 660f881b620a..2db3546fc874 100644 --- a/arch/blackfin/mach-common/ints-priority-dc.c +++ b/arch/blackfin/mach-common/ints-priority-dc.c | |||
@@ -221,7 +221,7 @@ static unsigned int bf561_gpio_irq_startup(unsigned int irq) | |||
221 | 221 | ||
222 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 222 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
223 | 223 | ||
224 | ret = gpio_request(gpionr, NULL); | 224 | ret = gpio_request(gpionr, "IRQ"); |
225 | if (ret) | 225 | if (ret) |
226 | return ret; | 226 | return ret; |
227 | 227 | ||
@@ -261,7 +261,7 @@ static int bf561_gpio_irq_type(unsigned int irq, unsigned int type) | |||
261 | 261 | ||
262 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 262 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
263 | 263 | ||
264 | ret = gpio_request(gpionr, NULL); | 264 | ret = gpio_request(gpionr, "IRQ"); |
265 | if (ret) | 265 | if (ret) |
266 | return ret; | 266 | return ret; |
267 | 267 | ||
@@ -362,10 +362,11 @@ void __init init_exception_vectors(void) | |||
362 | { | 362 | { |
363 | SSYNC(); | 363 | SSYNC(); |
364 | 364 | ||
365 | #ifndef CONFIG_KGDB | 365 | /* cannot program in software: |
366 | bfin_write_EVT0(evt_emulation); | 366 | * evt0 - emulation (jtag) |
367 | #endif | 367 | * evt1 - reset |
368 | bfin_write_EVT2(evt_evt2); | 368 | */ |
369 | bfin_write_EVT2(evt_nmi); | ||
369 | bfin_write_EVT3(trap); | 370 | bfin_write_EVT3(trap); |
370 | bfin_write_EVT5(evt_ivhw); | 371 | bfin_write_EVT5(evt_ivhw); |
371 | bfin_write_EVT6(evt_timer); | 372 | bfin_write_EVT6(evt_timer); |
diff --git a/arch/blackfin/mach-common/ints-priority-sc.c b/arch/blackfin/mach-common/ints-priority-sc.c index 4708023fe716..d3b7672b2b94 100644 --- a/arch/blackfin/mach-common/ints-priority-sc.c +++ b/arch/blackfin/mach-common/ints-priority-sc.c | |||
@@ -343,7 +343,7 @@ static unsigned int bfin_gpio_irq_startup(unsigned int irq) | |||
343 | u16 gpionr = irq - IRQ_PF0; | 343 | u16 gpionr = irq - IRQ_PF0; |
344 | 344 | ||
345 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 345 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
346 | ret = gpio_request(gpionr, NULL); | 346 | ret = gpio_request(gpionr, "IRQ"); |
347 | if (ret) | 347 | if (ret) |
348 | return ret; | 348 | return ret; |
349 | } | 349 | } |
@@ -377,7 +377,7 @@ static int bfin_gpio_irq_type(unsigned int irq, unsigned int type) | |||
377 | if (type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING | | 377 | if (type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING | |
378 | IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { | 378 | IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { |
379 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 379 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
380 | ret = gpio_request(gpionr, NULL); | 380 | ret = gpio_request(gpionr, "IRQ"); |
381 | if (ret) | 381 | if (ret) |
382 | return ret; | 382 | return ret; |
383 | } | 383 | } |
@@ -587,7 +587,7 @@ static unsigned int bfin_gpio_irq_startup(unsigned int irq) | |||
587 | } | 587 | } |
588 | 588 | ||
589 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 589 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
590 | ret = gpio_request(gpionr, NULL); | 590 | ret = gpio_request(gpionr, "IRQ"); |
591 | if (ret) | 591 | if (ret) |
592 | return ret; | 592 | return ret; |
593 | } | 593 | } |
@@ -627,7 +627,7 @@ static int bfin_gpio_irq_type(unsigned int irq, unsigned int type) | |||
627 | if (type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING | | 627 | if (type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING | |
628 | IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { | 628 | IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { |
629 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { | 629 | if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) { |
630 | ret = gpio_request(gpionr, NULL); | 630 | ret = gpio_request(gpionr, "IRQ"); |
631 | if (ret) | 631 | if (ret) |
632 | return ret; | 632 | return ret; |
633 | } | 633 | } |
@@ -721,10 +721,11 @@ void __init init_exception_vectors(void) | |||
721 | { | 721 | { |
722 | SSYNC(); | 722 | SSYNC(); |
723 | 723 | ||
724 | #ifndef CONFIG_KGDB | 724 | /* cannot program in software: |
725 | bfin_write_EVT0(evt_emulation); | 725 | * evt0 - emulation (jtag) |
726 | #endif | 726 | * evt1 - reset |
727 | bfin_write_EVT2(evt_evt2); | 727 | */ |
728 | bfin_write_EVT2(evt_nmi); | ||
728 | bfin_write_EVT3(trap); | 729 | bfin_write_EVT3(trap); |
729 | bfin_write_EVT5(evt_ivhw); | 730 | bfin_write_EVT5(evt_ivhw); |
730 | bfin_write_EVT6(evt_timer); | 731 | bfin_write_EVT6(evt_timer); |
diff --git a/arch/blackfin/mach-common/lock.S b/arch/blackfin/mach-common/lock.S index 386ac8dda076..28b87fe9ce3c 100644 --- a/arch/blackfin/mach-common/lock.S +++ b/arch/blackfin/mach-common/lock.S | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | .text | 34 | .text |
35 | 35 | ||
36 | #ifdef CONFIG_BLKFIN_CACHE_LOCK | 36 | #ifdef CONFIG_BFIN_ICACHE_LOCK |
37 | 37 | ||
38 | /* When you come here, it is assumed that | 38 | /* When you come here, it is assumed that |
39 | * R0 - Which way to be locked | 39 | * R0 - Which way to be locked |
@@ -43,12 +43,12 @@ ENTRY(_cache_grab_lock) | |||
43 | 43 | ||
44 | [--SP]=( R7:0,P5:0 ); | 44 | [--SP]=( R7:0,P5:0 ); |
45 | 45 | ||
46 | P1.H = (IMEM_CONTROL >> 16); | 46 | P1.H = HI(IMEM_CONTROL); |
47 | P1.L = (IMEM_CONTROL & 0xFFFF); | 47 | P1.L = LO(IMEM_CONTROL); |
48 | P5.H = (ICPLB_ADDR0 >> 16); | 48 | P5.H = HI(ICPLB_ADDR0); |
49 | P5.L = (ICPLB_ADDR0 & 0xFFFF); | 49 | P5.L = LO(ICPLB_ADDR0); |
50 | P4.H = (ICPLB_DATA0 >> 16); | 50 | P4.H = HI(ICPLB_DATA0); |
51 | P4.L = (ICPLB_DATA0 & 0xFFFF); | 51 | P4.L = LO(ICPLB_DATA0); |
52 | R7 = R0; | 52 | R7 = R0; |
53 | 53 | ||
54 | /* If the code of interest already resides in the cache | 54 | /* If the code of interest already resides in the cache |
@@ -167,8 +167,8 @@ ENTRY(_cache_lock) | |||
167 | 167 | ||
168 | [--SP]=( R7:0,P5:0 ); | 168 | [--SP]=( R7:0,P5:0 ); |
169 | 169 | ||
170 | P1.H = (IMEM_CONTROL >> 16); | 170 | P1.H = HI(IMEM_CONTROL); |
171 | P1.L = (IMEM_CONTROL & 0xFFFF); | 171 | P1.L = LO(IMEM_CONTROL); |
172 | 172 | ||
173 | /* Disable the Interrupts*/ | 173 | /* Disable the Interrupts*/ |
174 | CLI R3; | 174 | CLI R3; |
@@ -189,14 +189,14 @@ ENTRY(_cache_lock) | |||
189 | RTS; | 189 | RTS; |
190 | ENDPROC(_cache_lock) | 190 | ENDPROC(_cache_lock) |
191 | 191 | ||
192 | #endif /* BLKFIN_CACHE_LOCK */ | 192 | #endif /* BFIN_ICACHE_LOCK */ |
193 | 193 | ||
194 | /* Return the ILOC bits of IMEM_CONTROL | 194 | /* Return the ILOC bits of IMEM_CONTROL |
195 | */ | 195 | */ |
196 | 196 | ||
197 | ENTRY(_read_iloc) | 197 | ENTRY(_read_iloc) |
198 | P1.H = (IMEM_CONTROL >> 16); | 198 | P1.H = HI(IMEM_CONTROL); |
199 | P1.L = (IMEM_CONTROL & 0xFFFF); | 199 | P1.L = LO(IMEM_CONTROL); |
200 | R1 = 0xF; | 200 | R1 = 0xF; |
201 | R0 = [P1]; | 201 | R0 = [P1]; |
202 | R0 = R0 >> 3; | 202 | R0 = R0 >> 3; |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index 68459cc052a1..e97ea8fc8dc4 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
@@ -53,7 +53,7 @@ static unsigned long empty_bad_page; | |||
53 | 53 | ||
54 | unsigned long empty_zero_page; | 54 | unsigned long empty_zero_page; |
55 | 55 | ||
56 | void __init show_mem(void) | 56 | void show_mem(void) |
57 | { | 57 | { |
58 | unsigned long i; | 58 | unsigned long i; |
59 | int free = 0, total = 0, reserved = 0, shared = 0; | 59 | int free = 0, total = 0, reserved = 0, shared = 0; |
diff --git a/arch/blackfin/oprofile/op_blackfin.h b/arch/blackfin/oprofile/op_blackfin.h index f88f446c814f..05dd08c9d154 100644 --- a/arch/blackfin/oprofile/op_blackfin.h +++ b/arch/blackfin/oprofile/op_blackfin.h | |||
@@ -68,7 +68,7 @@ static inline unsigned int ctr_read(void) | |||
68 | unsigned int tmp; | 68 | unsigned int tmp; |
69 | 69 | ||
70 | tmp = bfin_read_PFCTL(); | 70 | tmp = bfin_read_PFCTL(); |
71 | __builtin_bfin_csync(); | 71 | CSYNC(); |
72 | 72 | ||
73 | return tmp; | 73 | return tmp; |
74 | } | 74 | } |
@@ -76,21 +76,21 @@ static inline unsigned int ctr_read(void) | |||
76 | static inline void ctr_write(unsigned int val) | 76 | static inline void ctr_write(unsigned int val) |
77 | { | 77 | { |
78 | bfin_write_PFCTL(val); | 78 | bfin_write_PFCTL(val); |
79 | __builtin_bfin_csync(); | 79 | CSYNC(); |
80 | } | 80 | } |
81 | 81 | ||
82 | static inline void count_read(unsigned int *count) | 82 | static inline void count_read(unsigned int *count) |
83 | { | 83 | { |
84 | count[0] = bfin_read_PFCNTR0(); | 84 | count[0] = bfin_read_PFCNTR0(); |
85 | count[1] = bfin_read_PFCNTR1(); | 85 | count[1] = bfin_read_PFCNTR1(); |
86 | __builtin_bfin_csync(); | 86 | CSYNC(); |
87 | } | 87 | } |
88 | 88 | ||
89 | static inline void count_write(unsigned int *count) | 89 | static inline void count_write(unsigned int *count) |
90 | { | 90 | { |
91 | bfin_write_PFCNTR0(count[0]); | 91 | bfin_write_PFCNTR0(count[0]); |
92 | bfin_write_PFCNTR1(count[1]); | 92 | bfin_write_PFCNTR1(count[1]); |
93 | __builtin_bfin_csync(); | 93 | CSYNC(); |
94 | } | 94 | } |
95 | 95 | ||
96 | extern int pm_overflow_handler(int irq, struct pt_regs *regs); | 96 | extern int pm_overflow_handler(int irq, struct pt_regs *regs); |
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 97b64d7d6bf6..2d85e4b87307 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -226,7 +226,7 @@ config PARAVIRT | |||
226 | However, when run without a hypervisor the kernel is | 226 | However, when run without a hypervisor the kernel is |
227 | theoretically slower. If in doubt, say N. | 227 | theoretically slower. If in doubt, say N. |
228 | 228 | ||
229 | source "arch/i386/xen/Kconfig" | 229 | source "arch/x86/xen/Kconfig" |
230 | 230 | ||
231 | config VMI | 231 | config VMI |
232 | bool "VMI Paravirt-ops support" | 232 | bool "VMI Paravirt-ops support" |
@@ -707,7 +707,7 @@ config MATH_EMULATION | |||
707 | intend to use this kernel on different machines. | 707 | intend to use this kernel on different machines. |
708 | 708 | ||
709 | More information about the internals of the Linux math coprocessor | 709 | More information about the internals of the Linux math coprocessor |
710 | emulation can be found in <file:arch/i386/math-emu/README>. | 710 | emulation can be found in <file:arch/x86/math-emu/README>. |
711 | 711 | ||
712 | If you are not sure, say Y; apart from resulting in a 66 KB bigger | 712 | If you are not sure, say Y; apart from resulting in a 66 KB bigger |
713 | kernel, it won't hurt. | 713 | kernel, it won't hurt. |
@@ -1067,7 +1067,7 @@ config APM_REAL_MODE_POWER_OFF | |||
1067 | 1067 | ||
1068 | endif # APM | 1068 | endif # APM |
1069 | 1069 | ||
1070 | source "arch/i386/kernel/cpu/cpufreq/Kconfig" | 1070 | source "arch/x86/kernel/cpu/cpufreq/Kconfig" |
1071 | 1071 | ||
1072 | endmenu | 1072 | endmenu |
1073 | 1073 | ||
@@ -1240,7 +1240,7 @@ menuconfig INSTRUMENTATION | |||
1240 | 1240 | ||
1241 | if INSTRUMENTATION | 1241 | if INSTRUMENTATION |
1242 | 1242 | ||
1243 | source "arch/i386/oprofile/Kconfig" | 1243 | source "arch/x86/oprofile/Kconfig" |
1244 | 1244 | ||
1245 | config KPROBES | 1245 | config KPROBES |
1246 | bool "Kprobes" | 1246 | bool "Kprobes" |
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 52b932478c6d..5e50dbf00f3e 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -17,6 +17,9 @@ | |||
17 | # 20050320 Kianusch Sayah Karadji <kianusch@sk-tech.net> | 17 | # 20050320 Kianusch Sayah Karadji <kianusch@sk-tech.net> |
18 | # Added support for GEODE CPU | 18 | # Added support for GEODE CPU |
19 | 19 | ||
20 | # Fill in SRCARCH | ||
21 | SRCARCH := x86 | ||
22 | |||
20 | HAS_BIARCH := $(call cc-option-yn, -m32) | 23 | HAS_BIARCH := $(call cc-option-yn, -m32) |
21 | ifeq ($(HAS_BIARCH),y) | 24 | ifeq ($(HAS_BIARCH),y) |
22 | AS := $(AS) --32 | 25 | AS := $(AS) --32 |
@@ -61,62 +64,62 @@ AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONF | |||
61 | CFLAGS += $(cflags-y) | 64 | CFLAGS += $(cflags-y) |
62 | 65 | ||
63 | # Default subarch .c files | 66 | # Default subarch .c files |
64 | mcore-y := mach-default | 67 | mcore-y := arch/x86/mach-default |
65 | 68 | ||
66 | # Voyager subarch support | 69 | # Voyager subarch support |
67 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager | 70 | mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-x86/mach-voyager |
68 | mcore-$(CONFIG_X86_VOYAGER) := mach-voyager | 71 | mcore-$(CONFIG_X86_VOYAGER) := arch/x86/mach-voyager |
69 | 72 | ||
70 | # VISWS subarch support | 73 | # VISWS subarch support |
71 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws | 74 | mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-x86/mach-visws |
72 | mcore-$(CONFIG_X86_VISWS) := mach-visws | 75 | mcore-$(CONFIG_X86_VISWS) := arch/x86/mach-visws |
73 | 76 | ||
74 | # NUMAQ subarch support | 77 | # NUMAQ subarch support |
75 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq | 78 | mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-x86/mach-numaq |
76 | mcore-$(CONFIG_X86_NUMAQ) := mach-default | 79 | mcore-$(CONFIG_X86_NUMAQ) := arch/x86/mach-default |
77 | 80 | ||
78 | # BIGSMP subarch support | 81 | # BIGSMP subarch support |
79 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp | 82 | mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-x86/mach-bigsmp |
80 | mcore-$(CONFIG_X86_BIGSMP) := mach-default | 83 | mcore-$(CONFIG_X86_BIGSMP) := arch/x86/mach-default |
81 | 84 | ||
82 | #Summit subarch support | 85 | #Summit subarch support |
83 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit | 86 | mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-x86/mach-summit |
84 | mcore-$(CONFIG_X86_SUMMIT) := mach-default | 87 | mcore-$(CONFIG_X86_SUMMIT) := arch/x86/mach-default |
85 | 88 | ||
86 | # generic subarchitecture | 89 | # generic subarchitecture |
87 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic | 90 | mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-x86/mach-generic |
88 | mcore-$(CONFIG_X86_GENERICARCH) := mach-default | 91 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default |
89 | core-$(CONFIG_X86_GENERICARCH) += arch/i386/mach-generic/ | 92 | core-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ |
90 | 93 | ||
91 | # ES7000 subarch support | 94 | # ES7000 subarch support |
92 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000 | 95 | mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-x86/mach-es7000 |
93 | mcore-$(CONFIG_X86_ES7000) := mach-default | 96 | mcore-$(CONFIG_X86_ES7000) := arch/x86/mach-default |
94 | core-$(CONFIG_X86_ES7000) := arch/i386/mach-es7000/ | 97 | core-$(CONFIG_X86_ES7000) := arch/x86/mach-es7000/ |
95 | 98 | ||
96 | # Xen paravirtualization support | 99 | # Xen paravirtualization support |
97 | core-$(CONFIG_XEN) += arch/i386/xen/ | 100 | core-$(CONFIG_XEN) += arch/x86/xen/ |
98 | 101 | ||
99 | # default subarch .h files | 102 | # default subarch .h files |
100 | mflags-y += -Iinclude/asm-i386/mach-default | 103 | mflags-y += -Iinclude/asm-x86/mach-default |
101 | 104 | ||
102 | head-y := arch/i386/kernel/head.o arch/i386/kernel/init_task.o | 105 | head-y := arch/x86/kernel/head_32.o arch/x86/kernel/init_task_32.o |
103 | 106 | ||
104 | libs-y += arch/i386/lib/ | 107 | libs-y += arch/x86/lib/ |
105 | core-y += arch/i386/kernel/ \ | 108 | core-y += arch/x86/kernel/ \ |
106 | arch/i386/mm/ \ | 109 | arch/x86/mm/ \ |
107 | arch/i386/$(mcore-y)/ \ | 110 | $(mcore-y)/ \ |
108 | arch/i386/crypto/ | 111 | arch/x86/crypto/ |
109 | drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/ | 112 | drivers-$(CONFIG_MATH_EMULATION) += arch/x86/math-emu/ |
110 | drivers-$(CONFIG_PCI) += arch/i386/pci/ | 113 | drivers-$(CONFIG_PCI) += arch/x86/pci/ |
111 | # must be linked after kernel/ | 114 | # must be linked after kernel/ |
112 | drivers-$(CONFIG_OPROFILE) += arch/i386/oprofile/ | 115 | drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/ |
113 | drivers-$(CONFIG_PM) += arch/i386/power/ | 116 | drivers-$(CONFIG_PM) += arch/x86/power/ |
114 | drivers-$(CONFIG_FB) += arch/i386/video/ | 117 | drivers-$(CONFIG_FB) += arch/x86/video/ |
115 | 118 | ||
116 | CFLAGS += $(mflags-y) | 119 | CFLAGS += $(mflags-y) |
117 | AFLAGS += $(mflags-y) | 120 | AFLAGS += $(mflags-y) |
118 | 121 | ||
119 | boot := arch/i386/boot | 122 | boot := arch/x86/boot |
120 | 123 | ||
121 | PHONY += zImage bzImage compressed zlilo bzlilo \ | 124 | PHONY += zImage bzImage compressed zlilo bzlilo \ |
122 | zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install | 125 | zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install |
@@ -125,9 +128,11 @@ all: bzImage | |||
125 | 128 | ||
126 | # KBUILD_IMAGE specify target image being built | 129 | # KBUILD_IMAGE specify target image being built |
127 | KBUILD_IMAGE := $(boot)/bzImage | 130 | KBUILD_IMAGE := $(boot)/bzImage |
128 | zImage zlilo zdisk: KBUILD_IMAGE := arch/i386/boot/zImage | 131 | zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage |
129 | 132 | ||
130 | zImage bzImage: vmlinux | 133 | zImage bzImage: vmlinux |
134 | $(Q)mkdir -p $(objtree)/arch/i386/boot | ||
135 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage | ||
131 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) | 136 | $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) |
132 | 137 | ||
133 | compressed: zImage | 138 | compressed: zImage |
@@ -145,7 +150,8 @@ install: | |||
145 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | 150 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install |
146 | 151 | ||
147 | archclean: | 152 | archclean: |
148 | $(Q)$(MAKE) $(clean)=arch/i386/boot | 153 | $(Q)rm -rf $(objtree)/arch/i386/boot |
154 | $(Q)$(MAKE) $(clean)=arch/x86/boot | ||
149 | 155 | ||
150 | define archhelp | 156 | define archhelp |
151 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' | 157 | echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' |
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile deleted file mode 100644 index 9d33b00de659..000000000000 --- a/arch/i386/kernel/Makefile +++ /dev/null | |||
@@ -1,88 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head.o init_task.o vmlinux.lds | ||
6 | |||
7 | obj-y := process.o signal.o entry.o traps.o irq.o \ | ||
8 | ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_i386.o \ | ||
9 | pci-dma.o i386_ksyms.o i387.o bootflag.o e820.o\ | ||
10 | quirks.o i8237.o topology.o alternative.o i8253.o tsc.o | ||
11 | |||
12 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
13 | obj-y += cpu/ | ||
14 | obj-y += acpi/ | ||
15 | obj-$(CONFIG_X86_BIOS_REBOOT) += reboot.o | ||
16 | obj-$(CONFIG_MCA) += mca.o | ||
17 | obj-$(CONFIG_X86_MSR) += msr.o | ||
18 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
19 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
20 | obj-$(CONFIG_APM) += apm.o | ||
21 | obj-$(CONFIG_X86_SMP) += smp.o smpboot.o tsc_sync.o | ||
22 | obj-$(CONFIG_SMP) += smpcommon.o | ||
23 | obj-$(CONFIG_X86_TRAMPOLINE) += trampoline.o | ||
24 | obj-$(CONFIG_X86_MPPARSE) += mpparse.o | ||
25 | obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o | ||
26 | obj-$(CONFIG_X86_IO_APIC) += io_apic.o | ||
27 | obj-$(CONFIG_X86_REBOOTFIXUPS) += reboot_fixups.o | ||
28 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o | ||
29 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | ||
30 | obj-$(CONFIG_X86_NUMAQ) += numaq.o | ||
31 | obj-$(CONFIG_X86_SUMMIT_NUMA) += summit.o | ||
32 | obj-$(CONFIG_KPROBES) += kprobes.o | ||
33 | obj-$(CONFIG_MODULES) += module.o | ||
34 | obj-y += sysenter.o vsyscall.o | ||
35 | obj-$(CONFIG_ACPI_SRAT) += srat.o | ||
36 | obj-$(CONFIG_EFI) += efi.o efi_stub.o | ||
37 | obj-$(CONFIG_DOUBLEFAULT) += doublefault.o | ||
38 | obj-$(CONFIG_VM86) += vm86.o | ||
39 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
40 | obj-$(CONFIG_HPET_TIMER) += hpet.o | ||
41 | obj-$(CONFIG_K8_NB) += k8.o | ||
42 | obj-$(CONFIG_MGEODE_LX) += geode.o | ||
43 | |||
44 | obj-$(CONFIG_VMI) += vmi.o vmiclock.o | ||
45 | obj-$(CONFIG_PARAVIRT) += paravirt.o | ||
46 | obj-y += pcspeaker.o | ||
47 | |||
48 | obj-$(CONFIG_SCx200) += scx200.o | ||
49 | |||
50 | # vsyscall.o contains the vsyscall DSO images as __initdata. | ||
51 | # We must build both images before we can assemble it. | ||
52 | # Note: kbuild does not track this dependency due to usage of .incbin | ||
53 | $(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so | ||
54 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) | ||
55 | targets += vsyscall-note.o vsyscall.lds | ||
56 | |||
57 | # The DSO images are built using a special linker script. | ||
58 | quiet_cmd_syscall = SYSCALL $@ | ||
59 | cmd_syscall = $(CC) -m elf_i386 -nostdlib $(SYSCFLAGS_$(@F)) \ | ||
60 | -Wl,-T,$(filter-out FORCE,$^) -o $@ | ||
61 | |||
62 | export CPPFLAGS_vsyscall.lds += -P -C -U$(ARCH) | ||
63 | |||
64 | vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ | ||
65 | $(call ld-option, -Wl$(comma)--hash-style=sysv) | ||
66 | SYSCFLAGS_vsyscall-sysenter.so = $(vsyscall-flags) | ||
67 | SYSCFLAGS_vsyscall-int80.so = $(vsyscall-flags) | ||
68 | |||
69 | $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so: \ | ||
70 | $(obj)/vsyscall-%.so: $(src)/vsyscall.lds \ | ||
71 | $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE | ||
72 | $(call if_changed,syscall) | ||
73 | |||
74 | # We also create a special relocatable object that should mirror the symbol | ||
75 | # table and layout of the linked DSO. With ld -R we can then refer to | ||
76 | # these symbols in the kernel code rather than hand-coded addresses. | ||
77 | extra-y += vsyscall-syms.o | ||
78 | $(obj)/built-in.o: $(obj)/vsyscall-syms.o | ||
79 | $(obj)/built-in.o: ld_flags += -R $(obj)/vsyscall-syms.o | ||
80 | |||
81 | SYSCFLAGS_vsyscall-syms.o = -r | ||
82 | $(obj)/vsyscall-syms.o: $(src)/vsyscall.lds \ | ||
83 | $(obj)/vsyscall-sysenter.o $(obj)/vsyscall-note.o FORCE | ||
84 | $(call if_changed,syscall) | ||
85 | |||
86 | k8-y += ../../x86_64/kernel/k8.o | ||
87 | stacktrace-y += ../../x86_64/kernel/stacktrace.o | ||
88 | |||
diff --git a/arch/i386/kernel/early_printk.c b/arch/i386/kernel/early_printk.c deleted file mode 100644 index 92f812ba275c..000000000000 --- a/arch/i386/kernel/early_printk.c +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | |||
2 | #include "../../x86_64/kernel/early_printk.c" | ||
diff --git a/arch/i386/kernel/tsc_sync.c b/arch/i386/kernel/tsc_sync.c deleted file mode 100644 index 12424629af87..000000000000 --- a/arch/i386/kernel/tsc_sync.c +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include "../../x86_64/kernel/tsc_sync.c" | ||
diff --git a/arch/i386/lib/Makefile b/arch/i386/lib/Makefile deleted file mode 100644 index 4d105fdfe817..000000000000 --- a/arch/i386/lib/Makefile +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for i386-specific library files.. | ||
3 | # | ||
4 | |||
5 | |||
6 | lib-y = checksum.o delay.o usercopy.o getuser.o putuser.o memcpy.o strstr.o \ | ||
7 | bitops.o semaphore.o string.o | ||
8 | |||
9 | lib-$(CONFIG_X86_USE_3DNOW) += mmx.o | ||
10 | |||
11 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
diff --git a/arch/i386/mach-generic/Makefile b/arch/i386/mach-generic/Makefile deleted file mode 100644 index 6914485c0d85..000000000000 --- a/arch/i386/mach-generic/Makefile +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the generic architecture | ||
3 | # | ||
4 | |||
5 | EXTRA_CFLAGS := -Iarch/i386/kernel | ||
6 | |||
7 | obj-y := probe.o summit.o bigsmp.o es7000.o default.o ../mach-es7000/ | ||
diff --git a/arch/i386/mm/Makefile b/arch/i386/mm/Makefile deleted file mode 100644 index 80908b5aa60f..000000000000 --- a/arch/i386/mm/Makefile +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux i386-specific parts of the memory manager. | ||
3 | # | ||
4 | |||
5 | obj-y := init.o pgtable.o fault.o ioremap.o extable.o pageattr.o mmap.o | ||
6 | |||
7 | obj-$(CONFIG_NUMA) += discontig.o | ||
8 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
9 | obj-$(CONFIG_HIGHMEM) += highmem.o | ||
10 | obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap.o | ||
diff --git a/arch/ia64/ia32/audit.c b/arch/ia64/ia32/audit.c index 8850fe40ea34..5e901c75df1b 100644 --- a/arch/ia64/ia32/audit.c +++ b/arch/ia64/ia32/audit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #include <asm-i386/unistd.h> | 1 | #include <asm-x86/unistd_32.h> |
2 | 2 | ||
3 | unsigned ia32_dir_class[] = { | 3 | unsigned ia32_dir_class[] = { |
4 | #include <asm-generic/audit_dir_write.h> | 4 | #include <asm-generic/audit_dir_write.h> |
diff --git a/arch/um/sys-i386/sys_call_table.S b/arch/um/sys-i386/sys_call_table.S index 2497554b7b95..12d4148dba39 100644 --- a/arch/um/sys-i386/sys_call_table.S +++ b/arch/um/sys-i386/sys_call_table.S | |||
@@ -9,4 +9,4 @@ | |||
9 | 9 | ||
10 | #define old_mmap old_mmap_i386 | 10 | #define old_mmap old_mmap_i386 |
11 | 11 | ||
12 | #include "../../i386/kernel/syscall_table.S" | 12 | #include "../../x86/kernel/syscall_table_32.S" |
diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c index 5133988d3610..71b2ae4ad5de 100644 --- a/arch/um/sys-x86_64/syscall_table.c +++ b/arch/um/sys-x86_64/syscall_table.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; | 37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; |
38 | #undef _ASM_X86_64_UNISTD_H_ | 38 | #undef _ASM_X86_64_UNISTD_H_ |
39 | #include <asm-x86_64/unistd.h> | 39 | #include <asm-x86/unistd_64.h> |
40 | 40 | ||
41 | #undef __SYSCALL | 41 | #undef __SYSCALL |
42 | #define __SYSCALL(nr, sym) [ nr ] = sym, | 42 | #define __SYSCALL(nr, sym) [ nr ] = sym, |
@@ -49,5 +49,5 @@ extern void sys_ni_syscall(void); | |||
49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { | 49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { |
50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ | 50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ |
51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, | 51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, |
52 | #include <asm-x86_64/unistd.h> | 52 | #include <asm-x86/unistd_64.h> |
53 | }; | 53 | }; |
diff --git a/arch/i386/boot/.gitignore b/arch/x86/boot/.gitignore index 18465143cfa2..18465143cfa2 100644 --- a/arch/i386/boot/.gitignore +++ b/arch/x86/boot/.gitignore | |||
diff --git a/arch/i386/boot/Makefile b/arch/x86/boot/Makefile index 93386a4e40b4..cb1035f2b7e9 100644 --- a/arch/i386/boot/Makefile +++ b/arch/x86/boot/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # arch/i386/boot/Makefile | 2 | # arch/x86/boot/Makefile |
3 | # | 3 | # |
4 | # This file is subject to the terms and conditions of the GNU General Public | 4 | # This file is subject to the terms and conditions of the GNU General Public |
5 | # License. See the file "COPYING" in the main directory of this archive | 5 | # License. See the file "COPYING" in the main directory of this archive |
diff --git a/arch/i386/boot/a20.c b/arch/x86/boot/a20.c index 31348d054fca..31348d054fca 100644 --- a/arch/i386/boot/a20.c +++ b/arch/x86/boot/a20.c | |||
diff --git a/arch/i386/boot/apm.c b/arch/x86/boot/apm.c index eab50c55a3a5..eab50c55a3a5 100644 --- a/arch/i386/boot/apm.c +++ b/arch/x86/boot/apm.c | |||
diff --git a/arch/i386/boot/bitops.h b/arch/x86/boot/bitops.h index 8dcc8dc7db88..8dcc8dc7db88 100644 --- a/arch/i386/boot/bitops.h +++ b/arch/x86/boot/bitops.h | |||
diff --git a/arch/i386/boot/boot.h b/arch/x86/boot/boot.h index 20bab9431acb..20bab9431acb 100644 --- a/arch/i386/boot/boot.h +++ b/arch/x86/boot/boot.h | |||
diff --git a/arch/i386/boot/cmdline.c b/arch/x86/boot/cmdline.c index 34bb778c4357..34bb778c4357 100644 --- a/arch/i386/boot/cmdline.c +++ b/arch/x86/boot/cmdline.c | |||
diff --git a/arch/i386/boot/code16gcc.h b/arch/x86/boot/code16gcc.h index d93e48010b61..d93e48010b61 100644 --- a/arch/i386/boot/code16gcc.h +++ b/arch/x86/boot/code16gcc.h | |||
diff --git a/arch/i386/boot/compressed/.gitignore b/arch/x86/boot/compressed/.gitignore index be0ed065249b..be0ed065249b 100644 --- a/arch/i386/boot/compressed/.gitignore +++ b/arch/x86/boot/compressed/.gitignore | |||
diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile new file mode 100644 index 000000000000..52c1db854520 --- /dev/null +++ b/arch/x86/boot/compressed/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/boot/compressed/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/boot/compressed/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/i386/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile_32 index 189fa1dbefcc..22613c652d22 100644 --- a/arch/i386/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile_32 | |||
@@ -1,10 +1,10 @@ | |||
1 | # | 1 | # |
2 | # linux/arch/i386/boot/compressed/Makefile | 2 | # linux/arch/x86/boot/compressed/Makefile |
3 | # | 3 | # |
4 | # create a compressed vmlinux image from the original vmlinux | 4 | # create a compressed vmlinux image from the original vmlinux |
5 | # | 5 | # |
6 | 6 | ||
7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o \ | 7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz head_32.o misc_32.o piggy.o \ |
8 | vmlinux.bin.all vmlinux.relocs | 8 | vmlinux.bin.all vmlinux.relocs |
9 | EXTRA_AFLAGS := -traditional | 9 | EXTRA_AFLAGS := -traditional |
10 | 10 | ||
@@ -17,7 +17,7 @@ CFLAGS := -m32 -D__KERNEL__ $(LINUX_INCLUDE) -O2 \ | |||
17 | $(call cc-option,-fno-stack-protector) | 17 | $(call cc-option,-fno-stack-protector) |
18 | LDFLAGS := -m elf_i386 | 18 | LDFLAGS := -m elf_i386 |
19 | 19 | ||
20 | $(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE | 20 | $(obj)/vmlinux: $(src)/vmlinux_32.lds $(obj)/head_32.o $(obj)/misc_32.o $(obj)/piggy.o FORCE |
21 | $(call if_changed,ld) | 21 | $(call if_changed,ld) |
22 | @: | 22 | @: |
23 | 23 | ||
@@ -46,5 +46,5 @@ endif | |||
46 | 46 | ||
47 | LDFLAGS_piggy.o := -r --format binary --oformat elf32-i386 -T | 47 | LDFLAGS_piggy.o := -r --format binary --oformat elf32-i386 -T |
48 | 48 | ||
49 | $(obj)/piggy.o: $(src)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE | 49 | $(obj)/piggy.o: $(src)/vmlinux_32.scr $(obj)/vmlinux.bin.gz FORCE |
50 | $(call if_changed,ld) | 50 | $(call if_changed,ld) |
diff --git a/arch/x86_64/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile_64 index 877c0bdbbc67..dc6b3380cc45 100644 --- a/arch/x86_64/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile_64 | |||
@@ -1,10 +1,10 @@ | |||
1 | # | 1 | # |
2 | # linux/arch/x86_64/boot/compressed/Makefile | 2 | # linux/arch/x86/boot/compressed/Makefile |
3 | # | 3 | # |
4 | # create a compressed vmlinux image from the original vmlinux | 4 | # create a compressed vmlinux image from the original vmlinux |
5 | # | 5 | # |
6 | 6 | ||
7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o | 7 | targets := vmlinux vmlinux.bin vmlinux.bin.gz head_64.o misc_64.o piggy.o |
8 | 8 | ||
9 | CFLAGS := -m64 -D__KERNEL__ $(LINUXINCLUDE) -O2 \ | 9 | CFLAGS := -m64 -D__KERNEL__ $(LINUXINCLUDE) -O2 \ |
10 | -fno-strict-aliasing -fPIC -mcmodel=small \ | 10 | -fno-strict-aliasing -fPIC -mcmodel=small \ |
@@ -14,7 +14,7 @@ AFLAGS := $(CFLAGS) -D__ASSEMBLY__ | |||
14 | LDFLAGS := -m elf_x86_64 | 14 | LDFLAGS := -m elf_x86_64 |
15 | 15 | ||
16 | LDFLAGS_vmlinux := -T | 16 | LDFLAGS_vmlinux := -T |
17 | $(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE | 17 | $(obj)/vmlinux: $(src)/vmlinux_64.lds $(obj)/head_64.o $(obj)/misc_64.o $(obj)/piggy.o FORCE |
18 | $(call if_changed,ld) | 18 | $(call if_changed,ld) |
19 | @: | 19 | @: |
20 | 20 | ||
@@ -26,5 +26,5 @@ $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | |||
26 | 26 | ||
27 | LDFLAGS_piggy.o := -r --format binary --oformat elf64-x86-64 -T | 27 | LDFLAGS_piggy.o := -r --format binary --oformat elf64-x86-64 -T |
28 | 28 | ||
29 | $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE | 29 | $(obj)/piggy.o: $(obj)/vmlinux_64.scr $(obj)/vmlinux.bin.gz FORCE |
30 | $(call if_changed,ld) | 30 | $(call if_changed,ld) |
diff --git a/arch/i386/boot/compressed/head.S b/arch/x86/boot/compressed/head_32.S index f35ea2237522..f35ea2237522 100644 --- a/arch/i386/boot/compressed/head.S +++ b/arch/x86/boot/compressed/head_32.S | |||
diff --git a/arch/x86_64/boot/compressed/head.S b/arch/x86/boot/compressed/head_64.S index 9fd8030cc54f..49467640751f 100644 --- a/arch/x86_64/boot/compressed/head.S +++ b/arch/x86/boot/compressed/head_64.S | |||
@@ -174,7 +174,7 @@ no_longmode: | |||
174 | hlt | 174 | hlt |
175 | jmp 1b | 175 | jmp 1b |
176 | 176 | ||
177 | #include "../../kernel/verify_cpu.S" | 177 | #include "../../kernel/verify_cpu_64.S" |
178 | 178 | ||
179 | /* Be careful here startup_64 needs to be at a predictable | 179 | /* Be careful here startup_64 needs to be at a predictable |
180 | * address so I can export it in an ELF header. Bootloaders | 180 | * address so I can export it in an ELF header. Bootloaders |
diff --git a/arch/i386/boot/compressed/misc.c b/arch/x86/boot/compressed/misc_32.c index b28505c544c9..b28505c544c9 100644 --- a/arch/i386/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc_32.c | |||
diff --git a/arch/x86_64/boot/compressed/misc.c b/arch/x86/boot/compressed/misc_64.c index f932b0e89096..f932b0e89096 100644 --- a/arch/x86_64/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc_64.c | |||
diff --git a/arch/i386/boot/compressed/relocs.c b/arch/x86/boot/compressed/relocs.c index 2d77ee728f92..2d77ee728f92 100644 --- a/arch/i386/boot/compressed/relocs.c +++ b/arch/x86/boot/compressed/relocs.c | |||
diff --git a/arch/i386/boot/compressed/vmlinux.lds b/arch/x86/boot/compressed/vmlinux_32.lds index cc4854f6c6c1..cc4854f6c6c1 100644 --- a/arch/i386/boot/compressed/vmlinux.lds +++ b/arch/x86/boot/compressed/vmlinux_32.lds | |||
diff --git a/arch/i386/boot/compressed/vmlinux.scr b/arch/x86/boot/compressed/vmlinux_32.scr index 707a88f7f29e..707a88f7f29e 100644 --- a/arch/i386/boot/compressed/vmlinux.scr +++ b/arch/x86/boot/compressed/vmlinux_32.scr | |||
diff --git a/arch/x86_64/boot/compressed/vmlinux.lds b/arch/x86/boot/compressed/vmlinux_64.lds index 94c13e557fb4..94c13e557fb4 100644 --- a/arch/x86_64/boot/compressed/vmlinux.lds +++ b/arch/x86/boot/compressed/vmlinux_64.lds | |||
diff --git a/arch/x86_64/boot/compressed/vmlinux.scr b/arch/x86/boot/compressed/vmlinux_64.scr index bd1429ce193e..bd1429ce193e 100644 --- a/arch/x86_64/boot/compressed/vmlinux.scr +++ b/arch/x86/boot/compressed/vmlinux_64.scr | |||
diff --git a/arch/i386/boot/copy.S b/arch/x86/boot/copy.S index ef127e56a3cf..ef127e56a3cf 100644 --- a/arch/i386/boot/copy.S +++ b/arch/x86/boot/copy.S | |||
diff --git a/arch/i386/boot/cpu.c b/arch/x86/boot/cpu.c index 2a5c32da5852..2a5c32da5852 100644 --- a/arch/i386/boot/cpu.c +++ b/arch/x86/boot/cpu.c | |||
diff --git a/arch/i386/boot/cpucheck.c b/arch/x86/boot/cpucheck.c index e655a89c5510..e655a89c5510 100644 --- a/arch/i386/boot/cpucheck.c +++ b/arch/x86/boot/cpucheck.c | |||
diff --git a/arch/i386/boot/edd.c b/arch/x86/boot/edd.c index bd138e442ec2..bd138e442ec2 100644 --- a/arch/i386/boot/edd.c +++ b/arch/x86/boot/edd.c | |||
diff --git a/arch/i386/boot/header.S b/arch/x86/boot/header.S index f3140e596d40..f3140e596d40 100644 --- a/arch/i386/boot/header.S +++ b/arch/x86/boot/header.S | |||
diff --git a/arch/i386/boot/install.sh b/arch/x86/boot/install.sh index 88d77761d01b..88d77761d01b 100644 --- a/arch/i386/boot/install.sh +++ b/arch/x86/boot/install.sh | |||
diff --git a/arch/i386/boot/main.c b/arch/x86/boot/main.c index 0eeef3989a17..0eeef3989a17 100644 --- a/arch/i386/boot/main.c +++ b/arch/x86/boot/main.c | |||
diff --git a/arch/i386/boot/mca.c b/arch/x86/boot/mca.c index 68222f2d4b67..68222f2d4b67 100644 --- a/arch/i386/boot/mca.c +++ b/arch/x86/boot/mca.c | |||
diff --git a/arch/i386/boot/memory.c b/arch/x86/boot/memory.c index 378353956b5d..378353956b5d 100644 --- a/arch/i386/boot/memory.c +++ b/arch/x86/boot/memory.c | |||
diff --git a/arch/i386/boot/mtools.conf.in b/arch/x86/boot/mtools.conf.in index efd6d2490c1d..efd6d2490c1d 100644 --- a/arch/i386/boot/mtools.conf.in +++ b/arch/x86/boot/mtools.conf.in | |||
diff --git a/arch/i386/boot/pm.c b/arch/x86/boot/pm.c index 09fb342cc62e..09fb342cc62e 100644 --- a/arch/i386/boot/pm.c +++ b/arch/x86/boot/pm.c | |||
diff --git a/arch/i386/boot/pmjump.S b/arch/x86/boot/pmjump.S index 2e559233725a..2e559233725a 100644 --- a/arch/i386/boot/pmjump.S +++ b/arch/x86/boot/pmjump.S | |||
diff --git a/arch/i386/boot/printf.c b/arch/x86/boot/printf.c index 1a09f9309d3c..1a09f9309d3c 100644 --- a/arch/i386/boot/printf.c +++ b/arch/x86/boot/printf.c | |||
diff --git a/arch/i386/boot/setup.ld b/arch/x86/boot/setup.ld index df9234b3a5e0..df9234b3a5e0 100644 --- a/arch/i386/boot/setup.ld +++ b/arch/x86/boot/setup.ld | |||
diff --git a/arch/i386/boot/string.c b/arch/x86/boot/string.c index 481a22097781..481a22097781 100644 --- a/arch/i386/boot/string.c +++ b/arch/x86/boot/string.c | |||
diff --git a/arch/i386/boot/tools/.gitignore b/arch/x86/boot/tools/.gitignore index 378eac25d311..378eac25d311 100644 --- a/arch/i386/boot/tools/.gitignore +++ b/arch/x86/boot/tools/.gitignore | |||
diff --git a/arch/i386/boot/tools/build.c b/arch/x86/boot/tools/build.c index b4248740ff0d..b4248740ff0d 100644 --- a/arch/i386/boot/tools/build.c +++ b/arch/x86/boot/tools/build.c | |||
diff --git a/arch/i386/boot/tty.c b/arch/x86/boot/tty.c index f3f14bd26371..f3f14bd26371 100644 --- a/arch/i386/boot/tty.c +++ b/arch/x86/boot/tty.c | |||
diff --git a/arch/i386/boot/version.c b/arch/x86/boot/version.c index c61462f7d9a7..c61462f7d9a7 100644 --- a/arch/i386/boot/version.c +++ b/arch/x86/boot/version.c | |||
diff --git a/arch/i386/boot/vesa.h b/arch/x86/boot/vesa.h index ff5b73cd406f..ff5b73cd406f 100644 --- a/arch/i386/boot/vesa.h +++ b/arch/x86/boot/vesa.h | |||
diff --git a/arch/i386/boot/video-bios.c b/arch/x86/boot/video-bios.c index 68e65d95cdfd..68e65d95cdfd 100644 --- a/arch/i386/boot/video-bios.c +++ b/arch/x86/boot/video-bios.c | |||
diff --git a/arch/i386/boot/video-vesa.c b/arch/x86/boot/video-vesa.c index 192190710710..192190710710 100644 --- a/arch/i386/boot/video-vesa.c +++ b/arch/x86/boot/video-vesa.c | |||
diff --git a/arch/i386/boot/video-vga.c b/arch/x86/boot/video-vga.c index aef02f9ec0c1..aef02f9ec0c1 100644 --- a/arch/i386/boot/video-vga.c +++ b/arch/x86/boot/video-vga.c | |||
diff --git a/arch/i386/boot/video.c b/arch/x86/boot/video.c index e4ba897bf9a3..e4ba897bf9a3 100644 --- a/arch/i386/boot/video.c +++ b/arch/x86/boot/video.c | |||
diff --git a/arch/i386/boot/video.h b/arch/x86/boot/video.h index b92447d51213..b92447d51213 100644 --- a/arch/i386/boot/video.h +++ b/arch/x86/boot/video.h | |||
diff --git a/arch/i386/boot/voyager.c b/arch/x86/boot/voyager.c index 61c8fe0453be..61c8fe0453be 100644 --- a/arch/i386/boot/voyager.c +++ b/arch/x86/boot/voyager.c | |||
diff --git a/arch/x86/crypto/Makefile b/arch/x86/crypto/Makefile new file mode 100644 index 000000000000..18dcdc6fb7aa --- /dev/null +++ b/arch/x86/crypto/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/crypto/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/crypto/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/i386/crypto/Makefile b/arch/x86/crypto/Makefile_32 index 3fd19af18e34..2d873a2388ed 100644 --- a/arch/i386/crypto/Makefile +++ b/arch/x86/crypto/Makefile_32 | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # i386/crypto/Makefile | 2 | # x86/crypto/Makefile |
3 | # | 3 | # |
4 | # Arch-specific CryptoAPI modules. | 4 | # Arch-specific CryptoAPI modules. |
5 | # | 5 | # |
@@ -7,6 +7,6 @@ | |||
7 | obj-$(CONFIG_CRYPTO_AES_586) += aes-i586.o | 7 | obj-$(CONFIG_CRYPTO_AES_586) += aes-i586.o |
8 | obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o | 8 | obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o |
9 | 9 | ||
10 | aes-i586-y := aes-i586-asm.o aes.o | 10 | aes-i586-y := aes-i586-asm_32.o aes_32.o |
11 | twofish-i586-y := twofish-i586-asm.o twofish.o | 11 | twofish-i586-y := twofish-i586-asm_32.o twofish_32.o |
12 | 12 | ||
diff --git a/arch/x86_64/crypto/Makefile b/arch/x86/crypto/Makefile_64 index 15b538a8b7f7..b40896276e93 100644 --- a/arch/x86_64/crypto/Makefile +++ b/arch/x86/crypto/Makefile_64 | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # x86_64/crypto/Makefile | 2 | # x86/crypto/Makefile |
3 | # | 3 | # |
4 | # Arch-specific CryptoAPI modules. | 4 | # Arch-specific CryptoAPI modules. |
5 | # | 5 | # |
@@ -7,6 +7,6 @@ | |||
7 | obj-$(CONFIG_CRYPTO_AES_X86_64) += aes-x86_64.o | 7 | obj-$(CONFIG_CRYPTO_AES_X86_64) += aes-x86_64.o |
8 | obj-$(CONFIG_CRYPTO_TWOFISH_X86_64) += twofish-x86_64.o | 8 | obj-$(CONFIG_CRYPTO_TWOFISH_X86_64) += twofish-x86_64.o |
9 | 9 | ||
10 | aes-x86_64-y := aes-x86_64-asm.o aes.o | 10 | aes-x86_64-y := aes-x86_64-asm_64.o aes_64.o |
11 | twofish-x86_64-y := twofish-x86_64-asm.o twofish.o | 11 | twofish-x86_64-y := twofish-x86_64-asm_64.o twofish_64.o |
12 | 12 | ||
diff --git a/arch/i386/crypto/aes-i586-asm.S b/arch/x86/crypto/aes-i586-asm_32.S index f942f0c8f630..f942f0c8f630 100644 --- a/arch/i386/crypto/aes-i586-asm.S +++ b/arch/x86/crypto/aes-i586-asm_32.S | |||
diff --git a/arch/x86_64/crypto/aes-x86_64-asm.S b/arch/x86/crypto/aes-x86_64-asm_64.S index 26b40de4d0b0..26b40de4d0b0 100644 --- a/arch/x86_64/crypto/aes-x86_64-asm.S +++ b/arch/x86/crypto/aes-x86_64-asm_64.S | |||
diff --git a/arch/i386/crypto/aes.c b/arch/x86/crypto/aes_32.c index 49aad9397f10..49aad9397f10 100644 --- a/arch/i386/crypto/aes.c +++ b/arch/x86/crypto/aes_32.c | |||
diff --git a/arch/x86_64/crypto/aes.c b/arch/x86/crypto/aes_64.c index 5cdb13ea5cc2..5cdb13ea5cc2 100644 --- a/arch/x86_64/crypto/aes.c +++ b/arch/x86/crypto/aes_64.c | |||
diff --git a/arch/i386/crypto/twofish-i586-asm.S b/arch/x86/crypto/twofish-i586-asm_32.S index 39b98ed2c1b9..39b98ed2c1b9 100644 --- a/arch/i386/crypto/twofish-i586-asm.S +++ b/arch/x86/crypto/twofish-i586-asm_32.S | |||
diff --git a/arch/x86_64/crypto/twofish-x86_64-asm.S b/arch/x86/crypto/twofish-x86_64-asm_64.S index 35974a586615..35974a586615 100644 --- a/arch/x86_64/crypto/twofish-x86_64-asm.S +++ b/arch/x86/crypto/twofish-x86_64-asm_64.S | |||
diff --git a/arch/i386/crypto/twofish.c b/arch/x86/crypto/twofish_32.c index e3004dfe9c7a..e3004dfe9c7a 100644 --- a/arch/i386/crypto/twofish.c +++ b/arch/x86/crypto/twofish_32.c | |||
diff --git a/arch/x86_64/crypto/twofish.c b/arch/x86/crypto/twofish_64.c index 182d91d5cfb9..182d91d5cfb9 100644 --- a/arch/x86_64/crypto/twofish.c +++ b/arch/x86/crypto/twofish_64.c | |||
diff --git a/arch/x86_64/ia32/Makefile b/arch/x86/ia32/Makefile index cdae36435e21..cdae36435e21 100644 --- a/arch/x86_64/ia32/Makefile +++ b/arch/x86/ia32/Makefile | |||
diff --git a/arch/x86_64/ia32/audit.c b/arch/x86/ia32/audit.c index 8850fe40ea34..91b7b5922dfa 100644 --- a/arch/x86_64/ia32/audit.c +++ b/arch/x86/ia32/audit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #include <asm-i386/unistd.h> | 1 | #include <asm/unistd_32.h> |
2 | 2 | ||
3 | unsigned ia32_dir_class[] = { | 3 | unsigned ia32_dir_class[] = { |
4 | #include <asm-generic/audit_dir_write.h> | 4 | #include <asm-generic/audit_dir_write.h> |
diff --git a/arch/x86_64/ia32/fpu32.c b/arch/x86/ia32/fpu32.c index 2c8209a3605a..2c8209a3605a 100644 --- a/arch/x86_64/ia32/fpu32.c +++ b/arch/x86/ia32/fpu32.c | |||
diff --git a/arch/x86_64/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index 08781370256d..08781370256d 100644 --- a/arch/x86_64/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c | |||
diff --git a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86/ia32/ia32_binfmt.c index dffd2ac72747..dffd2ac72747 100644 --- a/arch/x86_64/ia32/ia32_binfmt.c +++ b/arch/x86/ia32/ia32_binfmt.c | |||
diff --git a/arch/x86_64/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index 6ea19c25f90d..6ea19c25f90d 100644 --- a/arch/x86_64/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index 18b231810908..18b231810908 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86/ia32/ia32entry.S | |||
diff --git a/arch/x86_64/ia32/ipc32.c b/arch/x86/ia32/ipc32.c index 369151dc3213..2e1869ec4db4 100644 --- a/arch/x86_64/ia32/ipc32.c +++ b/arch/x86/ia32/ipc32.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/ipc.h> | 9 | #include <linux/ipc.h> |
10 | #include <linux/compat.h> | 10 | #include <linux/compat.h> |
11 | 11 | ||
12 | #include <asm-i386/ipc.h> | 12 | #include <asm/ipc.h> |
13 | 13 | ||
14 | asmlinkage long | 14 | asmlinkage long |
15 | sys32_ipc(u32 call, int first, int second, int third, | 15 | sys32_ipc(u32 call, int first, int second, int third, |
diff --git a/arch/x86_64/ia32/mmap32.c b/arch/x86/ia32/mmap32.c index e4b84b4a417a..e4b84b4a417a 100644 --- a/arch/x86_64/ia32/mmap32.c +++ b/arch/x86/ia32/mmap32.c | |||
diff --git a/arch/x86_64/ia32/ptrace32.c b/arch/x86/ia32/ptrace32.c index 4a233ad6269c..4a233ad6269c 100644 --- a/arch/x86_64/ia32/ptrace32.c +++ b/arch/x86/ia32/ptrace32.c | |||
diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index bee96d614432..bee96d614432 100644 --- a/arch/x86_64/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
diff --git a/arch/x86_64/ia32/syscall32.c b/arch/x86/ia32/syscall32.c index 15013bac181c..15013bac181c 100644 --- a/arch/x86_64/ia32/syscall32.c +++ b/arch/x86/ia32/syscall32.c | |||
diff --git a/arch/x86_64/ia32/syscall32_syscall.S b/arch/x86/ia32/syscall32_syscall.S index 8f8271bdf135..933f0f08b1cf 100644 --- a/arch/x86_64/ia32/syscall32_syscall.S +++ b/arch/x86/ia32/syscall32_syscall.S | |||
@@ -6,12 +6,12 @@ | |||
6 | .globl syscall32_syscall_end | 6 | .globl syscall32_syscall_end |
7 | 7 | ||
8 | syscall32_syscall: | 8 | syscall32_syscall: |
9 | .incbin "arch/x86_64/ia32/vsyscall-syscall.so" | 9 | .incbin "arch/x86/ia32/vsyscall-syscall.so" |
10 | syscall32_syscall_end: | 10 | syscall32_syscall_end: |
11 | 11 | ||
12 | .globl syscall32_sysenter | 12 | .globl syscall32_sysenter |
13 | .globl syscall32_sysenter_end | 13 | .globl syscall32_sysenter_end |
14 | 14 | ||
15 | syscall32_sysenter: | 15 | syscall32_sysenter: |
16 | .incbin "arch/x86_64/ia32/vsyscall-sysenter.so" | 16 | .incbin "arch/x86/ia32/vsyscall-sysenter.so" |
17 | syscall32_sysenter_end: | 17 | syscall32_sysenter_end: |
diff --git a/arch/x86_64/ia32/tls32.c b/arch/x86/ia32/tls32.c index 1cc4340de3ca..1cc4340de3ca 100644 --- a/arch/x86_64/ia32/tls32.c +++ b/arch/x86/ia32/tls32.c | |||
diff --git a/arch/x86_64/ia32/vsyscall-sigreturn.S b/arch/x86/ia32/vsyscall-sigreturn.S index 1384367cdbe1..b383be00baec 100644 --- a/arch/x86_64/ia32/vsyscall-sigreturn.S +++ b/arch/x86/ia32/vsyscall-sigreturn.S | |||
@@ -139,5 +139,5 @@ __kernel_rt_sigreturn: | |||
139 | .align 4 | 139 | .align 4 |
140 | .LENDFDE3: | 140 | .LENDFDE3: |
141 | 141 | ||
142 | #include "../../i386/kernel/vsyscall-note.S" | 142 | #include "../../x86/kernel/vsyscall-note_32.S" |
143 | 143 | ||
diff --git a/arch/x86_64/ia32/vsyscall-syscall.S b/arch/x86/ia32/vsyscall-syscall.S index cf9ef678de3e..cf9ef678de3e 100644 --- a/arch/x86_64/ia32/vsyscall-syscall.S +++ b/arch/x86/ia32/vsyscall-syscall.S | |||
diff --git a/arch/x86_64/ia32/vsyscall-sysenter.S b/arch/x86/ia32/vsyscall-sysenter.S index ae056e553d13..ae056e553d13 100644 --- a/arch/x86_64/ia32/vsyscall-sysenter.S +++ b/arch/x86/ia32/vsyscall-sysenter.S | |||
diff --git a/arch/x86_64/ia32/vsyscall.lds b/arch/x86/ia32/vsyscall.lds index 1dc86ff5bcb9..1dc86ff5bcb9 100644 --- a/arch/x86_64/ia32/vsyscall.lds +++ b/arch/x86/ia32/vsyscall.lds | |||
diff --git a/arch/i386/kernel/.gitignore b/arch/x86/kernel/.gitignore index 40836ad9079c..40836ad9079c 100644 --- a/arch/i386/kernel/.gitignore +++ b/arch/x86/kernel/.gitignore | |||
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile new file mode 100644 index 000000000000..45855c97923e --- /dev/null +++ b/arch/x86/kernel/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/kernel/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/kernel/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/x86/kernel/Makefile_32 b/arch/x86/kernel/Makefile_32 new file mode 100644 index 000000000000..c624193740fd --- /dev/null +++ b/arch/x86/kernel/Makefile_32 | |||
@@ -0,0 +1,86 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head_32.o init_task_32.o vmlinux.lds | ||
6 | |||
7 | obj-y := process_32.o signal_32.o entry_32.o traps_32.o irq_32.o \ | ||
8 | ptrace_32.o time_32.o ioport_32.o ldt_32.o setup_32.o i8259_32.o sys_i386_32.o \ | ||
9 | pci-dma_32.o i386_ksyms_32.o i387_32.o bootflag.o e820_32.o\ | ||
10 | quirks.o i8237.o topology.o alternative.o i8253_32.o tsc_32.o | ||
11 | |||
12 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
13 | obj-y += cpu/ | ||
14 | obj-y += acpi/ | ||
15 | obj-$(CONFIG_X86_BIOS_REBOOT) += reboot_32.o | ||
16 | obj-$(CONFIG_MCA) += mca_32.o | ||
17 | obj-$(CONFIG_X86_MSR) += msr.o | ||
18 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
19 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
20 | obj-$(CONFIG_APM) += apm_32.o | ||
21 | obj-$(CONFIG_X86_SMP) += smp_32.o smpboot_32.o tsc_sync.o | ||
22 | obj-$(CONFIG_SMP) += smpcommon_32.o | ||
23 | obj-$(CONFIG_X86_TRAMPOLINE) += trampoline_32.o | ||
24 | obj-$(CONFIG_X86_MPPARSE) += mpparse_32.o | ||
25 | obj-$(CONFIG_X86_LOCAL_APIC) += apic_32.o nmi_32.o | ||
26 | obj-$(CONFIG_X86_IO_APIC) += io_apic_32.o | ||
27 | obj-$(CONFIG_X86_REBOOTFIXUPS) += reboot_fixups_32.o | ||
28 | obj-$(CONFIG_KEXEC) += machine_kexec_32.o relocate_kernel_32.o crash_32.o | ||
29 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_32.o | ||
30 | obj-$(CONFIG_X86_NUMAQ) += numaq_32.o | ||
31 | obj-$(CONFIG_X86_SUMMIT_NUMA) += summit_32.o | ||
32 | obj-$(CONFIG_KPROBES) += kprobes_32.o | ||
33 | obj-$(CONFIG_MODULES) += module_32.o | ||
34 | obj-y += sysenter_32.o vsyscall_32.o | ||
35 | obj-$(CONFIG_ACPI_SRAT) += srat_32.o | ||
36 | obj-$(CONFIG_EFI) += efi_32.o efi_stub_32.o | ||
37 | obj-$(CONFIG_DOUBLEFAULT) += doublefault_32.o | ||
38 | obj-$(CONFIG_VM86) += vm86_32.o | ||
39 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
40 | obj-$(CONFIG_HPET_TIMER) += hpet_32.o | ||
41 | obj-$(CONFIG_K8_NB) += k8.o | ||
42 | obj-$(CONFIG_MGEODE_LX) += geode_32.o | ||
43 | |||
44 | obj-$(CONFIG_VMI) += vmi_32.o vmiclock_32.o | ||
45 | obj-$(CONFIG_PARAVIRT) += paravirt_32.o | ||
46 | obj-y += pcspeaker.o | ||
47 | |||
48 | obj-$(CONFIG_SCx200) += scx200_32.o | ||
49 | |||
50 | # vsyscall_32.o contains the vsyscall DSO images as __initdata. | ||
51 | # We must build both images before we can assemble it. | ||
52 | # Note: kbuild does not track this dependency due to usage of .incbin | ||
53 | $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter_32.so | ||
54 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) | ||
55 | targets += vsyscall-note_32.o vsyscall_32.lds | ||
56 | |||
57 | # The DSO images are built using a special linker script. | ||
58 | quiet_cmd_syscall = SYSCALL $@ | ||
59 | cmd_syscall = $(CC) -m elf_i386 -nostdlib $(SYSCFLAGS_$(@F)) \ | ||
60 | -Wl,-T,$(filter-out FORCE,$^) -o $@ | ||
61 | |||
62 | export CPPFLAGS_vsyscall_32.lds += -P -C -U$(ARCH) | ||
63 | |||
64 | vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ | ||
65 | $(call ld-option, -Wl$(comma)--hash-style=sysv) | ||
66 | SYSCFLAGS_vsyscall-sysenter_32.so = $(vsyscall-flags) | ||
67 | SYSCFLAGS_vsyscall-int80_32.so = $(vsyscall-flags) | ||
68 | |||
69 | $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter_32.so: \ | ||
70 | $(obj)/vsyscall-%.so: $(src)/vsyscall_32.lds \ | ||
71 | $(obj)/vsyscall-%.o $(obj)/vsyscall-note_32.o FORCE | ||
72 | $(call if_changed,syscall) | ||
73 | |||
74 | # We also create a special relocatable object that should mirror the symbol | ||
75 | # table and layout of the linked DSO. With ld -R we can then refer to | ||
76 | # these symbols in the kernel code rather than hand-coded addresses. | ||
77 | extra-y += vsyscall-syms.o | ||
78 | $(obj)/built-in.o: $(obj)/vsyscall-syms.o | ||
79 | $(obj)/built-in.o: ld_flags += -R $(obj)/vsyscall-syms.o | ||
80 | |||
81 | SYSCFLAGS_vsyscall-syms.o = -r | ||
82 | $(obj)/vsyscall-syms.o: $(src)/vsyscall_32.lds \ | ||
83 | $(obj)/vsyscall-sysenter_32.o $(obj)/vsyscall-note_32.o FORCE | ||
84 | $(call if_changed,syscall) | ||
85 | |||
86 | |||
diff --git a/arch/x86/kernel/Makefile_64 b/arch/x86/kernel/Makefile_64 new file mode 100644 index 000000000000..3ab017a0a3b9 --- /dev/null +++ b/arch/x86/kernel/Makefile_64 | |||
@@ -0,0 +1,54 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head_64.o head64.o init_task_64.o vmlinux.lds | ||
6 | EXTRA_AFLAGS := -traditional | ||
7 | obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ | ||
8 | ptrace_64.o time_64.o ioport_64.o ldt_64.o setup_64.o i8259_64.o sys_x86_64.o \ | ||
9 | x8664_ksyms_64.o i387_64.o syscall_64.o vsyscall_64.o \ | ||
10 | setup64.o bootflag.o e820_64.o reboot_64.o quirks.o i8237.o \ | ||
11 | pci-dma_64.o pci-nommu_64.o alternative.o hpet_64.o tsc_64.o bugs_64.o \ | ||
12 | perfctr-watchdog.o | ||
13 | |||
14 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
15 | obj-$(CONFIG_X86_MCE) += mce_64.o therm_throt.o | ||
16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel_64.o | ||
17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd_64.o | ||
18 | obj-$(CONFIG_MTRR) += cpu/mtrr/ | ||
19 | obj-$(CONFIG_ACPI) += acpi/ | ||
20 | obj-$(CONFIG_X86_MSR) += msr.o | ||
21 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
22 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
23 | obj-$(CONFIG_SMP) += smp_64.o smpboot_64.o trampoline_64.o tsc_sync.o | ||
24 | obj-y += apic_64.o nmi_64.o | ||
25 | obj-y += io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o | ||
26 | obj-$(CONFIG_KEXEC) += machine_kexec_64.o relocate_kernel_64.o crash_64.o | ||
27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_64.o | ||
28 | obj-$(CONFIG_PM) += suspend_64.o | ||
29 | obj-$(CONFIG_HIBERNATION) += suspend_asm_64.o | ||
30 | obj-$(CONFIG_CPU_FREQ) += cpu/cpufreq/ | ||
31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
32 | obj-$(CONFIG_IOMMU) += pci-gart_64.o aperture_64.o | ||
33 | obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary_64.o tce_64.o | ||
34 | obj-$(CONFIG_SWIOTLB) += pci-swiotlb_64.o | ||
35 | obj-$(CONFIG_KPROBES) += kprobes_64.o | ||
36 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o | ||
37 | obj-$(CONFIG_X86_VSMP) += vsmp_64.o | ||
38 | obj-$(CONFIG_K8_NB) += k8.o | ||
39 | obj-$(CONFIG_AUDIT) += audit_64.o | ||
40 | |||
41 | obj-$(CONFIG_MODULES) += module_64.o | ||
42 | obj-$(CONFIG_PCI) += early-quirks_64.o | ||
43 | |||
44 | obj-y += topology.o | ||
45 | obj-y += intel_cacheinfo.o | ||
46 | obj-y += addon_cpuid_features.o | ||
47 | obj-y += pcspeaker.o | ||
48 | |||
49 | CFLAGS_vsyscall_64.o := $(PROFILING) -g0 | ||
50 | |||
51 | therm_throt-y += cpu/mcheck/therm_throt.o | ||
52 | intel_cacheinfo-y += cpu/intel_cacheinfo.o | ||
53 | addon_cpuid_features-y += cpu/addon_cpuid_features.o | ||
54 | perfctr-watchdog-y += cpu/perfctr-watchdog.o | ||
diff --git a/arch/x86/kernel/acpi/Makefile b/arch/x86/kernel/acpi/Makefile new file mode 100644 index 000000000000..3d5671939542 --- /dev/null +++ b/arch/x86/kernel/acpi/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/kernel/acpi/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/kernel/acpi/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/i386/kernel/acpi/Makefile b/arch/x86/kernel/acpi/Makefile_32 index 7f7be01f44e6..a4852a2e9190 100644 --- a/arch/i386/kernel/acpi/Makefile +++ b/arch/x86/kernel/acpi/Makefile_32 | |||
@@ -1,8 +1,8 @@ | |||
1 | obj-$(CONFIG_ACPI) += boot.o | 1 | obj-$(CONFIG_ACPI) += boot.o |
2 | ifneq ($(CONFIG_PCI),) | 2 | ifneq ($(CONFIG_PCI),) |
3 | obj-$(CONFIG_X86_IO_APIC) += earlyquirk.o | 3 | obj-$(CONFIG_X86_IO_APIC) += earlyquirk_32.o |
4 | endif | 4 | endif |
5 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o | 5 | obj-$(CONFIG_ACPI_SLEEP) += sleep_32.o wakeup_32.o |
6 | 6 | ||
7 | ifneq ($(CONFIG_ACPI_PROCESSOR),) | 7 | ifneq ($(CONFIG_ACPI_PROCESSOR),) |
8 | obj-y += cstate.o processor.o | 8 | obj-y += cstate.o processor.o |
diff --git a/arch/x86/kernel/acpi/Makefile_64 b/arch/x86/kernel/acpi/Makefile_64 new file mode 100644 index 000000000000..629425bc002d --- /dev/null +++ b/arch/x86/kernel/acpi/Makefile_64 | |||
@@ -0,0 +1,7 @@ | |||
1 | obj-y := boot.o | ||
2 | obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o | ||
3 | |||
4 | ifneq ($(CONFIG_ACPI_PROCESSOR),) | ||
5 | obj-y += processor.o cstate.o | ||
6 | endif | ||
7 | |||
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index cacdd883bf2b..cacdd883bf2b 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
diff --git a/arch/i386/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index 2d39f55d29a8..2d39f55d29a8 100644 --- a/arch/i386/kernel/acpi/cstate.c +++ b/arch/x86/kernel/acpi/cstate.c | |||
diff --git a/arch/i386/kernel/acpi/earlyquirk.c b/arch/x86/kernel/acpi/earlyquirk_32.c index 23f78efc577d..23f78efc577d 100644 --- a/arch/i386/kernel/acpi/earlyquirk.c +++ b/arch/x86/kernel/acpi/earlyquirk_32.c | |||
diff --git a/arch/i386/kernel/acpi/processor.c b/arch/x86/kernel/acpi/processor.c index b54fded49834..b54fded49834 100644 --- a/arch/i386/kernel/acpi/processor.c +++ b/arch/x86/kernel/acpi/processor.c | |||
diff --git a/arch/i386/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep_32.c index c42b5ab49deb..c42b5ab49deb 100644 --- a/arch/i386/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep_32.c | |||
diff --git a/arch/x86_64/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep_64.c index 79475d237071..79475d237071 100644 --- a/arch/x86_64/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep_64.c | |||
diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/x86/kernel/acpi/wakeup_32.S index f22ba8534d26..f22ba8534d26 100644 --- a/arch/i386/kernel/acpi/wakeup.S +++ b/arch/x86/kernel/acpi/wakeup_32.S | |||
diff --git a/arch/x86_64/kernel/acpi/wakeup.S b/arch/x86/kernel/acpi/wakeup_64.S index a06f2bcabef9..8b4357e1efe0 100644 --- a/arch/x86_64/kernel/acpi/wakeup.S +++ b/arch/x86/kernel/acpi/wakeup_64.S | |||
@@ -269,7 +269,7 @@ no_longmode: | |||
269 | movb $0xbc,%al ; outb %al,$0x80 | 269 | movb $0xbc,%al ; outb %al,$0x80 |
270 | jmp no_longmode | 270 | jmp no_longmode |
271 | 271 | ||
272 | #include "../verify_cpu.S" | 272 | #include "../verify_cpu_64.S" |
273 | 273 | ||
274 | /* This code uses an extended set of video mode numbers. These include: | 274 | /* This code uses an extended set of video mode numbers. These include: |
275 | * Aliases for standard modes | 275 | * Aliases for standard modes |
diff --git a/arch/i386/kernel/alternative.c b/arch/x86/kernel/alternative.c index bd72d94e713e..bd72d94e713e 100644 --- a/arch/i386/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c | |||
diff --git a/arch/x86_64/kernel/aperture.c b/arch/x86/kernel/aperture_64.c index 8f681cae7bf7..8f681cae7bf7 100644 --- a/arch/x86_64/kernel/aperture.c +++ b/arch/x86/kernel/aperture_64.c | |||
diff --git a/arch/i386/kernel/apic.c b/arch/x86/kernel/apic_32.c index 3d67ae18d762..3d67ae18d762 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/x86/kernel/apic_32.c | |||
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86/kernel/apic_64.c index 925758dbca0c..925758dbca0c 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86/kernel/apic_64.c | |||
diff --git a/arch/i386/kernel/apm.c b/arch/x86/kernel/apm_32.c index f02a8aca826b..f02a8aca826b 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/x86/kernel/apm_32.c | |||
diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c new file mode 100644 index 000000000000..cfa82c899f47 --- /dev/null +++ b/arch/x86/kernel/asm-offsets.c | |||
@@ -0,0 +1,5 @@ | |||
1 | #ifdef CONFIG_X86_32 | ||
2 | # include "asm-offsets_32.c" | ||
3 | #else | ||
4 | # include "asm-offsets_64.c" | ||
5 | #endif | ||
diff --git a/arch/i386/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets_32.c index 7288ac88d746..8029742c0fc1 100644 --- a/arch/i386/kernel/asm-offsets.c +++ b/arch/x86/kernel/asm-offsets_32.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/personality.h> | 10 | #include <linux/personality.h> |
11 | #include <linux/suspend.h> | 11 | #include <linux/suspend.h> |
12 | #include <asm/ucontext.h> | 12 | #include <asm/ucontext.h> |
13 | #include "sigframe.h" | 13 | #include "sigframe_32.h" |
14 | #include <asm/pgtable.h> | 14 | #include <asm/pgtable.h> |
15 | #include <asm/fixmap.h> | 15 | #include <asm/fixmap.h> |
16 | #include <asm/processor.h> | 16 | #include <asm/processor.h> |
diff --git a/arch/x86_64/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets_64.c index 778953bc636c..778953bc636c 100644 --- a/arch/x86_64/kernel/asm-offsets.c +++ b/arch/x86/kernel/asm-offsets_64.c | |||
diff --git a/arch/x86_64/kernel/audit.c b/arch/x86/kernel/audit_64.c index 06d3e5a14d9d..06d3e5a14d9d 100644 --- a/arch/x86_64/kernel/audit.c +++ b/arch/x86/kernel/audit_64.c | |||
diff --git a/arch/i386/kernel/bootflag.c b/arch/x86/kernel/bootflag.c index 0b9860530a6b..0b9860530a6b 100644 --- a/arch/i386/kernel/bootflag.c +++ b/arch/x86/kernel/bootflag.c | |||
diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86/kernel/bugs_64.c index 4e5e9d364d63..4e5e9d364d63 100644 --- a/arch/x86_64/kernel/bugs.c +++ b/arch/x86/kernel/bugs_64.c | |||
diff --git a/arch/i386/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile index 778396c78d65..778396c78d65 100644 --- a/arch/i386/kernel/cpu/Makefile +++ b/arch/x86/kernel/cpu/Makefile | |||
diff --git a/arch/i386/kernel/cpu/addon_cpuid_features.c b/arch/x86/kernel/cpu/addon_cpuid_features.c index 3e91d3ee26ec..3e91d3ee26ec 100644 --- a/arch/i386/kernel/cpu/addon_cpuid_features.c +++ b/arch/x86/kernel/cpu/addon_cpuid_features.c | |||
diff --git a/arch/i386/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index dcf6bbb1c7c0..dcf6bbb1c7c0 100644 --- a/arch/i386/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
diff --git a/arch/i386/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index 59266f03d1cd..59266f03d1cd 100644 --- a/arch/i386/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu/bugs.c | |||
diff --git a/arch/i386/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c index 473eac883c7b..473eac883c7b 100644 --- a/arch/i386/kernel/cpu/centaur.c +++ b/arch/x86/kernel/cpu/centaur.c | |||
diff --git a/arch/i386/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index d506201d397c..d506201d397c 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
diff --git a/arch/i386/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 2f6432cef6ff..2f6432cef6ff 100644 --- a/arch/i386/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/Kconfig b/arch/x86/kernel/cpu/cpufreq/Kconfig index d8c6f132dc7a..d8c6f132dc7a 100644 --- a/arch/i386/kernel/cpu/cpufreq/Kconfig +++ b/arch/x86/kernel/cpu/cpufreq/Kconfig | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/Makefile b/arch/x86/kernel/cpu/cpufreq/Makefile index 560f7760dae5..560f7760dae5 100644 --- a/arch/i386/kernel/cpu/cpufreq/Makefile +++ b/arch/x86/kernel/cpu/cpufreq/Makefile | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c index 705e13a30781..705e13a30781 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c b/arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c index 66acd5039918..66acd5039918 100644 --- a/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c +++ b/arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/e_powersaver.c b/arch/x86/kernel/cpu/cpufreq/e_powersaver.c index f43d98e11cc7..f43d98e11cc7 100644 --- a/arch/i386/kernel/cpu/cpufreq/e_powersaver.c +++ b/arch/x86/kernel/cpu/cpufreq/e_powersaver.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/elanfreq.c b/arch/x86/kernel/cpu/cpufreq/elanfreq.c index f317276afa7a..f317276afa7a 100644 --- a/arch/i386/kernel/cpu/cpufreq/elanfreq.c +++ b/arch/x86/kernel/cpu/cpufreq/elanfreq.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c b/arch/x86/kernel/cpu/cpufreq/gx-suspmod.c index 461dabc4e495..461dabc4e495 100644 --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +++ b/arch/x86/kernel/cpu/cpufreq/gx-suspmod.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/x86/kernel/cpu/cpufreq/longhaul.c index f0cce3c2dc3a..f0cce3c2dc3a 100644 --- a/arch/i386/kernel/cpu/cpufreq/longhaul.c +++ b/arch/x86/kernel/cpu/cpufreq/longhaul.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.h b/arch/x86/kernel/cpu/cpufreq/longhaul.h index 4fcc320997df..4fcc320997df 100644 --- a/arch/i386/kernel/cpu/cpufreq/longhaul.h +++ b/arch/x86/kernel/cpu/cpufreq/longhaul.h | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/longrun.c b/arch/x86/kernel/cpu/cpufreq/longrun.c index b2689514295a..b2689514295a 100644 --- a/arch/i386/kernel/cpu/cpufreq/longrun.c +++ b/arch/x86/kernel/cpu/cpufreq/longrun.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c b/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c index 4c76b511e194..4c76b511e194 100644 --- a/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c +++ b/arch/x86/kernel/cpu/cpufreq/p4-clockmod.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k6.c b/arch/x86/kernel/cpu/cpufreq/powernow-k6.c index f89524051e4a..f89524051e4a 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k6.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k6.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c b/arch/x86/kernel/cpu/cpufreq/powernow-k7.c index ca3e1d341889..ca3e1d341889 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k7.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k7.h b/arch/x86/kernel/cpu/cpufreq/powernow-k7.h index f8a63b3664e3..f8a63b3664e3 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.h +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k7.h | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index 34ed53a06730..34ed53a06730 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.h b/arch/x86/kernel/cpu/cpufreq/powernow-k8.h index b06c812208ca..b06c812208ca 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.h +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.h | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/sc520_freq.c b/arch/x86/kernel/cpu/cpufreq/sc520_freq.c index b8fb4b521c62..b8fb4b521c62 100644 --- a/arch/i386/kernel/cpu/cpufreq/sc520_freq.c +++ b/arch/x86/kernel/cpu/cpufreq/sc520_freq.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c index 6c5dc2c85aeb..6c5dc2c85aeb 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c b/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c index a5b2346faf1f..a5b2346faf1f 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-ich.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c index b1acc8ce3167..b1acc8ce3167 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.h b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.h index b11bcc608cac..b11bcc608cac 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.h +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.h | |||
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/x86/kernel/cpu/cpufreq/speedstep-smi.c index e1c509aa3054..e1c509aa3054 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-smi.c | |||
diff --git a/arch/i386/kernel/cpu/cyrix.c b/arch/x86/kernel/cpu/cyrix.c index 122d2d75aa9f..122d2d75aa9f 100644 --- a/arch/i386/kernel/cpu/cyrix.c +++ b/arch/x86/kernel/cpu/cyrix.c | |||
diff --git a/arch/i386/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index dc4e08147b1f..dc4e08147b1f 100644 --- a/arch/i386/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c | |||
diff --git a/arch/i386/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c index db6c25aa5776..db6c25aa5776 100644 --- a/arch/i386/kernel/cpu/intel_cacheinfo.c +++ b/arch/x86/kernel/cpu/intel_cacheinfo.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/Makefile b/arch/x86/kernel/cpu/mcheck/Makefile index f1ebe1c1c17a..f1ebe1c1c17a 100644 --- a/arch/i386/kernel/cpu/mcheck/Makefile +++ b/arch/x86/kernel/cpu/mcheck/Makefile | |||
diff --git a/arch/i386/kernel/cpu/mcheck/k7.c b/arch/x86/kernel/cpu/mcheck/k7.c index eef63e3630c2..eef63e3630c2 100644 --- a/arch/i386/kernel/cpu/mcheck/k7.c +++ b/arch/x86/kernel/cpu/mcheck/k7.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 34c781eddee4..34c781eddee4 100644 --- a/arch/i386/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/mce.h b/arch/x86/kernel/cpu/mcheck/mce.h index 81fb6e2d35f3..81fb6e2d35f3 100644 --- a/arch/i386/kernel/cpu/mcheck/mce.h +++ b/arch/x86/kernel/cpu/mcheck/mce.h | |||
diff --git a/arch/i386/kernel/cpu/mcheck/non-fatal.c b/arch/x86/kernel/cpu/mcheck/non-fatal.c index bf39409b3838..bf39409b3838 100644 --- a/arch/i386/kernel/cpu/mcheck/non-fatal.c +++ b/arch/x86/kernel/cpu/mcheck/non-fatal.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/p4.c b/arch/x86/kernel/cpu/mcheck/p4.c index 1509edfb2313..1509edfb2313 100644 --- a/arch/i386/kernel/cpu/mcheck/p4.c +++ b/arch/x86/kernel/cpu/mcheck/p4.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/p5.c b/arch/x86/kernel/cpu/mcheck/p5.c index 94bc43d950cf..94bc43d950cf 100644 --- a/arch/i386/kernel/cpu/mcheck/p5.c +++ b/arch/x86/kernel/cpu/mcheck/p5.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/p6.c b/arch/x86/kernel/cpu/mcheck/p6.c index deeae42ce199..deeae42ce199 100644 --- a/arch/i386/kernel/cpu/mcheck/p6.c +++ b/arch/x86/kernel/cpu/mcheck/p6.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c index 1203dc5ab87a..1203dc5ab87a 100644 --- a/arch/i386/kernel/cpu/mcheck/therm_throt.c +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c | |||
diff --git a/arch/i386/kernel/cpu/mcheck/winchip.c b/arch/x86/kernel/cpu/mcheck/winchip.c index 9e424b6c293d..9e424b6c293d 100644 --- a/arch/i386/kernel/cpu/mcheck/winchip.c +++ b/arch/x86/kernel/cpu/mcheck/winchip.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/Makefile b/arch/x86/kernel/cpu/mtrr/Makefile index 191fc0533649..191fc0533649 100644 --- a/arch/i386/kernel/cpu/mtrr/Makefile +++ b/arch/x86/kernel/cpu/mtrr/Makefile | |||
diff --git a/arch/i386/kernel/cpu/mtrr/amd.c b/arch/x86/kernel/cpu/mtrr/amd.c index 0949cdbf848a..0949cdbf848a 100644 --- a/arch/i386/kernel/cpu/mtrr/amd.c +++ b/arch/x86/kernel/cpu/mtrr/amd.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/centaur.c b/arch/x86/kernel/cpu/mtrr/centaur.c index cb9aa3a7a7ab..cb9aa3a7a7ab 100644 --- a/arch/i386/kernel/cpu/mtrr/centaur.c +++ b/arch/x86/kernel/cpu/mtrr/centaur.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/cyrix.c b/arch/x86/kernel/cpu/mtrr/cyrix.c index 2287d4863a8a..2287d4863a8a 100644 --- a/arch/i386/kernel/cpu/mtrr/cyrix.c +++ b/arch/x86/kernel/cpu/mtrr/cyrix.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c index 56f64e34829f..56f64e34829f 100644 --- a/arch/i386/kernel/cpu/mtrr/generic.c +++ b/arch/x86/kernel/cpu/mtrr/generic.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/if.c b/arch/x86/kernel/cpu/mtrr/if.c index c7d8f1756745..c7d8f1756745 100644 --- a/arch/i386/kernel/cpu/mtrr/if.c +++ b/arch/x86/kernel/cpu/mtrr/if.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index c48b6fea5ab4..c48b6fea5ab4 100644 --- a/arch/i386/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c | |||
diff --git a/arch/i386/kernel/cpu/mtrr/mtrr.h b/arch/x86/kernel/cpu/mtrr/mtrr.h index 289dfe6030e3..289dfe6030e3 100644 --- a/arch/i386/kernel/cpu/mtrr/mtrr.h +++ b/arch/x86/kernel/cpu/mtrr/mtrr.h | |||
diff --git a/arch/i386/kernel/cpu/mtrr/state.c b/arch/x86/kernel/cpu/mtrr/state.c index c9014ca4a575..49e20c2afcdf 100644 --- a/arch/i386/kernel/cpu/mtrr/state.c +++ b/arch/x86/kernel/cpu/mtrr/state.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <asm/io.h> | 3 | #include <asm/io.h> |
4 | #include <asm/mtrr.h> | 4 | #include <asm/mtrr.h> |
5 | #include <asm/msr.h> | 5 | #include <asm/msr.h> |
6 | #include <asm-i386/processor-cyrix.h> | 6 | #include <asm/processor-cyrix.h> |
7 | #include "mtrr.h" | 7 | #include "mtrr.h" |
8 | 8 | ||
9 | 9 | ||
diff --git a/arch/i386/kernel/cpu/nexgen.c b/arch/x86/kernel/cpu/nexgen.c index 961fbe1a748f..961fbe1a748f 100644 --- a/arch/i386/kernel/cpu/nexgen.c +++ b/arch/x86/kernel/cpu/nexgen.c | |||
diff --git a/arch/i386/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c index 93fecd4b03de..93fecd4b03de 100644 --- a/arch/i386/kernel/cpu/perfctr-watchdog.c +++ b/arch/x86/kernel/cpu/perfctr-watchdog.c | |||
diff --git a/arch/i386/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 1e31b6caffb1..1e31b6caffb1 100644 --- a/arch/i386/kernel/cpu/proc.c +++ b/arch/x86/kernel/cpu/proc.c | |||
diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/x86/kernel/cpu/transmeta.c index 200fb3f9ebfb..200fb3f9ebfb 100644 --- a/arch/i386/kernel/cpu/transmeta.c +++ b/arch/x86/kernel/cpu/transmeta.c | |||
diff --git a/arch/i386/kernel/cpu/umc.c b/arch/x86/kernel/cpu/umc.c index a7a4e75bdcd7..a7a4e75bdcd7 100644 --- a/arch/i386/kernel/cpu/umc.c +++ b/arch/x86/kernel/cpu/umc.c | |||
diff --git a/arch/x86_64/kernel/cpufreq/Kconfig b/arch/x86/kernel/cpufreq/Kconfig index a3fd51926cbd..a3fd51926cbd 100644 --- a/arch/x86_64/kernel/cpufreq/Kconfig +++ b/arch/x86/kernel/cpufreq/Kconfig | |||
diff --git a/arch/i386/kernel/cpuid.c b/arch/x86/kernel/cpuid.c index 5c2faa10e9fa..5c2faa10e9fa 100644 --- a/arch/i386/kernel/cpuid.c +++ b/arch/x86/kernel/cpuid.c | |||
diff --git a/arch/i386/kernel/crash.c b/arch/x86/kernel/crash_32.c index 53589d1b1a05..53589d1b1a05 100644 --- a/arch/i386/kernel/crash.c +++ b/arch/x86/kernel/crash_32.c | |||
diff --git a/arch/x86_64/kernel/crash.c b/arch/x86/kernel/crash_64.c index 13432a1ae904..13432a1ae904 100644 --- a/arch/x86_64/kernel/crash.c +++ b/arch/x86/kernel/crash_64.c | |||
diff --git a/arch/i386/kernel/crash_dump.c b/arch/x86/kernel/crash_dump_32.c index 3f532df488bc..3f532df488bc 100644 --- a/arch/i386/kernel/crash_dump.c +++ b/arch/x86/kernel/crash_dump_32.c | |||
diff --git a/arch/x86_64/kernel/crash_dump.c b/arch/x86/kernel/crash_dump_64.c index 942deac4d43a..942deac4d43a 100644 --- a/arch/x86_64/kernel/crash_dump.c +++ b/arch/x86/kernel/crash_dump_64.c | |||
diff --git a/arch/i386/kernel/doublefault.c b/arch/x86/kernel/doublefault_32.c index 40978af630e7..40978af630e7 100644 --- a/arch/i386/kernel/doublefault.c +++ b/arch/x86/kernel/doublefault_32.c | |||
diff --git a/arch/i386/kernel/e820.c b/arch/x86/kernel/e820_32.c index 3c86b979a40a..3c86b979a40a 100644 --- a/arch/i386/kernel/e820.c +++ b/arch/x86/kernel/e820_32.c | |||
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86/kernel/e820_64.c index 0f4d5e209e9b..0f4d5e209e9b 100644 --- a/arch/x86_64/kernel/e820.c +++ b/arch/x86/kernel/e820_64.c | |||
diff --git a/arch/x86_64/kernel/early-quirks.c b/arch/x86/kernel/early-quirks_64.c index 13aa4fd728f3..13aa4fd728f3 100644 --- a/arch/x86_64/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks_64.c | |||
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86/kernel/early_printk.c index fd9aff3f3890..fd9aff3f3890 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86/kernel/early_printk.c | |||
diff --git a/arch/i386/kernel/efi.c b/arch/x86/kernel/efi_32.c index 2452c6fbe992..2452c6fbe992 100644 --- a/arch/i386/kernel/efi.c +++ b/arch/x86/kernel/efi_32.c | |||
diff --git a/arch/i386/kernel/efi_stub.S b/arch/x86/kernel/efi_stub_32.S index ef00bb77d7e4..ef00bb77d7e4 100644 --- a/arch/i386/kernel/efi_stub.S +++ b/arch/x86/kernel/efi_stub_32.S | |||
diff --git a/arch/i386/kernel/entry.S b/arch/x86/kernel/entry_32.S index a714d6b43506..290b7bc82da3 100644 --- a/arch/i386/kernel/entry.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1107,6 +1107,6 @@ ENDPROC(xen_failsafe_callback) | |||
1107 | #endif /* CONFIG_XEN */ | 1107 | #endif /* CONFIG_XEN */ |
1108 | 1108 | ||
1109 | .section .rodata,"a" | 1109 | .section .rodata,"a" |
1110 | #include "syscall_table.S" | 1110 | #include "syscall_table_32.S" |
1111 | 1111 | ||
1112 | syscall_table_size=(.-sys_call_table) | 1112 | syscall_table_size=(.-sys_call_table) |
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86/kernel/entry_64.S index 1d232e5f5658..1d232e5f5658 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86/kernel/entry_64.S | |||
diff --git a/arch/x86_64/kernel/genapic.c b/arch/x86/kernel/genapic_64.c index 47496a40e84f..47496a40e84f 100644 --- a/arch/x86_64/kernel/genapic.c +++ b/arch/x86/kernel/genapic_64.c | |||
diff --git a/arch/x86_64/kernel/genapic_flat.c b/arch/x86/kernel/genapic_flat_64.c index ecb01eefdd27..ecb01eefdd27 100644 --- a/arch/x86_64/kernel/genapic_flat.c +++ b/arch/x86/kernel/genapic_flat_64.c | |||
diff --git a/arch/i386/kernel/geode.c b/arch/x86/kernel/geode_32.c index 41e8aec4c61d..41e8aec4c61d 100644 --- a/arch/i386/kernel/geode.c +++ b/arch/x86/kernel/geode_32.c | |||
diff --git a/arch/x86_64/kernel/head64.c b/arch/x86/kernel/head64.c index 6c34bdd22e26..6c34bdd22e26 100644 --- a/arch/x86_64/kernel/head64.c +++ b/arch/x86/kernel/head64.c | |||
diff --git a/arch/i386/kernel/head.S b/arch/x86/kernel/head_32.S index 8f0382161c91..9150ca9b5f80 100644 --- a/arch/i386/kernel/head.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -537,7 +537,7 @@ fault_msg: | |||
537 | .ascii "Int %d: CR2 %p err %p EIP %p CS %p flags %p\n" | 537 | .ascii "Int %d: CR2 %p err %p EIP %p CS %p flags %p\n" |
538 | .asciz "Stack: %p %p %p %p %p %p %p %p\n" | 538 | .asciz "Stack: %p %p %p %p %p %p %p %p\n" |
539 | 539 | ||
540 | #include "../xen/xen-head.S" | 540 | #include "../../x86/xen/xen-head.S" |
541 | 541 | ||
542 | /* | 542 | /* |
543 | * The IDT and GDT 'descriptors' are a strange 48-bit object | 543 | * The IDT and GDT 'descriptors' are a strange 48-bit object |
diff --git a/arch/x86_64/kernel/head.S b/arch/x86/kernel/head_64.S index b6167fe3330e..b6167fe3330e 100644 --- a/arch/x86_64/kernel/head.S +++ b/arch/x86/kernel/head_64.S | |||
diff --git a/arch/i386/kernel/hpet.c b/arch/x86/kernel/hpet_32.c index 533d4932bc79..533d4932bc79 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/x86/kernel/hpet_32.c | |||
diff --git a/arch/x86_64/kernel/hpet.c b/arch/x86/kernel/hpet_64.c index e2d1b912e154..e2d1b912e154 100644 --- a/arch/x86_64/kernel/hpet.c +++ b/arch/x86/kernel/hpet_64.c | |||
diff --git a/arch/i386/kernel/i386_ksyms.c b/arch/x86/kernel/i386_ksyms_32.c index e3d4b73bfdb0..e3d4b73bfdb0 100644 --- a/arch/i386/kernel/i386_ksyms.c +++ b/arch/x86/kernel/i386_ksyms_32.c | |||
diff --git a/arch/i386/kernel/i387.c b/arch/x86/kernel/i387_32.c index 665847281ed2..665847281ed2 100644 --- a/arch/i386/kernel/i387.c +++ b/arch/x86/kernel/i387_32.c | |||
diff --git a/arch/x86_64/kernel/i387.c b/arch/x86/kernel/i387_64.c index 1d58c13bc6bc..1d58c13bc6bc 100644 --- a/arch/x86_64/kernel/i387.c +++ b/arch/x86/kernel/i387_64.c | |||
diff --git a/arch/i386/kernel/i8237.c b/arch/x86/kernel/i8237.c index 6f508e8d7c57..6f508e8d7c57 100644 --- a/arch/i386/kernel/i8237.c +++ b/arch/x86/kernel/i8237.c | |||
diff --git a/arch/i386/kernel/i8253.c b/arch/x86/kernel/i8253_32.c index 6d839f2f1b1a..6d839f2f1b1a 100644 --- a/arch/i386/kernel/i8253.c +++ b/arch/x86/kernel/i8253_32.c | |||
diff --git a/arch/i386/kernel/i8259.c b/arch/x86/kernel/i8259_32.c index 0499cbe9871a..0499cbe9871a 100644 --- a/arch/i386/kernel/i8259.c +++ b/arch/x86/kernel/i8259_32.c | |||
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86/kernel/i8259_64.c index 948cae646099..948cae646099 100644 --- a/arch/x86_64/kernel/i8259.c +++ b/arch/x86/kernel/i8259_64.c | |||
diff --git a/arch/i386/kernel/init_task.c b/arch/x86/kernel/init_task_32.c index d26fc063a760..d26fc063a760 100644 --- a/arch/i386/kernel/init_task.c +++ b/arch/x86/kernel/init_task_32.c | |||
diff --git a/arch/x86_64/kernel/init_task.c b/arch/x86/kernel/init_task_64.c index 4ff33d4f8551..4ff33d4f8551 100644 --- a/arch/x86_64/kernel/init_task.c +++ b/arch/x86/kernel/init_task_64.c | |||
diff --git a/arch/i386/kernel/io_apic.c b/arch/x86/kernel/io_apic_32.c index e2f4a1c68547..e2f4a1c68547 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic_32.c | |||
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86/kernel/io_apic_64.c index 966fa1062491..966fa1062491 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic_64.c | |||
diff --git a/arch/i386/kernel/ioport.c b/arch/x86/kernel/ioport_32.c index 3d310a946d76..3d310a946d76 100644 --- a/arch/i386/kernel/ioport.c +++ b/arch/x86/kernel/ioport_32.c | |||
diff --git a/arch/x86_64/kernel/ioport.c b/arch/x86/kernel/ioport_64.c index 653efa30b0f4..653efa30b0f4 100644 --- a/arch/x86_64/kernel/ioport.c +++ b/arch/x86/kernel/ioport_64.c | |||
diff --git a/arch/i386/kernel/irq.c b/arch/x86/kernel/irq_32.c index dd2b97fc00b2..dd2b97fc00b2 100644 --- a/arch/i386/kernel/irq.c +++ b/arch/x86/kernel/irq_32.c | |||
diff --git a/arch/x86_64/kernel/irq.c b/arch/x86/kernel/irq_64.c index 39cb3fa83ebb..39cb3fa83ebb 100644 --- a/arch/x86_64/kernel/irq.c +++ b/arch/x86/kernel/irq_64.c | |||
diff --git a/arch/x86_64/kernel/k8.c b/arch/x86/kernel/k8.c index 7377ccb21335..7377ccb21335 100644 --- a/arch/x86_64/kernel/k8.c +++ b/arch/x86/kernel/k8.c | |||
diff --git a/arch/i386/kernel/kprobes.c b/arch/x86/kernel/kprobes_32.c index 448a50b1324c..448a50b1324c 100644 --- a/arch/i386/kernel/kprobes.c +++ b/arch/x86/kernel/kprobes_32.c | |||
diff --git a/arch/x86_64/kernel/kprobes.c b/arch/x86/kernel/kprobes_64.c index a30e004682e2..a30e004682e2 100644 --- a/arch/x86_64/kernel/kprobes.c +++ b/arch/x86/kernel/kprobes_64.c | |||
diff --git a/arch/i386/kernel/ldt.c b/arch/x86/kernel/ldt_32.c index e0b2d17f4f10..e0b2d17f4f10 100644 --- a/arch/i386/kernel/ldt.c +++ b/arch/x86/kernel/ldt_32.c | |||
diff --git a/arch/x86_64/kernel/ldt.c b/arch/x86/kernel/ldt_64.c index bc9ffd5c19cc..bc9ffd5c19cc 100644 --- a/arch/x86_64/kernel/ldt.c +++ b/arch/x86/kernel/ldt_64.c | |||
diff --git a/arch/i386/kernel/machine_kexec.c b/arch/x86/kernel/machine_kexec_32.c index 91966bafb3dc..91966bafb3dc 100644 --- a/arch/i386/kernel/machine_kexec.c +++ b/arch/x86/kernel/machine_kexec_32.c | |||
diff --git a/arch/x86_64/kernel/machine_kexec.c b/arch/x86/kernel/machine_kexec_64.c index c3a554703672..c3a554703672 100644 --- a/arch/x86_64/kernel/machine_kexec.c +++ b/arch/x86/kernel/machine_kexec_64.c | |||
diff --git a/arch/i386/kernel/mca.c b/arch/x86/kernel/mca_32.c index b83672b89527..b83672b89527 100644 --- a/arch/i386/kernel/mca.c +++ b/arch/x86/kernel/mca_32.c | |||
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86/kernel/mce_64.c index a66d607f5b92..a66d607f5b92 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86/kernel/mce_64.c | |||
diff --git a/arch/x86_64/kernel/mce_amd.c b/arch/x86/kernel/mce_amd_64.c index 2f8a7f18b0fe..2f8a7f18b0fe 100644 --- a/arch/x86_64/kernel/mce_amd.c +++ b/arch/x86/kernel/mce_amd_64.c | |||
diff --git a/arch/x86_64/kernel/mce_intel.c b/arch/x86/kernel/mce_intel_64.c index 6551505d8a2c..6551505d8a2c 100644 --- a/arch/x86_64/kernel/mce_intel.c +++ b/arch/x86/kernel/mce_intel_64.c | |||
diff --git a/arch/i386/kernel/microcode.c b/arch/x86/kernel/microcode.c index 09cf78110358..09cf78110358 100644 --- a/arch/i386/kernel/microcode.c +++ b/arch/x86/kernel/microcode.c | |||
diff --git a/arch/i386/kernel/module.c b/arch/x86/kernel/module_32.c index 3db0a5442eb1..3db0a5442eb1 100644 --- a/arch/i386/kernel/module.c +++ b/arch/x86/kernel/module_32.c | |||
diff --git a/arch/x86_64/kernel/module.c b/arch/x86/kernel/module_64.c index a888e67f5874..a888e67f5874 100644 --- a/arch/x86_64/kernel/module.c +++ b/arch/x86/kernel/module_64.c | |||
diff --git a/arch/i386/kernel/mpparse.c b/arch/x86/kernel/mpparse_32.c index 13abb4ebfb79..13abb4ebfb79 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse_32.c | |||
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86/kernel/mpparse_64.c index 8bf0ca03ac8e..8bf0ca03ac8e 100644 --- a/arch/x86_64/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse_64.c | |||
diff --git a/arch/i386/kernel/msr.c b/arch/x86/kernel/msr.c index 0c1069b8d638..0c1069b8d638 100644 --- a/arch/i386/kernel/msr.c +++ b/arch/x86/kernel/msr.c | |||
diff --git a/arch/i386/kernel/nmi.c b/arch/x86/kernel/nmi_32.c index c7227e2180f8..c7227e2180f8 100644 --- a/arch/i386/kernel/nmi.c +++ b/arch/x86/kernel/nmi_32.c | |||
diff --git a/arch/x86_64/kernel/nmi.c b/arch/x86/kernel/nmi_64.c index 0ec6d2ddb931..0ec6d2ddb931 100644 --- a/arch/x86_64/kernel/nmi.c +++ b/arch/x86/kernel/nmi_64.c | |||
diff --git a/arch/i386/kernel/numaq.c b/arch/x86/kernel/numaq_32.c index 9000d82c6dc0..9000d82c6dc0 100644 --- a/arch/i386/kernel/numaq.c +++ b/arch/x86/kernel/numaq_32.c | |||
diff --git a/arch/i386/kernel/paravirt.c b/arch/x86/kernel/paravirt_32.c index 739cfb207dd7..739cfb207dd7 100644 --- a/arch/i386/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt_32.c | |||
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86/kernel/pci-calgary_64.c index 71da01e73f03..71da01e73f03 100644 --- a/arch/x86_64/kernel/pci-calgary.c +++ b/arch/x86/kernel/pci-calgary_64.c | |||
diff --git a/arch/i386/kernel/pci-dma.c b/arch/x86/kernel/pci-dma_32.c index 048f09b62553..048f09b62553 100644 --- a/arch/i386/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma_32.c | |||
diff --git a/arch/x86_64/kernel/pci-dma.c b/arch/x86/kernel/pci-dma_64.c index 29711445c818..29711445c818 100644 --- a/arch/x86_64/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma_64.c | |||
diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86/kernel/pci-gart_64.c index 4918c575d582..4918c575d582 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
diff --git a/arch/x86_64/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu_64.c index 2a34c6c025a9..2a34c6c025a9 100644 --- a/arch/x86_64/kernel/pci-nommu.c +++ b/arch/x86/kernel/pci-nommu_64.c | |||
diff --git a/arch/x86_64/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb_64.c index b2f405ea7c85..b2f405ea7c85 100644 --- a/arch/x86_64/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb_64.c | |||
diff --git a/arch/i386/kernel/pcspeaker.c b/arch/x86/kernel/pcspeaker.c index bc1f2d3ea277..bc1f2d3ea277 100644 --- a/arch/i386/kernel/pcspeaker.c +++ b/arch/x86/kernel/pcspeaker.c | |||
diff --git a/arch/x86_64/kernel/pmtimer.c b/arch/x86/kernel/pmtimer_64.c index ae8f91214f15..ae8f91214f15 100644 --- a/arch/x86_64/kernel/pmtimer.c +++ b/arch/x86/kernel/pmtimer_64.c | |||
diff --git a/arch/i386/kernel/process.c b/arch/x86/kernel/process_32.c index 84664710b784..84664710b784 100644 --- a/arch/i386/kernel/process.c +++ b/arch/x86/kernel/process_32.c | |||
diff --git a/arch/x86_64/kernel/process.c b/arch/x86/kernel/process_64.c index 98956555450b..98956555450b 100644 --- a/arch/x86_64/kernel/process.c +++ b/arch/x86/kernel/process_64.c | |||
diff --git a/arch/i386/kernel/ptrace.c b/arch/x86/kernel/ptrace_32.c index 7c1b92522e95..7c1b92522e95 100644 --- a/arch/i386/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace_32.c | |||
diff --git a/arch/x86_64/kernel/ptrace.c b/arch/x86/kernel/ptrace_64.c index eea3702427b4..eea3702427b4 100644 --- a/arch/x86_64/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace_64.c | |||
diff --git a/arch/i386/kernel/quirks.c b/arch/x86/kernel/quirks.c index 6722469c2633..6722469c2633 100644 --- a/arch/i386/kernel/quirks.c +++ b/arch/x86/kernel/quirks.c | |||
diff --git a/arch/i386/kernel/reboot.c b/arch/x86/kernel/reboot_32.c index 0d796248866c..0d796248866c 100644 --- a/arch/i386/kernel/reboot.c +++ b/arch/x86/kernel/reboot_32.c | |||
diff --git a/arch/x86_64/kernel/reboot.c b/arch/x86/kernel/reboot_64.c index 368db2b9c5ac..368db2b9c5ac 100644 --- a/arch/x86_64/kernel/reboot.c +++ b/arch/x86/kernel/reboot_64.c | |||
diff --git a/arch/i386/kernel/reboot_fixups.c b/arch/x86/kernel/reboot_fixups_32.c index 03e1cce58f49..03e1cce58f49 100644 --- a/arch/i386/kernel/reboot_fixups.c +++ b/arch/x86/kernel/reboot_fixups_32.c | |||
diff --git a/arch/i386/kernel/relocate_kernel.S b/arch/x86/kernel/relocate_kernel_32.S index f151d6fae462..f151d6fae462 100644 --- a/arch/i386/kernel/relocate_kernel.S +++ b/arch/x86/kernel/relocate_kernel_32.S | |||
diff --git a/arch/x86_64/kernel/relocate_kernel.S b/arch/x86/kernel/relocate_kernel_64.S index 14e95872c6a3..14e95872c6a3 100644 --- a/arch/x86_64/kernel/relocate_kernel.S +++ b/arch/x86/kernel/relocate_kernel_64.S | |||
diff --git a/arch/i386/kernel/scx200.c b/arch/x86/kernel/scx200_32.c index c7d3df23f589..c7d3df23f589 100644 --- a/arch/i386/kernel/scx200.c +++ b/arch/x86/kernel/scx200_32.c | |||
diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86/kernel/setup64.c index 1200aaac403e..1200aaac403e 100644 --- a/arch/x86_64/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c | |||
diff --git a/arch/i386/kernel/setup.c b/arch/x86/kernel/setup_32.c index d474cd639bcb..d474cd639bcb 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/x86/kernel/setup_32.c | |||
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86/kernel/setup_64.c index af838f6b0b7f..af838f6b0b7f 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86/kernel/setup_64.c | |||
diff --git a/arch/i386/kernel/sigframe.h b/arch/x86/kernel/sigframe_32.h index 0b2221711dad..0b2221711dad 100644 --- a/arch/i386/kernel/sigframe.h +++ b/arch/x86/kernel/sigframe_32.h | |||
diff --git a/arch/i386/kernel/signal.c b/arch/x86/kernel/signal_32.c index f5dd85656c18..c03570f7fe8e 100644 --- a/arch/i386/kernel/signal.c +++ b/arch/x86/kernel/signal_32.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/ucontext.h> | 25 | #include <asm/ucontext.h> |
26 | #include <asm/uaccess.h> | 26 | #include <asm/uaccess.h> |
27 | #include <asm/i387.h> | 27 | #include <asm/i387.h> |
28 | #include "sigframe.h" | 28 | #include "sigframe_32.h" |
29 | 29 | ||
30 | #define DEBUG_SIG 0 | 30 | #define DEBUG_SIG 0 |
31 | 31 | ||
diff --git a/arch/x86_64/kernel/signal.c b/arch/x86/kernel/signal_64.c index 739175b01e06..739175b01e06 100644 --- a/arch/x86_64/kernel/signal.c +++ b/arch/x86/kernel/signal_64.c | |||
diff --git a/arch/i386/kernel/smp.c b/arch/x86/kernel/smp_32.c index 2d35d8502029..2d35d8502029 100644 --- a/arch/i386/kernel/smp.c +++ b/arch/x86/kernel/smp_32.c | |||
diff --git a/arch/x86_64/kernel/smp.c b/arch/x86/kernel/smp_64.c index df4a82812adb..df4a82812adb 100644 --- a/arch/x86_64/kernel/smp.c +++ b/arch/x86/kernel/smp_64.c | |||
diff --git a/arch/i386/kernel/smpboot.c b/arch/x86/kernel/smpboot_32.c index e4f61d1c6248..e4f61d1c6248 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot_32.c | |||
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86/kernel/smpboot_64.c index 32f50783edc8..32f50783edc8 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot_64.c | |||
diff --git a/arch/i386/kernel/smpcommon.c b/arch/x86/kernel/smpcommon_32.c index bbfe85a0f699..bbfe85a0f699 100644 --- a/arch/i386/kernel/smpcommon.c +++ b/arch/x86/kernel/smpcommon_32.c | |||
diff --git a/arch/i386/kernel/srat.c b/arch/x86/kernel/srat_32.c index 2a8713ec0f9a..2a8713ec0f9a 100644 --- a/arch/i386/kernel/srat.c +++ b/arch/x86/kernel/srat_32.c | |||
diff --git a/arch/x86_64/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c index cb9109113584..cb9109113584 100644 --- a/arch/x86_64/kernel/stacktrace.c +++ b/arch/x86/kernel/stacktrace.c | |||
diff --git a/arch/i386/kernel/summit.c b/arch/x86/kernel/summit_32.c index d0e01a3acf35..d0e01a3acf35 100644 --- a/arch/i386/kernel/summit.c +++ b/arch/x86/kernel/summit_32.c | |||
diff --git a/arch/x86_64/kernel/suspend.c b/arch/x86/kernel/suspend_64.c index 573c0a6e0ac6..573c0a6e0ac6 100644 --- a/arch/x86_64/kernel/suspend.c +++ b/arch/x86/kernel/suspend_64.c | |||
diff --git a/arch/x86_64/kernel/suspend_asm.S b/arch/x86/kernel/suspend_asm_64.S index 16d183f67bc1..16d183f67bc1 100644 --- a/arch/x86_64/kernel/suspend_asm.S +++ b/arch/x86/kernel/suspend_asm_64.S | |||
diff --git a/arch/i386/kernel/sys_i386.c b/arch/x86/kernel/sys_i386_32.c index 42147304de88..42147304de88 100644 --- a/arch/i386/kernel/sys_i386.c +++ b/arch/x86/kernel/sys_i386_32.c | |||
diff --git a/arch/x86_64/kernel/sys_x86_64.c b/arch/x86/kernel/sys_x86_64.c index 4770b7a2052c..4770b7a2052c 100644 --- a/arch/x86_64/kernel/sys_x86_64.c +++ b/arch/x86/kernel/sys_x86_64.c | |||
diff --git a/arch/x86_64/kernel/syscall.c b/arch/x86/kernel/syscall_64.c index 63d592c276cc..9d498c2f8eea 100644 --- a/arch/x86_64/kernel/syscall.c +++ b/arch/x86/kernel/syscall_64.c | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; | 10 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; |
11 | #undef _ASM_X86_64_UNISTD_H_ | 11 | #undef _ASM_X86_64_UNISTD_H_ |
12 | #include <asm-x86_64/unistd.h> | 12 | #include <asm/unistd_64.h> |
13 | 13 | ||
14 | #undef __SYSCALL | 14 | #undef __SYSCALL |
15 | #define __SYSCALL(nr, sym) [ nr ] = sym, | 15 | #define __SYSCALL(nr, sym) [ nr ] = sym, |
@@ -22,5 +22,5 @@ extern void sys_ni_syscall(void); | |||
22 | const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { | 22 | const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { |
23 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ | 23 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ |
24 | [0 ... __NR_syscall_max] = &sys_ni_syscall, | 24 | [0 ... __NR_syscall_max] = &sys_ni_syscall, |
25 | #include <asm-x86_64/unistd.h> | 25 | #include <asm/unistd_64.h> |
26 | }; | 26 | }; |
diff --git a/arch/i386/kernel/syscall_table.S b/arch/x86/kernel/syscall_table_32.S index 8344c70adf61..8344c70adf61 100644 --- a/arch/i386/kernel/syscall_table.S +++ b/arch/x86/kernel/syscall_table_32.S | |||
diff --git a/arch/i386/kernel/sysenter.c b/arch/x86/kernel/sysenter_32.c index 4eb2e408764f..4eb2e408764f 100644 --- a/arch/i386/kernel/sysenter.c +++ b/arch/x86/kernel/sysenter_32.c | |||
diff --git a/arch/x86_64/kernel/tce.c b/arch/x86/kernel/tce_64.c index e3f2569b2c44..e3f2569b2c44 100644 --- a/arch/x86_64/kernel/tce.c +++ b/arch/x86/kernel/tce_64.c | |||
diff --git a/arch/i386/kernel/time.c b/arch/x86/kernel/time_32.c index 19a6c678d02e..19a6c678d02e 100644 --- a/arch/i386/kernel/time.c +++ b/arch/x86/kernel/time_32.c | |||
diff --git a/arch/x86_64/kernel/time.c b/arch/x86/kernel/time_64.c index 6d48a4e826d9..6d48a4e826d9 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86/kernel/time_64.c | |||
diff --git a/arch/i386/kernel/topology.c b/arch/x86/kernel/topology.c index 45782356a618..45782356a618 100644 --- a/arch/i386/kernel/topology.c +++ b/arch/x86/kernel/topology.c | |||
diff --git a/arch/i386/kernel/trampoline.S b/arch/x86/kernel/trampoline_32.S index f62815f8d06a..f62815f8d06a 100644 --- a/arch/i386/kernel/trampoline.S +++ b/arch/x86/kernel/trampoline_32.S | |||
diff --git a/arch/x86_64/kernel/trampoline.S b/arch/x86/kernel/trampoline_64.S index e7e2764c461b..607983b0d27b 100644 --- a/arch/x86_64/kernel/trampoline.S +++ b/arch/x86/kernel/trampoline_64.S | |||
@@ -126,7 +126,7 @@ startup_64: | |||
126 | no_longmode: | 126 | no_longmode: |
127 | hlt | 127 | hlt |
128 | jmp no_longmode | 128 | jmp no_longmode |
129 | #include "verify_cpu.S" | 129 | #include "verify_cpu_64.S" |
130 | 130 | ||
131 | # Careful these need to be in the same 64K segment as the above; | 131 | # Careful these need to be in the same 64K segment as the above; |
132 | tidt: | 132 | tidt: |
diff --git a/arch/i386/kernel/traps.c b/arch/x86/kernel/traps_32.c index 47b0bef335bd..47b0bef335bd 100644 --- a/arch/i386/kernel/traps.c +++ b/arch/x86/kernel/traps_32.c | |||
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86/kernel/traps_64.c index 03888420775d..03888420775d 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86/kernel/traps_64.c | |||
diff --git a/arch/i386/kernel/tsc.c b/arch/x86/kernel/tsc_32.c index a39280b4dd3a..a39280b4dd3a 100644 --- a/arch/i386/kernel/tsc.c +++ b/arch/x86/kernel/tsc_32.c | |||
diff --git a/arch/x86_64/kernel/tsc.c b/arch/x86/kernel/tsc_64.c index 2a59bde663f2..2a59bde663f2 100644 --- a/arch/x86_64/kernel/tsc.c +++ b/arch/x86/kernel/tsc_64.c | |||
diff --git a/arch/x86_64/kernel/tsc_sync.c b/arch/x86/kernel/tsc_sync.c index 355f5f506c81..355f5f506c81 100644 --- a/arch/x86_64/kernel/tsc_sync.c +++ b/arch/x86/kernel/tsc_sync.c | |||
diff --git a/arch/x86_64/kernel/verify_cpu.S b/arch/x86/kernel/verify_cpu_64.S index 45b6f8a975a1..45b6f8a975a1 100644 --- a/arch/x86_64/kernel/verify_cpu.S +++ b/arch/x86/kernel/verify_cpu_64.S | |||
diff --git a/arch/i386/kernel/vm86.c b/arch/x86/kernel/vm86_32.c index f2dcd1d27c0a..f2dcd1d27c0a 100644 --- a/arch/i386/kernel/vm86.c +++ b/arch/x86/kernel/vm86_32.c | |||
diff --git a/arch/i386/kernel/vmi.c b/arch/x86/kernel/vmi_32.c index 18673e0f193b..18673e0f193b 100644 --- a/arch/i386/kernel/vmi.c +++ b/arch/x86/kernel/vmi_32.c | |||
diff --git a/arch/i386/kernel/vmiclock.c b/arch/x86/kernel/vmiclock_32.c index b1b5ab08b26e..b1b5ab08b26e 100644 --- a/arch/i386/kernel/vmiclock.c +++ b/arch/x86/kernel/vmiclock_32.c | |||
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S new file mode 100644 index 000000000000..849ee611f013 --- /dev/null +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -0,0 +1,5 @@ | |||
1 | #ifdef CONFIG_X86_32 | ||
2 | # include "vmlinux_32.lds.S" | ||
3 | #else | ||
4 | # include "vmlinux_64.lds.S" | ||
5 | #endif | ||
diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux_32.lds.S index 7d72cce00529..7d72cce00529 100644 --- a/arch/i386/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux_32.lds.S | |||
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux_64.lds.S index ba8ea97abd21..ba8ea97abd21 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux_64.lds.S | |||
diff --git a/arch/x86_64/kernel/vsmp.c b/arch/x86/kernel/vsmp_64.c index 414caf0c5f9a..414caf0c5f9a 100644 --- a/arch/x86_64/kernel/vsmp.c +++ b/arch/x86/kernel/vsmp_64.c | |||
diff --git a/arch/i386/kernel/vsyscall-int80.S b/arch/x86/kernel/vsyscall-int80_32.S index 530d0525e5e2..103cab6aa7c0 100644 --- a/arch/i386/kernel/vsyscall-int80.S +++ b/arch/x86/kernel/vsyscall-int80_32.S | |||
@@ -50,4 +50,4 @@ __kernel_vsyscall: | |||
50 | /* | 50 | /* |
51 | * Get the common code for the sigreturn entry points. | 51 | * Get the common code for the sigreturn entry points. |
52 | */ | 52 | */ |
53 | #include "vsyscall-sigreturn.S" | 53 | #include "vsyscall-sigreturn_32.S" |
diff --git a/arch/i386/kernel/vsyscall-note.S b/arch/x86/kernel/vsyscall-note_32.S index 07c0daf78237..fcf376a37f79 100644 --- a/arch/i386/kernel/vsyscall-note.S +++ b/arch/x86/kernel/vsyscall-note_32.S | |||
@@ -33,7 +33,7 @@ ELFNOTE_END | |||
33 | * at boot time we set VDSO_NOTE_NONEGSEG_BIT if running under Xen. | 33 | * at boot time we set VDSO_NOTE_NONEGSEG_BIT if running under Xen. |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include "../xen/vdso.h" /* Defines VDSO_NOTE_NONEGSEG_BIT. */ | 36 | #include "../../x86/xen/vdso.h" /* Defines VDSO_NOTE_NONEGSEG_BIT. */ |
37 | 37 | ||
38 | .globl VDSO_NOTE_MASK | 38 | .globl VDSO_NOTE_MASK |
39 | ELFNOTE_START(GNU, 2, "a") | 39 | ELFNOTE_START(GNU, 2, "a") |
diff --git a/arch/i386/kernel/vsyscall-sigreturn.S b/arch/x86/kernel/vsyscall-sigreturn_32.S index a92262f41659..a92262f41659 100644 --- a/arch/i386/kernel/vsyscall-sigreturn.S +++ b/arch/x86/kernel/vsyscall-sigreturn_32.S | |||
diff --git a/arch/i386/kernel/vsyscall-sysenter.S b/arch/x86/kernel/vsyscall-sysenter_32.S index 1a36d26e15eb..ed879bf42995 100644 --- a/arch/i386/kernel/vsyscall-sysenter.S +++ b/arch/x86/kernel/vsyscall-sysenter_32.S | |||
@@ -119,4 +119,4 @@ SYSENTER_RETURN: | |||
119 | /* | 119 | /* |
120 | * Get the common code for the sigreturn entry points. | 120 | * Get the common code for the sigreturn entry points. |
121 | */ | 121 | */ |
122 | #include "vsyscall-sigreturn.S" | 122 | #include "vsyscall-sigreturn_32.S" |
diff --git a/arch/i386/kernel/vsyscall.S b/arch/x86/kernel/vsyscall_32.S index b403890fe39b..a5ab3dc4fd25 100644 --- a/arch/i386/kernel/vsyscall.S +++ b/arch/x86/kernel/vsyscall_32.S | |||
@@ -4,12 +4,12 @@ __INITDATA | |||
4 | 4 | ||
5 | .globl vsyscall_int80_start, vsyscall_int80_end | 5 | .globl vsyscall_int80_start, vsyscall_int80_end |
6 | vsyscall_int80_start: | 6 | vsyscall_int80_start: |
7 | .incbin "arch/i386/kernel/vsyscall-int80.so" | 7 | .incbin "arch/x86/kernel/vsyscall-int80_32.so" |
8 | vsyscall_int80_end: | 8 | vsyscall_int80_end: |
9 | 9 | ||
10 | .globl vsyscall_sysenter_start, vsyscall_sysenter_end | 10 | .globl vsyscall_sysenter_start, vsyscall_sysenter_end |
11 | vsyscall_sysenter_start: | 11 | vsyscall_sysenter_start: |
12 | .incbin "arch/i386/kernel/vsyscall-sysenter.so" | 12 | .incbin "arch/x86/kernel/vsyscall-sysenter_32.so" |
13 | vsyscall_sysenter_end: | 13 | vsyscall_sysenter_end: |
14 | 14 | ||
15 | __FINIT | 15 | __FINIT |
diff --git a/arch/i386/kernel/vsyscall.lds.S b/arch/x86/kernel/vsyscall_32.lds.S index 4a8b0ed9b8fb..4a8b0ed9b8fb 100644 --- a/arch/i386/kernel/vsyscall.lds.S +++ b/arch/x86/kernel/vsyscall_32.lds.S | |||
diff --git a/arch/x86_64/kernel/vsyscall.c b/arch/x86/kernel/vsyscall_64.c index 06c34949bfdc..06c34949bfdc 100644 --- a/arch/x86_64/kernel/vsyscall.c +++ b/arch/x86/kernel/vsyscall_64.c | |||
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86/kernel/x8664_ksyms_64.c index 77c25b307635..77c25b307635 100644 --- a/arch/x86_64/kernel/x8664_ksyms.c +++ b/arch/x86/kernel/x8664_ksyms_64.c | |||
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile new file mode 100644 index 000000000000..329da276c6f1 --- /dev/null +++ b/arch/x86/lib/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/lib/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/lib/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/x86/lib/Makefile_32 b/arch/x86/lib/Makefile_32 new file mode 100644 index 000000000000..98d1f1e2e2ef --- /dev/null +++ b/arch/x86/lib/Makefile_32 | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # Makefile for i386-specific library files.. | ||
3 | # | ||
4 | |||
5 | |||
6 | lib-y = checksum_32.o delay_32.o usercopy_32.o getuser_32.o putuser_32.o memcpy_32.o strstr_32.o \ | ||
7 | bitops_32.o semaphore_32.o string_32.o | ||
8 | |||
9 | lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o | ||
10 | |||
11 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
diff --git a/arch/x86/lib/Makefile_64 b/arch/x86/lib/Makefile_64 new file mode 100644 index 000000000000..bbabad3c9335 --- /dev/null +++ b/arch/x86/lib/Makefile_64 | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # Makefile for x86_64-specific library files. | ||
3 | # | ||
4 | |||
5 | CFLAGS_csum-partial_64.o := -funroll-loops | ||
6 | |||
7 | obj-y := io_64.o iomap_copy_64.o | ||
8 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
9 | |||
10 | lib-y := csum-partial_64.o csum-copy_64.o csum-wrappers_64.o delay_64.o \ | ||
11 | usercopy_64.o getuser_64.o putuser_64.o \ | ||
12 | thunk_64.o clear_page_64.o copy_page_64.o bitstr_64.o bitops_64.o | ||
13 | lib-y += memcpy_64.o memmove_64.o memset_64.o copy_user_64.o rwlock_64.o copy_user_nocache_64.o | ||
diff --git a/arch/i386/lib/bitops.c b/arch/x86/lib/bitops_32.c index afd0045595d4..afd0045595d4 100644 --- a/arch/i386/lib/bitops.c +++ b/arch/x86/lib/bitops_32.c | |||
diff --git a/arch/x86_64/lib/bitops.c b/arch/x86/lib/bitops_64.c index 95b6d9639fba..95b6d9639fba 100644 --- a/arch/x86_64/lib/bitops.c +++ b/arch/x86/lib/bitops_64.c | |||
diff --git a/arch/x86_64/lib/bitstr.c b/arch/x86/lib/bitstr_64.c index 24676609a6ac..24676609a6ac 100644 --- a/arch/x86_64/lib/bitstr.c +++ b/arch/x86/lib/bitstr_64.c | |||
diff --git a/arch/i386/lib/checksum.S b/arch/x86/lib/checksum_32.S index adbccd0bbb78..adbccd0bbb78 100644 --- a/arch/i386/lib/checksum.S +++ b/arch/x86/lib/checksum_32.S | |||
diff --git a/arch/x86_64/lib/clear_page.S b/arch/x86/lib/clear_page_64.S index 9a10a78bb4a4..9a10a78bb4a4 100644 --- a/arch/x86_64/lib/clear_page.S +++ b/arch/x86/lib/clear_page_64.S | |||
diff --git a/arch/x86_64/lib/copy_page.S b/arch/x86/lib/copy_page_64.S index 727a5d46d2fc..727a5d46d2fc 100644 --- a/arch/x86_64/lib/copy_page.S +++ b/arch/x86/lib/copy_page_64.S | |||
diff --git a/arch/x86_64/lib/copy_user.S b/arch/x86/lib/copy_user_64.S index 70bebd310408..70bebd310408 100644 --- a/arch/x86_64/lib/copy_user.S +++ b/arch/x86/lib/copy_user_64.S | |||
diff --git a/arch/x86_64/lib/copy_user_nocache.S b/arch/x86/lib/copy_user_nocache_64.S index 4620efb12f13..4620efb12f13 100644 --- a/arch/x86_64/lib/copy_user_nocache.S +++ b/arch/x86/lib/copy_user_nocache_64.S | |||
diff --git a/arch/x86_64/lib/csum-copy.S b/arch/x86/lib/csum-copy_64.S index f0dba36578ea..f0dba36578ea 100644 --- a/arch/x86_64/lib/csum-copy.S +++ b/arch/x86/lib/csum-copy_64.S | |||
diff --git a/arch/x86_64/lib/csum-partial.c b/arch/x86/lib/csum-partial_64.c index bc503f506903..bc503f506903 100644 --- a/arch/x86_64/lib/csum-partial.c +++ b/arch/x86/lib/csum-partial_64.c | |||
diff --git a/arch/x86_64/lib/csum-wrappers.c b/arch/x86/lib/csum-wrappers_64.c index fd42a4a095fc..fd42a4a095fc 100644 --- a/arch/x86_64/lib/csum-wrappers.c +++ b/arch/x86/lib/csum-wrappers_64.c | |||
diff --git a/arch/i386/lib/delay.c b/arch/x86/lib/delay_32.c index f6edb11364df..f6edb11364df 100644 --- a/arch/i386/lib/delay.c +++ b/arch/x86/lib/delay_32.c | |||
diff --git a/arch/x86_64/lib/delay.c b/arch/x86/lib/delay_64.c index 2dbebd308347..2dbebd308347 100644 --- a/arch/x86_64/lib/delay.c +++ b/arch/x86/lib/delay_64.c | |||
diff --git a/arch/i386/lib/getuser.S b/arch/x86/lib/getuser_32.S index 6d84b53f12a2..6d84b53f12a2 100644 --- a/arch/i386/lib/getuser.S +++ b/arch/x86/lib/getuser_32.S | |||
diff --git a/arch/x86_64/lib/getuser.S b/arch/x86/lib/getuser_64.S index 5448876261f8..5448876261f8 100644 --- a/arch/x86_64/lib/getuser.S +++ b/arch/x86/lib/getuser_64.S | |||
diff --git a/arch/x86_64/lib/io.c b/arch/x86/lib/io_64.c index 87b4a4e18039..87b4a4e18039 100644 --- a/arch/x86_64/lib/io.c +++ b/arch/x86/lib/io_64.c | |||
diff --git a/arch/x86_64/lib/iomap_copy.S b/arch/x86/lib/iomap_copy_64.S index 05a95e713da8..05a95e713da8 100644 --- a/arch/x86_64/lib/iomap_copy.S +++ b/arch/x86/lib/iomap_copy_64.S | |||
diff --git a/arch/i386/lib/memcpy.c b/arch/x86/lib/memcpy_32.c index 8ac51b82a632..8ac51b82a632 100644 --- a/arch/i386/lib/memcpy.c +++ b/arch/x86/lib/memcpy_32.c | |||
diff --git a/arch/x86_64/lib/memcpy.S b/arch/x86/lib/memcpy_64.S index c22981fa2f3a..c22981fa2f3a 100644 --- a/arch/x86_64/lib/memcpy.S +++ b/arch/x86/lib/memcpy_64.S | |||
diff --git a/arch/x86_64/lib/memmove.c b/arch/x86/lib/memmove_64.c index 751ebae8ec42..751ebae8ec42 100644 --- a/arch/x86_64/lib/memmove.c +++ b/arch/x86/lib/memmove_64.c | |||
diff --git a/arch/x86_64/lib/memset.S b/arch/x86/lib/memset_64.S index 2c5948116bd2..2c5948116bd2 100644 --- a/arch/x86_64/lib/memset.S +++ b/arch/x86/lib/memset_64.S | |||
diff --git a/arch/i386/lib/mmx.c b/arch/x86/lib/mmx_32.c index 28084d2e8dd4..28084d2e8dd4 100644 --- a/arch/i386/lib/mmx.c +++ b/arch/x86/lib/mmx_32.c | |||
diff --git a/arch/i386/lib/msr-on-cpu.c b/arch/x86/lib/msr-on-cpu.c index 7767962f25d3..7767962f25d3 100644 --- a/arch/i386/lib/msr-on-cpu.c +++ b/arch/x86/lib/msr-on-cpu.c | |||
diff --git a/arch/i386/lib/putuser.S b/arch/x86/lib/putuser_32.S index f58fba109d18..f58fba109d18 100644 --- a/arch/i386/lib/putuser.S +++ b/arch/x86/lib/putuser_32.S | |||
diff --git a/arch/x86_64/lib/putuser.S b/arch/x86/lib/putuser_64.S index 4989f5a8fa9b..4989f5a8fa9b 100644 --- a/arch/x86_64/lib/putuser.S +++ b/arch/x86/lib/putuser_64.S | |||
diff --git a/arch/x86_64/lib/rwlock.S b/arch/x86/lib/rwlock_64.S index 0cde1f807314..0cde1f807314 100644 --- a/arch/x86_64/lib/rwlock.S +++ b/arch/x86/lib/rwlock_64.S | |||
diff --git a/arch/i386/lib/semaphore.S b/arch/x86/lib/semaphore_32.S index c01eb39c0b43..c01eb39c0b43 100644 --- a/arch/i386/lib/semaphore.S +++ b/arch/x86/lib/semaphore_32.S | |||
diff --git a/arch/i386/lib/string.c b/arch/x86/lib/string_32.c index 2c773fefa3dd..2c773fefa3dd 100644 --- a/arch/i386/lib/string.c +++ b/arch/x86/lib/string_32.c | |||
diff --git a/arch/i386/lib/strstr.c b/arch/x86/lib/strstr_32.c index a3dafbf59dae..a3dafbf59dae 100644 --- a/arch/i386/lib/strstr.c +++ b/arch/x86/lib/strstr_32.c | |||
diff --git a/arch/x86_64/lib/thunk.S b/arch/x86/lib/thunk_64.S index 55e586d352d3..55e586d352d3 100644 --- a/arch/x86_64/lib/thunk.S +++ b/arch/x86/lib/thunk_64.S | |||
diff --git a/arch/i386/lib/usercopy.c b/arch/x86/lib/usercopy_32.c index 9f38b12b4af1..9f38b12b4af1 100644 --- a/arch/i386/lib/usercopy.c +++ b/arch/x86/lib/usercopy_32.c | |||
diff --git a/arch/x86_64/lib/usercopy.c b/arch/x86/lib/usercopy_64.c index 893d43f838cc..893d43f838cc 100644 --- a/arch/x86_64/lib/usercopy.c +++ b/arch/x86/lib/usercopy_64.c | |||
diff --git a/arch/i386/mach-default/Makefile b/arch/x86/mach-default/Makefile index 012fe34459e6..012fe34459e6 100644 --- a/arch/i386/mach-default/Makefile +++ b/arch/x86/mach-default/Makefile | |||
diff --git a/arch/i386/mach-default/setup.c b/arch/x86/mach-default/setup.c index 7f635c7a2381..7f635c7a2381 100644 --- a/arch/i386/mach-default/setup.c +++ b/arch/x86/mach-default/setup.c | |||
diff --git a/arch/i386/mach-es7000/Makefile b/arch/x86/mach-es7000/Makefile index 69dd4da218dc..69dd4da218dc 100644 --- a/arch/i386/mach-es7000/Makefile +++ b/arch/x86/mach-es7000/Makefile | |||
diff --git a/arch/i386/mach-es7000/es7000.h b/arch/x86/mach-es7000/es7000.h index c8d5aa132fa0..c8d5aa132fa0 100644 --- a/arch/i386/mach-es7000/es7000.h +++ b/arch/x86/mach-es7000/es7000.h | |||
diff --git a/arch/i386/mach-es7000/es7000plat.c b/arch/x86/mach-es7000/es7000plat.c index ab99072d3f9a..ab99072d3f9a 100644 --- a/arch/i386/mach-es7000/es7000plat.c +++ b/arch/x86/mach-es7000/es7000plat.c | |||
diff --git a/arch/x86/mach-generic/Makefile b/arch/x86/mach-generic/Makefile new file mode 100644 index 000000000000..19d6d407737b --- /dev/null +++ b/arch/x86/mach-generic/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | # | ||
2 | # Makefile for the generic architecture | ||
3 | # | ||
4 | |||
5 | EXTRA_CFLAGS := -Iarch/x86/kernel | ||
6 | |||
7 | obj-y := probe.o summit.o bigsmp.o es7000.o default.o | ||
8 | obj-y += ../../x86/mach-es7000/ | ||
diff --git a/arch/i386/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 58a477baec30..58a477baec30 100644 --- a/arch/i386/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
diff --git a/arch/i386/mach-generic/default.c b/arch/x86/mach-generic/default.c index 8685208d8512..8685208d8512 100644 --- a/arch/i386/mach-generic/default.c +++ b/arch/x86/mach-generic/default.c | |||
diff --git a/arch/i386/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c index 4742626f08c4..4742626f08c4 100644 --- a/arch/i386/mach-generic/es7000.c +++ b/arch/x86/mach-generic/es7000.c | |||
diff --git a/arch/i386/mach-generic/probe.c b/arch/x86/mach-generic/probe.c index 74f3da634423..74f3da634423 100644 --- a/arch/i386/mach-generic/probe.c +++ b/arch/x86/mach-generic/probe.c | |||
diff --git a/arch/i386/mach-generic/summit.c b/arch/x86/mach-generic/summit.c index 74883ccb8f73..74883ccb8f73 100644 --- a/arch/i386/mach-generic/summit.c +++ b/arch/x86/mach-generic/summit.c | |||
diff --git a/arch/i386/mach-visws/Makefile b/arch/x86/mach-visws/Makefile index 835fd96ad768..835fd96ad768 100644 --- a/arch/i386/mach-visws/Makefile +++ b/arch/x86/mach-visws/Makefile | |||
diff --git a/arch/i386/mach-visws/mpparse.c b/arch/x86/mach-visws/mpparse.c index f3c74fab8b95..f3c74fab8b95 100644 --- a/arch/i386/mach-visws/mpparse.c +++ b/arch/x86/mach-visws/mpparse.c | |||
diff --git a/arch/i386/mach-visws/reboot.c b/arch/x86/mach-visws/reboot.c index 99332abfad42..99332abfad42 100644 --- a/arch/i386/mach-visws/reboot.c +++ b/arch/x86/mach-visws/reboot.c | |||
diff --git a/arch/i386/mach-visws/setup.c b/arch/x86/mach-visws/setup.c index 1f81f10e03a0..1f81f10e03a0 100644 --- a/arch/i386/mach-visws/setup.c +++ b/arch/x86/mach-visws/setup.c | |||
diff --git a/arch/i386/mach-visws/traps.c b/arch/x86/mach-visws/traps.c index 843b67acf43b..843b67acf43b 100644 --- a/arch/i386/mach-visws/traps.c +++ b/arch/x86/mach-visws/traps.c | |||
diff --git a/arch/i386/mach-visws/visws_apic.c b/arch/x86/mach-visws/visws_apic.c index 710faf71a650..710faf71a650 100644 --- a/arch/i386/mach-visws/visws_apic.c +++ b/arch/x86/mach-visws/visws_apic.c | |||
diff --git a/arch/i386/mach-voyager/Makefile b/arch/x86/mach-voyager/Makefile index 33b74cf0dd22..15c250b371d3 100644 --- a/arch/i386/mach-voyager/Makefile +++ b/arch/x86/mach-voyager/Makefile | |||
@@ -2,7 +2,7 @@ | |||
2 | # Makefile for the linux kernel. | 2 | # Makefile for the linux kernel. |
3 | # | 3 | # |
4 | 4 | ||
5 | EXTRA_CFLAGS := -Iarch/i386/kernel | 5 | EXTRA_CFLAGS := -Iarch/x86/kernel |
6 | obj-y := setup.o voyager_basic.o voyager_thread.o | 6 | obj-y := setup.o voyager_basic.o voyager_thread.o |
7 | 7 | ||
8 | obj-$(CONFIG_SMP) += voyager_smp.o voyager_cat.o | 8 | obj-$(CONFIG_SMP) += voyager_smp.o voyager_cat.o |
diff --git a/arch/i386/mach-voyager/setup.c b/arch/x86/mach-voyager/setup.c index 2b55694e6400..2b55694e6400 100644 --- a/arch/i386/mach-voyager/setup.c +++ b/arch/x86/mach-voyager/setup.c | |||
diff --git a/arch/i386/mach-voyager/voyager_basic.c b/arch/x86/mach-voyager/voyager_basic.c index 9b77b39b71a6..9b77b39b71a6 100644 --- a/arch/i386/mach-voyager/voyager_basic.c +++ b/arch/x86/mach-voyager/voyager_basic.c | |||
diff --git a/arch/i386/mach-voyager/voyager_cat.c b/arch/x86/mach-voyager/voyager_cat.c index 26a2d4c54b68..26a2d4c54b68 100644 --- a/arch/i386/mach-voyager/voyager_cat.c +++ b/arch/x86/mach-voyager/voyager_cat.c | |||
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c index b87f8548e75a..b87f8548e75a 100644 --- a/arch/i386/mach-voyager/voyager_smp.c +++ b/arch/x86/mach-voyager/voyager_smp.c | |||
diff --git a/arch/i386/mach-voyager/voyager_thread.c b/arch/x86/mach-voyager/voyager_thread.c index f9d595338159..f9d595338159 100644 --- a/arch/i386/mach-voyager/voyager_thread.c +++ b/arch/x86/mach-voyager/voyager_thread.c | |||
diff --git a/arch/i386/math-emu/Makefile b/arch/x86/math-emu/Makefile index 9c943fa6ce6b..9c943fa6ce6b 100644 --- a/arch/i386/math-emu/Makefile +++ b/arch/x86/math-emu/Makefile | |||
diff --git a/arch/i386/math-emu/README b/arch/x86/math-emu/README index e6235491d6eb..e6235491d6eb 100644 --- a/arch/i386/math-emu/README +++ b/arch/x86/math-emu/README | |||
diff --git a/arch/i386/math-emu/control_w.h b/arch/x86/math-emu/control_w.h index ae2274dbd305..ae2274dbd305 100644 --- a/arch/i386/math-emu/control_w.h +++ b/arch/x86/math-emu/control_w.h | |||
diff --git a/arch/i386/math-emu/div_Xsig.S b/arch/x86/math-emu/div_Xsig.S index f77ba3058b31..f77ba3058b31 100644 --- a/arch/i386/math-emu/div_Xsig.S +++ b/arch/x86/math-emu/div_Xsig.S | |||
diff --git a/arch/i386/math-emu/div_small.S b/arch/x86/math-emu/div_small.S index 47099628fa4c..47099628fa4c 100644 --- a/arch/i386/math-emu/div_small.S +++ b/arch/x86/math-emu/div_small.S | |||
diff --git a/arch/i386/math-emu/errors.c b/arch/x86/math-emu/errors.c index a1b0d22f6978..a1b0d22f6978 100644 --- a/arch/i386/math-emu/errors.c +++ b/arch/x86/math-emu/errors.c | |||
diff --git a/arch/i386/math-emu/exception.h b/arch/x86/math-emu/exception.h index b463f21a811e..b463f21a811e 100644 --- a/arch/i386/math-emu/exception.h +++ b/arch/x86/math-emu/exception.h | |||
diff --git a/arch/i386/math-emu/fpu_arith.c b/arch/x86/math-emu/fpu_arith.c index 6972dec01af6..6972dec01af6 100644 --- a/arch/i386/math-emu/fpu_arith.c +++ b/arch/x86/math-emu/fpu_arith.c | |||
diff --git a/arch/i386/math-emu/fpu_asm.h b/arch/x86/math-emu/fpu_asm.h index 9ba12416df12..9ba12416df12 100644 --- a/arch/i386/math-emu/fpu_asm.h +++ b/arch/x86/math-emu/fpu_asm.h | |||
diff --git a/arch/i386/math-emu/fpu_aux.c b/arch/x86/math-emu/fpu_aux.c index 20886cfb9f76..20886cfb9f76 100644 --- a/arch/i386/math-emu/fpu_aux.c +++ b/arch/x86/math-emu/fpu_aux.c | |||
diff --git a/arch/i386/math-emu/fpu_emu.h b/arch/x86/math-emu/fpu_emu.h index 65120f523853..65120f523853 100644 --- a/arch/i386/math-emu/fpu_emu.h +++ b/arch/x86/math-emu/fpu_emu.h | |||
diff --git a/arch/i386/math-emu/fpu_entry.c b/arch/x86/math-emu/fpu_entry.c index 1853524c8b57..1853524c8b57 100644 --- a/arch/i386/math-emu/fpu_entry.c +++ b/arch/x86/math-emu/fpu_entry.c | |||
diff --git a/arch/i386/math-emu/fpu_etc.c b/arch/x86/math-emu/fpu_etc.c index e3b5d465587f..e3b5d465587f 100644 --- a/arch/i386/math-emu/fpu_etc.c +++ b/arch/x86/math-emu/fpu_etc.c | |||
diff --git a/arch/i386/math-emu/fpu_proto.h b/arch/x86/math-emu/fpu_proto.h index 37a8a7fe7e2b..37a8a7fe7e2b 100644 --- a/arch/i386/math-emu/fpu_proto.h +++ b/arch/x86/math-emu/fpu_proto.h | |||
diff --git a/arch/i386/math-emu/fpu_system.h b/arch/x86/math-emu/fpu_system.h index a3ae28c49ddd..a3ae28c49ddd 100644 --- a/arch/i386/math-emu/fpu_system.h +++ b/arch/x86/math-emu/fpu_system.h | |||
diff --git a/arch/i386/math-emu/fpu_tags.c b/arch/x86/math-emu/fpu_tags.c index cb436fe20e4c..cb436fe20e4c 100644 --- a/arch/i386/math-emu/fpu_tags.c +++ b/arch/x86/math-emu/fpu_tags.c | |||
diff --git a/arch/i386/math-emu/fpu_trig.c b/arch/x86/math-emu/fpu_trig.c index 403cbde1d425..403cbde1d425 100644 --- a/arch/i386/math-emu/fpu_trig.c +++ b/arch/x86/math-emu/fpu_trig.c | |||
diff --git a/arch/i386/math-emu/get_address.c b/arch/x86/math-emu/get_address.c index 2e2c51a8bd3a..2e2c51a8bd3a 100644 --- a/arch/i386/math-emu/get_address.c +++ b/arch/x86/math-emu/get_address.c | |||
diff --git a/arch/i386/math-emu/load_store.c b/arch/x86/math-emu/load_store.c index eebd6fb1c8a8..eebd6fb1c8a8 100644 --- a/arch/i386/math-emu/load_store.c +++ b/arch/x86/math-emu/load_store.c | |||
diff --git a/arch/i386/math-emu/mul_Xsig.S b/arch/x86/math-emu/mul_Xsig.S index 717785a53eb4..717785a53eb4 100644 --- a/arch/i386/math-emu/mul_Xsig.S +++ b/arch/x86/math-emu/mul_Xsig.S | |||
diff --git a/arch/i386/math-emu/poly.h b/arch/x86/math-emu/poly.h index 4db798114923..4db798114923 100644 --- a/arch/i386/math-emu/poly.h +++ b/arch/x86/math-emu/poly.h | |||
diff --git a/arch/i386/math-emu/poly_2xm1.c b/arch/x86/math-emu/poly_2xm1.c index 9766ad5e9743..9766ad5e9743 100644 --- a/arch/i386/math-emu/poly_2xm1.c +++ b/arch/x86/math-emu/poly_2xm1.c | |||
diff --git a/arch/i386/math-emu/poly_atan.c b/arch/x86/math-emu/poly_atan.c index 82f702952f69..82f702952f69 100644 --- a/arch/i386/math-emu/poly_atan.c +++ b/arch/x86/math-emu/poly_atan.c | |||
diff --git a/arch/i386/math-emu/poly_l2.c b/arch/x86/math-emu/poly_l2.c index dd00e1d5b074..dd00e1d5b074 100644 --- a/arch/i386/math-emu/poly_l2.c +++ b/arch/x86/math-emu/poly_l2.c | |||
diff --git a/arch/i386/math-emu/poly_sin.c b/arch/x86/math-emu/poly_sin.c index a36313fb06f1..a36313fb06f1 100644 --- a/arch/i386/math-emu/poly_sin.c +++ b/arch/x86/math-emu/poly_sin.c | |||
diff --git a/arch/i386/math-emu/poly_tan.c b/arch/x86/math-emu/poly_tan.c index 8df3e03b6e6f..8df3e03b6e6f 100644 --- a/arch/i386/math-emu/poly_tan.c +++ b/arch/x86/math-emu/poly_tan.c | |||
diff --git a/arch/i386/math-emu/polynom_Xsig.S b/arch/x86/math-emu/polynom_Xsig.S index 17315c89ff3d..17315c89ff3d 100644 --- a/arch/i386/math-emu/polynom_Xsig.S +++ b/arch/x86/math-emu/polynom_Xsig.S | |||
diff --git a/arch/i386/math-emu/reg_add_sub.c b/arch/x86/math-emu/reg_add_sub.c index 7cd3b37ac084..7cd3b37ac084 100644 --- a/arch/i386/math-emu/reg_add_sub.c +++ b/arch/x86/math-emu/reg_add_sub.c | |||
diff --git a/arch/i386/math-emu/reg_compare.c b/arch/x86/math-emu/reg_compare.c index f37c5b5a35ad..f37c5b5a35ad 100644 --- a/arch/i386/math-emu/reg_compare.c +++ b/arch/x86/math-emu/reg_compare.c | |||
diff --git a/arch/i386/math-emu/reg_constant.c b/arch/x86/math-emu/reg_constant.c index a85015801969..a85015801969 100644 --- a/arch/i386/math-emu/reg_constant.c +++ b/arch/x86/math-emu/reg_constant.c | |||
diff --git a/arch/i386/math-emu/reg_constant.h b/arch/x86/math-emu/reg_constant.h index 1bffaec3a134..1bffaec3a134 100644 --- a/arch/i386/math-emu/reg_constant.h +++ b/arch/x86/math-emu/reg_constant.h | |||
diff --git a/arch/i386/math-emu/reg_convert.c b/arch/x86/math-emu/reg_convert.c index 45a258752703..45a258752703 100644 --- a/arch/i386/math-emu/reg_convert.c +++ b/arch/x86/math-emu/reg_convert.c | |||
diff --git a/arch/i386/math-emu/reg_divide.c b/arch/x86/math-emu/reg_divide.c index 5cee7ff920d9..5cee7ff920d9 100644 --- a/arch/i386/math-emu/reg_divide.c +++ b/arch/x86/math-emu/reg_divide.c | |||
diff --git a/arch/i386/math-emu/reg_ld_str.c b/arch/x86/math-emu/reg_ld_str.c index e976caef6498..e976caef6498 100644 --- a/arch/i386/math-emu/reg_ld_str.c +++ b/arch/x86/math-emu/reg_ld_str.c | |||
diff --git a/arch/i386/math-emu/reg_mul.c b/arch/x86/math-emu/reg_mul.c index 40f50b61bc67..40f50b61bc67 100644 --- a/arch/i386/math-emu/reg_mul.c +++ b/arch/x86/math-emu/reg_mul.c | |||
diff --git a/arch/i386/math-emu/reg_norm.S b/arch/x86/math-emu/reg_norm.S index 8b6352efceef..8b6352efceef 100644 --- a/arch/i386/math-emu/reg_norm.S +++ b/arch/x86/math-emu/reg_norm.S | |||
diff --git a/arch/i386/math-emu/reg_round.S b/arch/x86/math-emu/reg_round.S index d1d4e48b4f67..d1d4e48b4f67 100644 --- a/arch/i386/math-emu/reg_round.S +++ b/arch/x86/math-emu/reg_round.S | |||
diff --git a/arch/i386/math-emu/reg_u_add.S b/arch/x86/math-emu/reg_u_add.S index 47c4c2434d85..47c4c2434d85 100644 --- a/arch/i386/math-emu/reg_u_add.S +++ b/arch/x86/math-emu/reg_u_add.S | |||
diff --git a/arch/i386/math-emu/reg_u_div.S b/arch/x86/math-emu/reg_u_div.S index cc00654b6f9a..cc00654b6f9a 100644 --- a/arch/i386/math-emu/reg_u_div.S +++ b/arch/x86/math-emu/reg_u_div.S | |||
diff --git a/arch/i386/math-emu/reg_u_mul.S b/arch/x86/math-emu/reg_u_mul.S index 973f12af97df..973f12af97df 100644 --- a/arch/i386/math-emu/reg_u_mul.S +++ b/arch/x86/math-emu/reg_u_mul.S | |||
diff --git a/arch/i386/math-emu/reg_u_sub.S b/arch/x86/math-emu/reg_u_sub.S index 1b6c24801d22..1b6c24801d22 100644 --- a/arch/i386/math-emu/reg_u_sub.S +++ b/arch/x86/math-emu/reg_u_sub.S | |||
diff --git a/arch/i386/math-emu/round_Xsig.S b/arch/x86/math-emu/round_Xsig.S index bbe0e87718e4..bbe0e87718e4 100644 --- a/arch/i386/math-emu/round_Xsig.S +++ b/arch/x86/math-emu/round_Xsig.S | |||
diff --git a/arch/i386/math-emu/shr_Xsig.S b/arch/x86/math-emu/shr_Xsig.S index 31cdd118e918..31cdd118e918 100644 --- a/arch/i386/math-emu/shr_Xsig.S +++ b/arch/x86/math-emu/shr_Xsig.S | |||
diff --git a/arch/i386/math-emu/status_w.h b/arch/x86/math-emu/status_w.h index 59e73302aa60..59e73302aa60 100644 --- a/arch/i386/math-emu/status_w.h +++ b/arch/x86/math-emu/status_w.h | |||
diff --git a/arch/i386/math-emu/version.h b/arch/x86/math-emu/version.h index a0d73a1d2b67..a0d73a1d2b67 100644 --- a/arch/i386/math-emu/version.h +++ b/arch/x86/math-emu/version.h | |||
diff --git a/arch/i386/math-emu/wm_shrx.S b/arch/x86/math-emu/wm_shrx.S index 518428317985..518428317985 100644 --- a/arch/i386/math-emu/wm_shrx.S +++ b/arch/x86/math-emu/wm_shrx.S | |||
diff --git a/arch/i386/math-emu/wm_sqrt.S b/arch/x86/math-emu/wm_sqrt.S index d258f59564e1..d258f59564e1 100644 --- a/arch/i386/math-emu/wm_sqrt.S +++ b/arch/x86/math-emu/wm_sqrt.S | |||
diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile new file mode 100644 index 000000000000..983291096848 --- /dev/null +++ b/arch/x86/mm/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/mm/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/mm/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/x86/mm/Makefile_32 b/arch/x86/mm/Makefile_32 new file mode 100644 index 000000000000..362b4ad082de --- /dev/null +++ b/arch/x86/mm/Makefile_32 | |||
@@ -0,0 +1,10 @@ | |||
1 | # | ||
2 | # Makefile for the linux i386-specific parts of the memory manager. | ||
3 | # | ||
4 | |||
5 | obj-y := init_32.o pgtable_32.o fault_32.o ioremap_32.o extable_32.o pageattr_32.o mmap_32.o | ||
6 | |||
7 | obj-$(CONFIG_NUMA) += discontig_32.o | ||
8 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
9 | obj-$(CONFIG_HIGHMEM) += highmem_32.o | ||
10 | obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap_32.o | ||
diff --git a/arch/x86/mm/Makefile_64 b/arch/x86/mm/Makefile_64 new file mode 100644 index 000000000000..6bcb47945b87 --- /dev/null +++ b/arch/x86/mm/Makefile_64 | |||
@@ -0,0 +1,10 @@ | |||
1 | # | ||
2 | # Makefile for the linux x86_64-specific parts of the memory manager. | ||
3 | # | ||
4 | |||
5 | obj-y := init_64.o fault_64.o ioremap_64.o extable_64.o pageattr_64.o mmap_64.o | ||
6 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
7 | obj-$(CONFIG_NUMA) += numa_64.o | ||
8 | obj-$(CONFIG_K8_NUMA) += k8topology_64.o | ||
9 | obj-$(CONFIG_ACPI_NUMA) += srat_64.o | ||
10 | |||
diff --git a/arch/i386/mm/boot_ioremap.c b/arch/x86/mm/boot_ioremap_32.c index 4de95a17a7d4..4de95a17a7d4 100644 --- a/arch/i386/mm/boot_ioremap.c +++ b/arch/x86/mm/boot_ioremap_32.c | |||
diff --git a/arch/i386/mm/discontig.c b/arch/x86/mm/discontig_32.c index 860e912a3fbb..860e912a3fbb 100644 --- a/arch/i386/mm/discontig.c +++ b/arch/x86/mm/discontig_32.c | |||
diff --git a/arch/i386/mm/extable.c b/arch/x86/mm/extable_32.c index 0ce4f22a2635..0ce4f22a2635 100644 --- a/arch/i386/mm/extable.c +++ b/arch/x86/mm/extable_32.c | |||
diff --git a/arch/x86_64/mm/extable.c b/arch/x86/mm/extable_64.c index 79ac6e7100af..79ac6e7100af 100644 --- a/arch/x86_64/mm/extable.c +++ b/arch/x86/mm/extable_64.c | |||
diff --git a/arch/i386/mm/fault.c b/arch/x86/mm/fault_32.c index fcb38e7f3543..fcb38e7f3543 100644 --- a/arch/i386/mm/fault.c +++ b/arch/x86/mm/fault_32.c | |||
diff --git a/arch/x86_64/mm/fault.c b/arch/x86/mm/fault_64.c index 54816adb8e93..54816adb8e93 100644 --- a/arch/x86_64/mm/fault.c +++ b/arch/x86/mm/fault_64.c | |||
diff --git a/arch/i386/mm/highmem.c b/arch/x86/mm/highmem_32.c index 1c3bf95f7356..1c3bf95f7356 100644 --- a/arch/i386/mm/highmem.c +++ b/arch/x86/mm/highmem_32.c | |||
diff --git a/arch/i386/mm/hugetlbpage.c b/arch/x86/mm/hugetlbpage.c index 6c06d9c0488e..6c06d9c0488e 100644 --- a/arch/i386/mm/hugetlbpage.c +++ b/arch/x86/mm/hugetlbpage.c | |||
diff --git a/arch/i386/mm/init.c b/arch/x86/mm/init_32.c index 730a5b177b1f..730a5b177b1f 100644 --- a/arch/i386/mm/init.c +++ b/arch/x86/mm/init_32.c | |||
diff --git a/arch/x86_64/mm/init.c b/arch/x86/mm/init_64.c index 458893b376f8..458893b376f8 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86/mm/init_64.c | |||
diff --git a/arch/i386/mm/ioremap.c b/arch/x86/mm/ioremap_32.c index 0b278315d737..0b278315d737 100644 --- a/arch/i386/mm/ioremap.c +++ b/arch/x86/mm/ioremap_32.c | |||
diff --git a/arch/x86_64/mm/ioremap.c b/arch/x86/mm/ioremap_64.c index 6cac90aa5032..6cac90aa5032 100644 --- a/arch/x86_64/mm/ioremap.c +++ b/arch/x86/mm/ioremap_64.c | |||
diff --git a/arch/x86_64/mm/k8topology.c b/arch/x86/mm/k8topology_64.c index a96006f7ae0c..a96006f7ae0c 100644 --- a/arch/x86_64/mm/k8topology.c +++ b/arch/x86/mm/k8topology_64.c | |||
diff --git a/arch/i386/mm/mmap.c b/arch/x86/mm/mmap_32.c index 552e08473755..552e08473755 100644 --- a/arch/i386/mm/mmap.c +++ b/arch/x86/mm/mmap_32.c | |||
diff --git a/arch/x86_64/mm/mmap.c b/arch/x86/mm/mmap_64.c index 80bba0dc000e..80bba0dc000e 100644 --- a/arch/x86_64/mm/mmap.c +++ b/arch/x86/mm/mmap_64.c | |||
diff --git a/arch/x86_64/mm/numa.c b/arch/x86/mm/numa_64.c index 6da235522269..6da235522269 100644 --- a/arch/x86_64/mm/numa.c +++ b/arch/x86/mm/numa_64.c | |||
diff --git a/arch/i386/mm/pageattr.c b/arch/x86/mm/pageattr_32.c index 4241a74d16c8..4241a74d16c8 100644 --- a/arch/i386/mm/pageattr.c +++ b/arch/x86/mm/pageattr_32.c | |||
diff --git a/arch/x86_64/mm/pageattr.c b/arch/x86/mm/pageattr_64.c index 10b9809ce821..10b9809ce821 100644 --- a/arch/x86_64/mm/pageattr.c +++ b/arch/x86/mm/pageattr_64.c | |||
diff --git a/arch/i386/mm/pgtable.c b/arch/x86/mm/pgtable_32.c index 01437c46baae..01437c46baae 100644 --- a/arch/i386/mm/pgtable.c +++ b/arch/x86/mm/pgtable_32.c | |||
diff --git a/arch/x86_64/mm/srat.c b/arch/x86/mm/srat_64.c index acdf03e19146..acdf03e19146 100644 --- a/arch/x86_64/mm/srat.c +++ b/arch/x86/mm/srat_64.c | |||
diff --git a/arch/i386/oprofile/Kconfig b/arch/x86/oprofile/Kconfig index d8a84088471a..d8a84088471a 100644 --- a/arch/i386/oprofile/Kconfig +++ b/arch/x86/oprofile/Kconfig | |||
diff --git a/arch/i386/oprofile/Makefile b/arch/x86/oprofile/Makefile index 30f3eb366667..30f3eb366667 100644 --- a/arch/i386/oprofile/Makefile +++ b/arch/x86/oprofile/Makefile | |||
diff --git a/arch/i386/oprofile/backtrace.c b/arch/x86/oprofile/backtrace.c index c049ce414f01..c049ce414f01 100644 --- a/arch/i386/oprofile/backtrace.c +++ b/arch/x86/oprofile/backtrace.c | |||
diff --git a/arch/i386/oprofile/init.c b/arch/x86/oprofile/init.c index 5341d481d92f..5341d481d92f 100644 --- a/arch/i386/oprofile/init.c +++ b/arch/x86/oprofile/init.c | |||
diff --git a/arch/i386/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index 11b7a51566a8..11b7a51566a8 100644 --- a/arch/i386/oprofile/nmi_int.c +++ b/arch/x86/oprofile/nmi_int.c | |||
diff --git a/arch/i386/oprofile/nmi_timer_int.c b/arch/x86/oprofile/nmi_timer_int.c index 1418e36ae7ab..1418e36ae7ab 100644 --- a/arch/i386/oprofile/nmi_timer_int.c +++ b/arch/x86/oprofile/nmi_timer_int.c | |||
diff --git a/arch/i386/oprofile/op_counter.h b/arch/x86/oprofile/op_counter.h index 2880b15c4675..2880b15c4675 100644 --- a/arch/i386/oprofile/op_counter.h +++ b/arch/x86/oprofile/op_counter.h | |||
diff --git a/arch/i386/oprofile/op_model_athlon.c b/arch/x86/oprofile/op_model_athlon.c index 3057a19e4641..3057a19e4641 100644 --- a/arch/i386/oprofile/op_model_athlon.c +++ b/arch/x86/oprofile/op_model_athlon.c | |||
diff --git a/arch/i386/oprofile/op_model_p4.c b/arch/x86/oprofile/op_model_p4.c index 47925927b12f..47925927b12f 100644 --- a/arch/i386/oprofile/op_model_p4.c +++ b/arch/x86/oprofile/op_model_p4.c | |||
diff --git a/arch/i386/oprofile/op_model_ppro.c b/arch/x86/oprofile/op_model_ppro.c index c554f52cb808..c554f52cb808 100644 --- a/arch/i386/oprofile/op_model_ppro.c +++ b/arch/x86/oprofile/op_model_ppro.c | |||
diff --git a/arch/i386/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index abb1aa95b979..abb1aa95b979 100644 --- a/arch/i386/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h | |||
diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile new file mode 100644 index 000000000000..c5c8e485fc44 --- /dev/null +++ b/arch/x86/pci/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | ifeq ($(CONFIG_X86_32),y) | ||
2 | include ${srctree}/arch/x86/pci/Makefile_32 | ||
3 | else | ||
4 | include ${srctree}/arch/x86/pci/Makefile_64 | ||
5 | endif | ||
diff --git a/arch/i386/pci/Makefile b/arch/x86/pci/Makefile_32 index 44650e03308b..cdd6828b5abb 100644 --- a/arch/i386/pci/Makefile +++ b/arch/x86/pci/Makefile_32 | |||
@@ -1,7 +1,7 @@ | |||
1 | obj-y := i386.o init.o | 1 | obj-y := i386.o init.o |
2 | 2 | ||
3 | obj-$(CONFIG_PCI_BIOS) += pcbios.o | 3 | obj-$(CONFIG_PCI_BIOS) += pcbios.o |
4 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o direct.o mmconfig-shared.o | 4 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o |
5 | obj-$(CONFIG_PCI_DIRECT) += direct.o | 5 | obj-$(CONFIG_PCI_DIRECT) += direct.o |
6 | 6 | ||
7 | pci-y := fixup.o | 7 | pci-y := fixup.o |
diff --git a/arch/x86/pci/Makefile_64 b/arch/x86/pci/Makefile_64 new file mode 100644 index 000000000000..7d8c467bf143 --- /dev/null +++ b/arch/x86/pci/Makefile_64 | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Makefile for X86_64 specific PCI routines | ||
3 | # | ||
4 | # Reuse the i386 PCI subsystem | ||
5 | # | ||
6 | EXTRA_CFLAGS += -Iarch/x86/pci | ||
7 | |||
8 | obj-y := i386.o | ||
9 | obj-$(CONFIG_PCI_DIRECT)+= direct.o | ||
10 | obj-y += fixup.o init.o | ||
11 | obj-$(CONFIG_ACPI) += acpi.o | ||
12 | obj-y += legacy.o irq.o common.o early.o | ||
13 | # mmconfig has a 64bit special | ||
14 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o | ||
15 | |||
16 | obj-$(CONFIG_NUMA) += k8-bus_64.o | ||
17 | |||
diff --git a/arch/i386/pci/acpi.c b/arch/x86/pci/acpi.c index bc8a44bddaa7..bc8a44bddaa7 100644 --- a/arch/i386/pci/acpi.c +++ b/arch/x86/pci/acpi.c | |||
diff --git a/arch/i386/pci/common.c b/arch/x86/pci/common.c index ebc6f3c66340..ebc6f3c66340 100644 --- a/arch/i386/pci/common.c +++ b/arch/x86/pci/common.c | |||
diff --git a/arch/i386/pci/direct.c b/arch/x86/pci/direct.c index 431c9a51b157..431c9a51b157 100644 --- a/arch/i386/pci/direct.c +++ b/arch/x86/pci/direct.c | |||
diff --git a/arch/i386/pci/early.c b/arch/x86/pci/early.c index 42df4b6606df..42df4b6606df 100644 --- a/arch/i386/pci/early.c +++ b/arch/x86/pci/early.c | |||
diff --git a/arch/i386/pci/fixup.c b/arch/x86/pci/fixup.c index c82cbf4c7226..c82cbf4c7226 100644 --- a/arch/i386/pci/fixup.c +++ b/arch/x86/pci/fixup.c | |||
diff --git a/arch/i386/pci/i386.c b/arch/x86/pci/i386.c index bcd2f94b732c..bcd2f94b732c 100644 --- a/arch/i386/pci/i386.c +++ b/arch/x86/pci/i386.c | |||
diff --git a/arch/i386/pci/init.c b/arch/x86/pci/init.c index 3de9f9ba2da6..3de9f9ba2da6 100644 --- a/arch/i386/pci/init.c +++ b/arch/x86/pci/init.c | |||
diff --git a/arch/i386/pci/irq.c b/arch/x86/pci/irq.c index 8434f2323b87..8434f2323b87 100644 --- a/arch/i386/pci/irq.c +++ b/arch/x86/pci/irq.c | |||
diff --git a/arch/x86_64/pci/k8-bus.c b/arch/x86/pci/k8-bus_64.c index 9cc813e29706..9cc813e29706 100644 --- a/arch/x86_64/pci/k8-bus.c +++ b/arch/x86/pci/k8-bus_64.c | |||
diff --git a/arch/i386/pci/legacy.c b/arch/x86/pci/legacy.c index 5565d7016b75..5565d7016b75 100644 --- a/arch/i386/pci/legacy.c +++ b/arch/x86/pci/legacy.c | |||
diff --git a/arch/i386/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c index 4df637e34f81..4df637e34f81 100644 --- a/arch/i386/pci/mmconfig-shared.c +++ b/arch/x86/pci/mmconfig-shared.c | |||
diff --git a/arch/i386/pci/mmconfig.c b/arch/x86/pci/mmconfig_32.c index 1bf5816d34c8..1bf5816d34c8 100644 --- a/arch/i386/pci/mmconfig.c +++ b/arch/x86/pci/mmconfig_32.c | |||
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86/pci/mmconfig_64.c index 4095e4d66a1d..4095e4d66a1d 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86/pci/mmconfig_64.c | |||
diff --git a/arch/i386/pci/numa.c b/arch/x86/pci/numa.c index f5f165f69e0c..f5f165f69e0c 100644 --- a/arch/i386/pci/numa.c +++ b/arch/x86/pci/numa.c | |||
diff --git a/arch/i386/pci/pcbios.c b/arch/x86/pci/pcbios.c index 10ac8c316c46..10ac8c316c46 100644 --- a/arch/i386/pci/pcbios.c +++ b/arch/x86/pci/pcbios.c | |||
diff --git a/arch/i386/pci/pci.h b/arch/x86/pci/pci.h index 8c66f275756f..8c66f275756f 100644 --- a/arch/i386/pci/pci.h +++ b/arch/x86/pci/pci.h | |||
diff --git a/arch/i386/pci/visws.c b/arch/x86/pci/visws.c index 8ecb1c722594..8ecb1c722594 100644 --- a/arch/i386/pci/visws.c +++ b/arch/x86/pci/visws.c | |||
diff --git a/arch/i386/power/Makefile b/arch/x86/power/Makefile index d764ec950065..d764ec950065 100644 --- a/arch/i386/power/Makefile +++ b/arch/x86/power/Makefile | |||
diff --git a/arch/i386/power/cpu.c b/arch/x86/power/cpu.c index 998fd3ec0d68..998fd3ec0d68 100644 --- a/arch/i386/power/cpu.c +++ b/arch/x86/power/cpu.c | |||
diff --git a/arch/i386/power/suspend.c b/arch/x86/power/suspend.c index a0020b913f31..a0020b913f31 100644 --- a/arch/i386/power/suspend.c +++ b/arch/x86/power/suspend.c | |||
diff --git a/arch/i386/power/swsusp.S b/arch/x86/power/swsusp.S index 53662e05b393..53662e05b393 100644 --- a/arch/i386/power/swsusp.S +++ b/arch/x86/power/swsusp.S | |||
diff --git a/arch/x86_64/vdso/.gitignore b/arch/x86/vdso/.gitignore index f8b69d84238e..f8b69d84238e 100644 --- a/arch/x86_64/vdso/.gitignore +++ b/arch/x86/vdso/.gitignore | |||
diff --git a/arch/x86_64/vdso/Makefile b/arch/x86/vdso/Makefile index 8d03de029d9b..8d03de029d9b 100644 --- a/arch/x86_64/vdso/Makefile +++ b/arch/x86/vdso/Makefile | |||
diff --git a/arch/x86_64/vdso/vclock_gettime.c b/arch/x86/vdso/vclock_gettime.c index 5b54cdfb2b07..5b54cdfb2b07 100644 --- a/arch/x86_64/vdso/vclock_gettime.c +++ b/arch/x86/vdso/vclock_gettime.c | |||
diff --git a/arch/x86_64/vdso/vdso-note.S b/arch/x86/vdso/vdso-note.S index 79a071e4357e..79a071e4357e 100644 --- a/arch/x86_64/vdso/vdso-note.S +++ b/arch/x86/vdso/vdso-note.S | |||
diff --git a/arch/x86_64/vdso/vdso-start.S b/arch/x86/vdso/vdso-start.S index 2dc2cdb84d67..2dc2cdb84d67 100644 --- a/arch/x86_64/vdso/vdso-start.S +++ b/arch/x86/vdso/vdso-start.S | |||
diff --git a/arch/x86/vdso/vdso.S b/arch/x86/vdso/vdso.S new file mode 100644 index 000000000000..4b1620a1529e --- /dev/null +++ b/arch/x86/vdso/vdso.S | |||
@@ -0,0 +1,2 @@ | |||
1 | .section ".vdso","a" | ||
2 | .incbin "arch/x86/vdso/vdso.so" | ||
diff --git a/arch/x86_64/vdso/vdso.lds.S b/arch/x86/vdso/vdso.lds.S index b9a60e665d08..b9a60e665d08 100644 --- a/arch/x86_64/vdso/vdso.lds.S +++ b/arch/x86/vdso/vdso.lds.S | |||
diff --git a/arch/x86_64/vdso/vextern.h b/arch/x86/vdso/vextern.h index 1683ba2ae3e8..1683ba2ae3e8 100644 --- a/arch/x86_64/vdso/vextern.h +++ b/arch/x86/vdso/vextern.h | |||
diff --git a/arch/x86_64/vdso/vgetcpu.c b/arch/x86/vdso/vgetcpu.c index 91f6e85d0fc2..91f6e85d0fc2 100644 --- a/arch/x86_64/vdso/vgetcpu.c +++ b/arch/x86/vdso/vgetcpu.c | |||
diff --git a/arch/x86_64/vdso/vma.c b/arch/x86/vdso/vma.c index ff9333e5fb08..ff9333e5fb08 100644 --- a/arch/x86_64/vdso/vma.c +++ b/arch/x86/vdso/vma.c | |||
diff --git a/arch/x86_64/vdso/voffset.h b/arch/x86/vdso/voffset.h index 4af67c79085f..4af67c79085f 100644 --- a/arch/x86_64/vdso/voffset.h +++ b/arch/x86/vdso/voffset.h | |||
diff --git a/arch/x86_64/vdso/vvar.c b/arch/x86/vdso/vvar.c index 6fc22219a472..6fc22219a472 100644 --- a/arch/x86_64/vdso/vvar.c +++ b/arch/x86/vdso/vvar.c | |||
diff --git a/arch/i386/video/Makefile b/arch/x86/video/Makefile index 2c447c94adcc..2c447c94adcc 100644 --- a/arch/i386/video/Makefile +++ b/arch/x86/video/Makefile | |||
diff --git a/arch/i386/video/fbdev.c b/arch/x86/video/fbdev.c index 48fb38d7d2c0..48fb38d7d2c0 100644 --- a/arch/i386/video/fbdev.c +++ b/arch/x86/video/fbdev.c | |||
diff --git a/arch/i386/xen/Kconfig b/arch/x86/xen/Kconfig index 9df99e1885a4..9df99e1885a4 100644 --- a/arch/i386/xen/Kconfig +++ b/arch/x86/xen/Kconfig | |||
diff --git a/arch/i386/xen/Makefile b/arch/x86/xen/Makefile index 343df246bd3e..343df246bd3e 100644 --- a/arch/i386/xen/Makefile +++ b/arch/x86/xen/Makefile | |||
diff --git a/arch/i386/xen/enlighten.c b/arch/x86/xen/enlighten.c index f01bfcd4bdee..f01bfcd4bdee 100644 --- a/arch/i386/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
diff --git a/arch/i386/xen/events.c b/arch/x86/xen/events.c index da1b173547a1..da1b173547a1 100644 --- a/arch/i386/xen/events.c +++ b/arch/x86/xen/events.c | |||
diff --git a/arch/i386/xen/features.c b/arch/x86/xen/features.c index 0707714e40d6..0707714e40d6 100644 --- a/arch/i386/xen/features.c +++ b/arch/x86/xen/features.c | |||
diff --git a/arch/i386/xen/manage.c b/arch/x86/xen/manage.c index aa7af9e6abc0..aa7af9e6abc0 100644 --- a/arch/i386/xen/manage.c +++ b/arch/x86/xen/manage.c | |||
diff --git a/arch/i386/xen/mmu.c b/arch/x86/xen/mmu.c index 874db0cd1d2a..874db0cd1d2a 100644 --- a/arch/i386/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
diff --git a/arch/i386/xen/mmu.h b/arch/x86/xen/mmu.h index c9ff27f3ac3a..c9ff27f3ac3a 100644 --- a/arch/i386/xen/mmu.h +++ b/arch/x86/xen/mmu.h | |||
diff --git a/arch/i386/xen/multicalls.c b/arch/x86/xen/multicalls.c index c837e8e463db..c837e8e463db 100644 --- a/arch/i386/xen/multicalls.c +++ b/arch/x86/xen/multicalls.c | |||
diff --git a/arch/i386/xen/multicalls.h b/arch/x86/xen/multicalls.h index e6f7530b156c..e6f7530b156c 100644 --- a/arch/i386/xen/multicalls.h +++ b/arch/x86/xen/multicalls.h | |||
diff --git a/arch/i386/xen/setup.c b/arch/x86/xen/setup.c index f84e77226646..f84e77226646 100644 --- a/arch/i386/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
diff --git a/arch/i386/xen/smp.c b/arch/x86/xen/smp.c index 557b8e24706a..557b8e24706a 100644 --- a/arch/i386/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
diff --git a/arch/i386/xen/time.c b/arch/x86/xen/time.c index dfd6db69ead5..dfd6db69ead5 100644 --- a/arch/i386/xen/time.c +++ b/arch/x86/xen/time.c | |||
diff --git a/arch/i386/xen/vdso.h b/arch/x86/xen/vdso.h index 861fedfe5230..861fedfe5230 100644 --- a/arch/i386/xen/vdso.h +++ b/arch/x86/xen/vdso.h | |||
diff --git a/arch/i386/xen/xen-asm.S b/arch/x86/xen/xen-asm.S index 1a43b60c0c62..1a43b60c0c62 100644 --- a/arch/i386/xen/xen-asm.S +++ b/arch/x86/xen/xen-asm.S | |||
diff --git a/arch/i386/xen/xen-head.S b/arch/x86/xen/xen-head.S index f8d6937db2ec..f8d6937db2ec 100644 --- a/arch/i386/xen/xen-head.S +++ b/arch/x86/xen/xen-head.S | |||
diff --git a/arch/i386/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index b9aaea45f07f..b9aaea45f07f 100644 --- a/arch/i386/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h | |||
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index b4d9089a6a06..b1b98e614f7c 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -704,7 +704,7 @@ source kernel/power/Kconfig | |||
704 | 704 | ||
705 | source "drivers/acpi/Kconfig" | 705 | source "drivers/acpi/Kconfig" |
706 | 706 | ||
707 | source "arch/x86_64/kernel/cpufreq/Kconfig" | 707 | source "arch/x86/kernel/cpufreq/Kconfig" |
708 | 708 | ||
709 | endmenu | 709 | endmenu |
710 | 710 | ||
@@ -778,7 +778,7 @@ source fs/Kconfig | |||
778 | menu "Instrumentation Support" | 778 | menu "Instrumentation Support" |
779 | depends on EXPERIMENTAL | 779 | depends on EXPERIMENTAL |
780 | 780 | ||
781 | source "arch/x86_64/oprofile/Kconfig" | 781 | source "arch/x86/oprofile/Kconfig" |
782 | 782 | ||
783 | config KPROBES | 783 | config KPROBES |
784 | bool "Kprobes" | 784 | bool "Kprobes" |
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index b024e4a86895..8bffb94c71b5 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -21,6 +21,9 @@ | |||
21 | # | 21 | # |
22 | # $Id: Makefile,v 1.31 2002/03/22 15:56:07 ak Exp $ | 22 | # $Id: Makefile,v 1.31 2002/03/22 15:56:07 ak Exp $ |
23 | 23 | ||
24 | # Fill in SRCARCH | ||
25 | SRCARCH := x86 | ||
26 | |||
24 | LDFLAGS := -m elf_x86_64 | 27 | LDFLAGS := -m elf_x86_64 |
25 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 28 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
26 | LDFLAGS_vmlinux := | 29 | LDFLAGS_vmlinux := |
@@ -71,18 +74,18 @@ CFLAGS += $(cflags-y) | |||
71 | CFLAGS_KERNEL += $(cflags-kernel-y) | 74 | CFLAGS_KERNEL += $(cflags-kernel-y) |
72 | AFLAGS += -m64 | 75 | AFLAGS += -m64 |
73 | 76 | ||
74 | head-y := arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o | 77 | head-y := arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/init_task_64.o |
75 | 78 | ||
76 | libs-y += arch/x86_64/lib/ | 79 | libs-y += arch/x86/lib/ |
77 | core-y += arch/x86_64/kernel/ \ | 80 | core-y += arch/x86/kernel/ \ |
78 | arch/x86_64/mm/ \ | 81 | arch/x86/mm/ \ |
79 | arch/x86_64/crypto/ \ | 82 | arch/x86/crypto/ \ |
80 | arch/x86_64/vdso/ | 83 | arch/x86/vdso/ |
81 | core-$(CONFIG_IA32_EMULATION) += arch/x86_64/ia32/ | 84 | core-$(CONFIG_IA32_EMULATION) += arch/x86/ia32/ |
82 | drivers-$(CONFIG_PCI) += arch/x86_64/pci/ | 85 | drivers-$(CONFIG_PCI) += arch/x86/pci/ |
83 | drivers-$(CONFIG_OPROFILE) += arch/x86_64/oprofile/ | 86 | drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/ |
84 | 87 | ||
85 | boot := arch/x86_64/boot | 88 | boot := arch/x86/boot |
86 | 89 | ||
87 | PHONY += bzImage bzlilo install archmrproper \ | 90 | PHONY += bzImage bzlilo install archmrproper \ |
88 | fdimage fdimage144 fdimage288 isoimage archclean | 91 | fdimage fdimage144 fdimage288 isoimage archclean |
@@ -90,10 +93,12 @@ PHONY += bzImage bzlilo install archmrproper \ | |||
90 | #Default target when executing "make" | 93 | #Default target when executing "make" |
91 | all: bzImage | 94 | all: bzImage |
92 | 95 | ||
93 | BOOTIMAGE := arch/x86_64/boot/bzImage | 96 | BOOTIMAGE := arch/x86/boot/bzImage |
94 | KBUILD_IMAGE := $(BOOTIMAGE) | 97 | KBUILD_IMAGE := $(BOOTIMAGE) |
95 | 98 | ||
96 | bzImage: vmlinux | 99 | bzImage: vmlinux |
100 | $(Q)mkdir -p $(objtree)/arch/x86_64/boot | ||
101 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage | ||
97 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) | 102 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) |
98 | 103 | ||
99 | bzlilo: vmlinux | 104 | bzlilo: vmlinux |
@@ -109,6 +114,7 @@ install: | |||
109 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@ | 114 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@ |
110 | 115 | ||
111 | archclean: | 116 | archclean: |
117 | $(Q)rm -rf $(objtree)/arch/x86_64/boot | ||
112 | $(Q)$(MAKE) $(clean)=$(boot) | 118 | $(Q)$(MAKE) $(clean)=$(boot) |
113 | 119 | ||
114 | define archhelp | 120 | define archhelp |
diff --git a/arch/x86_64/boot/.gitignore b/arch/x86_64/boot/.gitignore deleted file mode 100644 index 18465143cfa2..000000000000 --- a/arch/x86_64/boot/.gitignore +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | bootsect | ||
2 | bzImage | ||
3 | setup | ||
4 | setup.bin | ||
5 | setup.elf | ||
diff --git a/arch/x86_64/boot/Makefile b/arch/x86_64/boot/Makefile deleted file mode 100644 index 67096389de1f..000000000000 --- a/arch/x86_64/boot/Makefile +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # | ||
2 | # arch/x86_64/boot/Makefile | ||
3 | # | ||
4 | # The actual boot code is shared with i386 including the Makefile. | ||
5 | # So tell kbuild that we fetch the code from i386 and include the | ||
6 | # Makefile from i386 too. | ||
7 | |||
8 | src := arch/i386/boot | ||
9 | include $(src)/Makefile | ||
diff --git a/arch/x86_64/boot/tools/.gitignore b/arch/x86_64/boot/tools/.gitignore deleted file mode 100644 index 378eac25d311..000000000000 --- a/arch/x86_64/boot/tools/.gitignore +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | build | ||
diff --git a/arch/x86_64/kernel/Makefile b/arch/x86_64/kernel/Makefile deleted file mode 100644 index ff5d8c9b96d9..000000000000 --- a/arch/x86_64/kernel/Makefile +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux kernel. | ||
3 | # | ||
4 | |||
5 | extra-y := head.o head64.o init_task.o vmlinux.lds | ||
6 | EXTRA_AFLAGS := -traditional | ||
7 | obj-y := process.o signal.o entry.o traps.o irq.o \ | ||
8 | ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \ | ||
9 | x8664_ksyms.o i387.o syscall.o vsyscall.o \ | ||
10 | setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o \ | ||
11 | pci-dma.o pci-nommu.o alternative.o hpet.o tsc.o bugs.o \ | ||
12 | perfctr-watchdog.o | ||
13 | |||
14 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | ||
15 | obj-$(CONFIG_X86_MCE) += mce.o therm_throt.o | ||
16 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o | ||
17 | obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o | ||
18 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ | ||
19 | obj-$(CONFIG_ACPI) += acpi/ | ||
20 | obj-$(CONFIG_X86_MSR) += msr.o | ||
21 | obj-$(CONFIG_MICROCODE) += microcode.o | ||
22 | obj-$(CONFIG_X86_CPUID) += cpuid.o | ||
23 | obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o tsc_sync.o | ||
24 | obj-y += apic.o nmi.o | ||
25 | obj-y += io_apic.o mpparse.o genapic.o genapic_flat.o | ||
26 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o | ||
27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | ||
28 | obj-$(CONFIG_PM) += suspend.o | ||
29 | obj-$(CONFIG_HIBERNATION) += suspend_asm.o | ||
30 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | ||
31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
32 | obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o | ||
33 | obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary.o tce.o | ||
34 | obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o | ||
35 | obj-$(CONFIG_KPROBES) += kprobes.o | ||
36 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o | ||
37 | obj-$(CONFIG_X86_VSMP) += vsmp.o | ||
38 | obj-$(CONFIG_K8_NB) += k8.o | ||
39 | obj-$(CONFIG_AUDIT) += audit.o | ||
40 | |||
41 | obj-$(CONFIG_MODULES) += module.o | ||
42 | obj-$(CONFIG_PCI) += early-quirks.o | ||
43 | |||
44 | obj-y += topology.o | ||
45 | obj-y += intel_cacheinfo.o | ||
46 | obj-y += addon_cpuid_features.o | ||
47 | obj-y += pcspeaker.o | ||
48 | |||
49 | CFLAGS_vsyscall.o := $(PROFILING) -g0 | ||
50 | |||
51 | therm_throt-y += ../../i386/kernel/cpu/mcheck/therm_throt.o | ||
52 | bootflag-y += ../../i386/kernel/bootflag.o | ||
53 | cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o | ||
54 | topology-y += ../../i386/kernel/topology.o | ||
55 | microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o | ||
56 | intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o | ||
57 | addon_cpuid_features-y += ../../i386/kernel/cpu/addon_cpuid_features.o | ||
58 | quirks-y += ../../i386/kernel/quirks.o | ||
59 | i8237-y += ../../i386/kernel/i8237.o | ||
60 | msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o | ||
61 | alternative-y += ../../i386/kernel/alternative.o | ||
62 | pcspeaker-y += ../../i386/kernel/pcspeaker.o | ||
63 | perfctr-watchdog-y += ../../i386/kernel/cpu/perfctr-watchdog.o | ||
diff --git a/arch/x86_64/kernel/acpi/Makefile b/arch/x86_64/kernel/acpi/Makefile deleted file mode 100644 index 080b9963f1bc..000000000000 --- a/arch/x86_64/kernel/acpi/Makefile +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | obj-y := boot.o | ||
2 | boot-y := ../../../i386/kernel/acpi/boot.o | ||
3 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o | ||
4 | |||
5 | ifneq ($(CONFIG_ACPI_PROCESSOR),) | ||
6 | obj-y += processor.o | ||
7 | processor-y := ../../../i386/kernel/acpi/processor.o ../../../i386/kernel/acpi/cstate.o | ||
8 | endif | ||
9 | |||
diff --git a/arch/x86_64/kernel/cpufreq/Makefile b/arch/x86_64/kernel/cpufreq/Makefile deleted file mode 100644 index 753ce1dd418e..000000000000 --- a/arch/x86_64/kernel/cpufreq/Makefile +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # | ||
2 | # Reuse the i386 cpufreq drivers | ||
3 | # | ||
4 | |||
5 | SRCDIR := ../../../i386/kernel/cpu/cpufreq | ||
6 | |||
7 | obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o | ||
8 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o | ||
9 | obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o | ||
10 | obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o | ||
11 | obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o | ||
12 | |||
13 | powernow-k8-objs := ${SRCDIR}/powernow-k8.o | ||
14 | speedstep-centrino-objs := ${SRCDIR}/speedstep-centrino.o | ||
15 | acpi-cpufreq-objs := ${SRCDIR}/acpi-cpufreq.o | ||
16 | p4-clockmod-objs := ${SRCDIR}/p4-clockmod.o | ||
17 | speedstep-lib-objs := ${SRCDIR}/speedstep-lib.o | ||
diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile deleted file mode 100644 index c94327178398..000000000000 --- a/arch/x86_64/lib/Makefile +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for x86_64-specific library files. | ||
3 | # | ||
4 | |||
5 | CFLAGS_csum-partial.o := -funroll-loops | ||
6 | |||
7 | obj-y := io.o iomap_copy.o | ||
8 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
9 | |||
10 | lib-y := csum-partial.o csum-copy.o csum-wrappers.o delay.o \ | ||
11 | usercopy.o getuser.o putuser.o \ | ||
12 | thunk.o clear_page.o copy_page.o bitstr.o bitops.o | ||
13 | lib-y += memcpy.o memmove.o memset.o copy_user.o rwlock.o copy_user_nocache.o | ||
diff --git a/arch/x86_64/lib/msr-on-cpu.c b/arch/x86_64/lib/msr-on-cpu.c deleted file mode 100644 index 47e0ec47c376..000000000000 --- a/arch/x86_64/lib/msr-on-cpu.c +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include "../../i386/lib/msr-on-cpu.c" | ||
diff --git a/arch/x86_64/mm/Makefile b/arch/x86_64/mm/Makefile deleted file mode 100644 index d25ac86fe27a..000000000000 --- a/arch/x86_64/mm/Makefile +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the linux x86_64-specific parts of the memory manager. | ||
3 | # | ||
4 | |||
5 | obj-y := init.o fault.o ioremap.o extable.o pageattr.o mmap.o | ||
6 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o | ||
7 | obj-$(CONFIG_NUMA) += numa.o | ||
8 | obj-$(CONFIG_K8_NUMA) += k8topology.o | ||
9 | obj-$(CONFIG_ACPI_NUMA) += srat.o | ||
10 | |||
11 | hugetlbpage-y = ../../i386/mm/hugetlbpage.o | ||
diff --git a/arch/x86_64/oprofile/Kconfig b/arch/x86_64/oprofile/Kconfig deleted file mode 100644 index d8a84088471a..000000000000 --- a/arch/x86_64/oprofile/Kconfig +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | config PROFILING | ||
2 | bool "Profiling support (EXPERIMENTAL)" | ||
3 | help | ||
4 | Say Y here to enable the extended profiling support mechanisms used | ||
5 | by profilers such as OProfile. | ||
6 | |||
7 | |||
8 | config OPROFILE | ||
9 | tristate "OProfile system profiling (EXPERIMENTAL)" | ||
10 | depends on PROFILING | ||
11 | help | ||
12 | OProfile is a profiling system capable of profiling the | ||
13 | whole system, include the kernel, kernel modules, libraries, | ||
14 | and applications. | ||
15 | |||
16 | If unsure, say N. | ||
17 | |||
diff --git a/arch/x86_64/oprofile/Makefile b/arch/x86_64/oprofile/Makefile deleted file mode 100644 index 6be32683e1bc..000000000000 --- a/arch/x86_64/oprofile/Makefile +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # | ||
2 | # oprofile for x86-64. | ||
3 | # Just reuse the one from i386. | ||
4 | # | ||
5 | |||
6 | obj-$(CONFIG_OPROFILE) += oprofile.o | ||
7 | |||
8 | DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \ | ||
9 | oprof.o cpu_buffer.o buffer_sync.o \ | ||
10 | event_buffer.o oprofile_files.o \ | ||
11 | oprofilefs.o oprofile_stats.o \ | ||
12 | timer_int.o ) | ||
13 | |||
14 | OPROFILE-y := init.o backtrace.o | ||
15 | OPROFILE-$(CONFIG_X86_LOCAL_APIC) += nmi_int.o op_model_athlon.o op_model_p4.o \ | ||
16 | op_model_ppro.o | ||
17 | OPROFILE-$(CONFIG_X86_IO_APIC) += nmi_timer_int.o | ||
18 | |||
19 | oprofile-y = $(DRIVER_OBJS) $(addprefix ../../i386/oprofile/, $(OPROFILE-y)) | ||
diff --git a/arch/x86_64/pci/Makefile b/arch/x86_64/pci/Makefile deleted file mode 100644 index c9eddc8859c0..000000000000 --- a/arch/x86_64/pci/Makefile +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for X86_64 specific PCI routines | ||
3 | # | ||
4 | # Reuse the i386 PCI subsystem | ||
5 | # | ||
6 | EXTRA_CFLAGS += -Iarch/i386/pci | ||
7 | |||
8 | obj-y := i386.o | ||
9 | obj-$(CONFIG_PCI_DIRECT)+= direct.o | ||
10 | obj-y += fixup.o init.o | ||
11 | obj-$(CONFIG_ACPI) += acpi.o | ||
12 | obj-y += legacy.o irq.o common.o early.o | ||
13 | # mmconfig has a 64bit special | ||
14 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o direct.o mmconfig-shared.o | ||
15 | |||
16 | obj-$(CONFIG_NUMA) += k8-bus.o | ||
17 | |||
18 | direct-y += ../../i386/pci/direct.o | ||
19 | acpi-y += ../../i386/pci/acpi.o | ||
20 | legacy-y += ../../i386/pci/legacy.o | ||
21 | irq-y += ../../i386/pci/irq.o | ||
22 | common-y += ../../i386/pci/common.o | ||
23 | fixup-y += ../../i386/pci/fixup.o | ||
24 | i386-y += ../../i386/pci/i386.o | ||
25 | init-y += ../../i386/pci/init.o | ||
26 | early-y += ../../i386/pci/early.o | ||
27 | mmconfig-shared-y += ../../i386/pci/mmconfig-shared.o | ||
diff --git a/arch/x86_64/vdso/vdso.S b/arch/x86_64/vdso/vdso.S deleted file mode 100644 index 92e80c1972a7..000000000000 --- a/arch/x86_64/vdso/vdso.S +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | .section ".vdso","a" | ||
2 | .incbin "arch/x86_64/vdso/vdso.so" | ||