forked from Minki/linux
Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] fix48d7927bdf
[ARM] 5010/1: htc-pasic3: remove unused defines and includes [ARM] pxa: fix0e623941be
[ARM] fix lh7a40x/kev7a400 build
This commit is contained in:
commit
8fa82790fb
@ -75,10 +75,9 @@ static void kev7a400_cpld_handler (unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
u32 mask = CPLD_LATCHED_INTS;
|
||||
irq = IRQ_KEV7A400_CPLD;
|
||||
for (; mask; mask >>= 1, ++irq) {
|
||||
for (; mask; mask >>= 1, ++irq)
|
||||
if (mask & 1)
|
||||
desc[irq].handle (irq, desc);
|
||||
}
|
||||
desc_handle_irq(irq, desc);
|
||||
}
|
||||
|
||||
void __init lh7a40x_init_board_irq (void)
|
||||
|
@ -32,6 +32,7 @@ config CPU_ARM7TDMI
|
||||
depends on !MMU
|
||||
select CPU_32v4T
|
||||
select CPU_ABRT_LV4T
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_V4
|
||||
help
|
||||
A 32-bit RISC microprocessor based on the ARM7 processor core
|
||||
@ -85,6 +86,7 @@ config CPU_ARM740T
|
||||
depends on !MMU
|
||||
select CPU_32v4T
|
||||
select CPU_ABRT_LV4T
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_V3 # although the core is v4t
|
||||
select CPU_CP15_MPU
|
||||
help
|
||||
@ -101,6 +103,7 @@ config CPU_ARM9TDMI
|
||||
depends on !MMU
|
||||
select CPU_32v4T
|
||||
select CPU_ABRT_NOMMU
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_V4
|
||||
help
|
||||
A 32-bit RISC microprocessor based on the ARM9 processor core
|
||||
@ -200,6 +203,7 @@ config CPU_ARM940T
|
||||
depends on !MMU
|
||||
select CPU_32v4T
|
||||
select CPU_ABRT_NOMMU
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_VIVT
|
||||
select CPU_CP15_MPU
|
||||
help
|
||||
@ -217,6 +221,7 @@ config CPU_ARM946E
|
||||
depends on !MMU
|
||||
select CPU_32v5
|
||||
select CPU_ABRT_NOMMU
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_VIVT
|
||||
select CPU_CP15_MPU
|
||||
help
|
||||
@ -351,6 +356,7 @@ config CPU_XSC3
|
||||
default y
|
||||
select CPU_32v5
|
||||
select CPU_ABRT_EV5T
|
||||
select CPU_PABRT_NOIFAR
|
||||
select CPU_CACHE_VIVT
|
||||
select CPU_CP15_MMU
|
||||
select CPU_TLB_V4WBI if MMU
|
||||
|
@ -471,6 +471,7 @@ arm1020_crval:
|
||||
.type arm1020_processor_functions, #object
|
||||
arm1020_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm1020_proc_init
|
||||
.word cpu_arm1020_proc_fin
|
||||
.word cpu_arm1020_reset
|
||||
@ -478,7 +479,6 @@ arm1020_processor_functions:
|
||||
.word cpu_arm1020_dcache_clean_area
|
||||
.word cpu_arm1020_switch_mm
|
||||
.word cpu_arm1020_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm1020_processor_functions, . - arm1020_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -452,6 +452,7 @@ arm1020e_crval:
|
||||
.type arm1020e_processor_functions, #object
|
||||
arm1020e_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm1020e_proc_init
|
||||
.word cpu_arm1020e_proc_fin
|
||||
.word cpu_arm1020e_reset
|
||||
@ -459,7 +460,6 @@ arm1020e_processor_functions:
|
||||
.word cpu_arm1020e_dcache_clean_area
|
||||
.word cpu_arm1020e_switch_mm
|
||||
.word cpu_arm1020e_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm1020e_processor_functions, . - arm1020e_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -435,6 +435,7 @@ arm1022_crval:
|
||||
.type arm1022_processor_functions, #object
|
||||
arm1022_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm1022_proc_init
|
||||
.word cpu_arm1022_proc_fin
|
||||
.word cpu_arm1022_reset
|
||||
@ -442,7 +443,6 @@ arm1022_processor_functions:
|
||||
.word cpu_arm1022_dcache_clean_area
|
||||
.word cpu_arm1022_switch_mm
|
||||
.word cpu_arm1022_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm1022_processor_functions, . - arm1022_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -430,6 +430,7 @@ arm1026_crval:
|
||||
.type arm1026_processor_functions, #object
|
||||
arm1026_processor_functions:
|
||||
.word v5t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm1026_proc_init
|
||||
.word cpu_arm1026_proc_fin
|
||||
.word cpu_arm1026_reset
|
||||
@ -437,7 +438,6 @@ arm1026_processor_functions:
|
||||
.word cpu_arm1026_dcache_clean_area
|
||||
.word cpu_arm1026_switch_mm
|
||||
.word cpu_arm1026_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm1026_processor_functions, . - arm1026_processor_functions
|
||||
|
||||
.section .rodata
|
||||
|
@ -293,6 +293,7 @@ __arm7_setup: mov r0, #0
|
||||
.type arm6_processor_functions, #object
|
||||
ENTRY(arm6_processor_functions)
|
||||
.word cpu_arm6_data_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm6_proc_init
|
||||
.word cpu_arm6_proc_fin
|
||||
.word cpu_arm6_reset
|
||||
@ -300,7 +301,6 @@ ENTRY(arm6_processor_functions)
|
||||
.word cpu_arm6_dcache_clean_area
|
||||
.word cpu_arm6_switch_mm
|
||||
.word cpu_arm6_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm6_processor_functions, . - arm6_processor_functions
|
||||
|
||||
/*
|
||||
@ -310,6 +310,7 @@ ENTRY(arm6_processor_functions)
|
||||
.type arm7_processor_functions, #object
|
||||
ENTRY(arm7_processor_functions)
|
||||
.word cpu_arm7_data_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm7_proc_init
|
||||
.word cpu_arm7_proc_fin
|
||||
.word cpu_arm7_reset
|
||||
@ -317,7 +318,6 @@ ENTRY(arm7_processor_functions)
|
||||
.word cpu_arm7_dcache_clean_area
|
||||
.word cpu_arm7_switch_mm
|
||||
.word cpu_arm7_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm7_processor_functions, . - arm7_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -198,6 +198,7 @@ arm720_crval:
|
||||
.type arm720_processor_functions, #object
|
||||
ENTRY(arm720_processor_functions)
|
||||
.word v4t_late_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm720_proc_init
|
||||
.word cpu_arm720_proc_fin
|
||||
.word cpu_arm720_reset
|
||||
@ -205,7 +206,6 @@ ENTRY(arm720_processor_functions)
|
||||
.word cpu_arm720_dcache_clean_area
|
||||
.word cpu_arm720_switch_mm
|
||||
.word cpu_arm720_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm720_processor_functions, . - arm720_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -126,6 +126,7 @@ __arm740_setup:
|
||||
.type arm740_processor_functions, #object
|
||||
ENTRY(arm740_processor_functions)
|
||||
.word v4t_late_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm740_proc_init
|
||||
.word cpu_arm740_proc_fin
|
||||
.word cpu_arm740_reset
|
||||
|
@ -64,6 +64,7 @@ __arm7tdmi_setup:
|
||||
.type arm7tdmi_processor_functions, #object
|
||||
ENTRY(arm7tdmi_processor_functions)
|
||||
.word v4t_late_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm7tdmi_proc_init
|
||||
.word cpu_arm7tdmi_proc_fin
|
||||
.word cpu_arm7tdmi_reset
|
||||
|
@ -417,6 +417,7 @@ arm920_crval:
|
||||
.type arm920_processor_functions, #object
|
||||
arm920_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm920_proc_init
|
||||
.word cpu_arm920_proc_fin
|
||||
.word cpu_arm920_reset
|
||||
@ -424,7 +425,6 @@ arm920_processor_functions:
|
||||
.word cpu_arm920_dcache_clean_area
|
||||
.word cpu_arm920_switch_mm
|
||||
.word cpu_arm920_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm920_processor_functions, . - arm920_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -421,6 +421,7 @@ arm922_crval:
|
||||
.type arm922_processor_functions, #object
|
||||
arm922_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm922_proc_init
|
||||
.word cpu_arm922_proc_fin
|
||||
.word cpu_arm922_reset
|
||||
@ -428,7 +429,6 @@ arm922_processor_functions:
|
||||
.word cpu_arm922_dcache_clean_area
|
||||
.word cpu_arm922_switch_mm
|
||||
.word cpu_arm922_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm922_processor_functions, . - arm922_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -484,6 +484,7 @@ arm925_crval:
|
||||
.type arm925_processor_functions, #object
|
||||
arm925_processor_functions:
|
||||
.word v4t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm925_proc_init
|
||||
.word cpu_arm925_proc_fin
|
||||
.word cpu_arm925_reset
|
||||
@ -491,7 +492,6 @@ arm925_processor_functions:
|
||||
.word cpu_arm925_dcache_clean_area
|
||||
.word cpu_arm925_switch_mm
|
||||
.word cpu_arm925_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm925_processor_functions, . - arm925_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -437,6 +437,7 @@ arm926_crval:
|
||||
.type arm926_processor_functions, #object
|
||||
arm926_processor_functions:
|
||||
.word v5tj_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm926_proc_init
|
||||
.word cpu_arm926_proc_fin
|
||||
.word cpu_arm926_reset
|
||||
@ -444,7 +445,6 @@ arm926_processor_functions:
|
||||
.word cpu_arm926_dcache_clean_area
|
||||
.word cpu_arm926_switch_mm
|
||||
.word cpu_arm926_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size arm926_processor_functions, . - arm926_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -321,6 +321,7 @@ __arm940_setup:
|
||||
.type arm940_processor_functions, #object
|
||||
ENTRY(arm940_processor_functions)
|
||||
.word nommu_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm940_proc_init
|
||||
.word cpu_arm940_proc_fin
|
||||
.word cpu_arm940_reset
|
||||
|
@ -376,6 +376,7 @@ __arm946_setup:
|
||||
.type arm946_processor_functions, #object
|
||||
ENTRY(arm946_processor_functions)
|
||||
.word nommu_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm946_proc_init
|
||||
.word cpu_arm946_proc_fin
|
||||
.word cpu_arm946_reset
|
||||
|
@ -64,6 +64,7 @@ __arm9tdmi_setup:
|
||||
.type arm9tdmi_processor_functions, #object
|
||||
ENTRY(arm9tdmi_processor_functions)
|
||||
.word nommu_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_arm9tdmi_proc_init
|
||||
.word cpu_arm9tdmi_proc_fin
|
||||
.word cpu_arm9tdmi_reset
|
||||
|
@ -423,6 +423,7 @@ feroceon_crval:
|
||||
.type feroceon_processor_functions, #object
|
||||
feroceon_processor_functions:
|
||||
.word v5t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_feroceon_proc_init
|
||||
.word cpu_feroceon_proc_fin
|
||||
.word cpu_feroceon_reset
|
||||
@ -430,7 +431,6 @@ feroceon_processor_functions:
|
||||
.word cpu_feroceon_dcache_clean_area
|
||||
.word cpu_feroceon_switch_mm
|
||||
.word cpu_feroceon_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size feroceon_processor_functions, . - feroceon_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -216,6 +216,7 @@ sa110_crval:
|
||||
.type sa110_processor_functions, #object
|
||||
ENTRY(sa110_processor_functions)
|
||||
.word v4_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_sa110_proc_init
|
||||
.word cpu_sa110_proc_fin
|
||||
.word cpu_sa110_reset
|
||||
@ -223,7 +224,6 @@ ENTRY(sa110_processor_functions)
|
||||
.word cpu_sa110_dcache_clean_area
|
||||
.word cpu_sa110_switch_mm
|
||||
.word cpu_sa110_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size sa110_processor_functions, . - sa110_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -231,6 +231,7 @@ sa1100_crval:
|
||||
.type sa1100_processor_functions, #object
|
||||
ENTRY(sa1100_processor_functions)
|
||||
.word v4_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_sa1100_proc_init
|
||||
.word cpu_sa1100_proc_fin
|
||||
.word cpu_sa1100_reset
|
||||
@ -238,7 +239,6 @@ ENTRY(sa1100_processor_functions)
|
||||
.word cpu_sa1100_dcache_clean_area
|
||||
.word cpu_sa1100_switch_mm
|
||||
.word cpu_sa1100_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size sa1100_processor_functions, . - sa1100_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -219,6 +219,7 @@ v6_crval:
|
||||
.type v6_processor_functions, #object
|
||||
ENTRY(v6_processor_functions)
|
||||
.word v6_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_v6_proc_init
|
||||
.word cpu_v6_proc_fin
|
||||
.word cpu_v6_reset
|
||||
@ -226,7 +227,6 @@ ENTRY(v6_processor_functions)
|
||||
.word cpu_v6_dcache_clean_area
|
||||
.word cpu_v6_switch_mm
|
||||
.word cpu_v6_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size v6_processor_functions, . - v6_processor_functions
|
||||
|
||||
.type cpu_arch_name, #object
|
||||
|
@ -205,6 +205,7 @@ __v7_setup_stack:
|
||||
.type v7_processor_functions, #object
|
||||
ENTRY(v7_processor_functions)
|
||||
.word v7_early_abort
|
||||
.word pabort_ifar
|
||||
.word cpu_v7_proc_init
|
||||
.word cpu_v7_proc_fin
|
||||
.word cpu_v7_reset
|
||||
@ -212,7 +213,6 @@ ENTRY(v7_processor_functions)
|
||||
.word cpu_v7_dcache_clean_area
|
||||
.word cpu_v7_switch_mm
|
||||
.word cpu_v7_set_pte_ext
|
||||
.word pabort_ifar
|
||||
.size v7_processor_functions, . - v7_processor_functions
|
||||
|
||||
.type cpu_arch_name, #object
|
||||
|
@ -450,6 +450,7 @@ xsc3_crval:
|
||||
.type xsc3_processor_functions, #object
|
||||
ENTRY(xsc3_processor_functions)
|
||||
.word v5t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_xsc3_proc_init
|
||||
.word cpu_xsc3_proc_fin
|
||||
.word cpu_xsc3_reset
|
||||
|
@ -527,6 +527,7 @@ xscale_crval:
|
||||
.type xscale_processor_functions, #object
|
||||
ENTRY(xscale_processor_functions)
|
||||
.word v5t_early_abort
|
||||
.word pabort_noifar
|
||||
.word cpu_xscale_proc_init
|
||||
.word cpu_xscale_proc_fin
|
||||
.word cpu_xscale_reset
|
||||
@ -534,7 +535,6 @@ ENTRY(xscale_processor_functions)
|
||||
.word cpu_xscale_dcache_clean_area
|
||||
.word cpu_xscale_switch_mm
|
||||
.word cpu_xscale_set_pte_ext
|
||||
.word pabort_noifar
|
||||
.size xscale_processor_functions, . - xscale_processor_functions
|
||||
|
||||
.section ".rodata"
|
||||
|
@ -19,8 +19,6 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/mfd/htc-pasic3.h>
|
||||
|
||||
#include <asm/arch/pxa-regs.h>
|
||||
|
||||
struct pasic3_data {
|
||||
void __iomem *mapping;
|
||||
unsigned int bus_shift;
|
||||
@ -30,7 +28,6 @@ struct pasic3_data {
|
||||
|
||||
#define REG_ADDR 5
|
||||
#define REG_DATA 6
|
||||
#define NUM_REGS 7
|
||||
|
||||
#define READ_MODE 0x80
|
||||
|
||||
|
@ -200,7 +200,6 @@ config PCMCIA_AU1X00
|
||||
config PCMCIA_SA1100
|
||||
tristate "SA1100 support"
|
||||
depends on ARM && ARCH_SA1100 && PCMCIA
|
||||
depends on ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL || MACH_ARMCORE
|
||||
help
|
||||
Say Y here to include support for SA11x0-based PCMCIA or CF
|
||||
sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
|
||||
@ -221,6 +220,7 @@ config PCMCIA_SA1111
|
||||
config PCMCIA_PXA2XX
|
||||
tristate "PXA2xx support"
|
||||
depends on ARM && ARCH_PXA && PCMCIA
|
||||
depends on ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL || MACH_ARMCORE
|
||||
help
|
||||
Say Y here to include support for the PXA2xx PCMCIA controller
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user