Skip to content

Commit d674806

Browse files
committed
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (37 commits) MIPS: O32: Provide definition of registers ta0 .. ta3. MIPS: perf: Add Octeon support for hardware perf. MIPS: perf: Add support for 64-bit perf counters. MIPS: perf: Reorganize contents of perf support files. MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c MIPS: Add accessor macros for 64-bit performance counter registers. MIPS: Add probes for more Octeon II CPUs. MIPS: Add more CPU identifiers for Octeon II CPUs. MIPS: XLR, XLS: Add comment for smp setup MIPS: JZ4740: GPIO: Check correct IRQ in demux handler MIPS: JZ4740: GPIO: Simplify IRQ demuxer MIPS: JZ4740: Use generic irq chip MIPS: Alchemy: remove all CONFIG_SOC_AU1??? defines MIPS: Alchemy: kill au1xxx.h header MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep MIPS: Alchemy: Redo PCI as platform driver MIPS: Alchemy: more base address cleanup MIPS: Alchemy: rewrite USB platform setup. MIPS: Alchemy: abstract USB block control register access ... Fix up trivial conflicts in: arch/mips/alchemy/devboards/db1x00/platform.c drivers/ide/Kconfig drivers/mmc/host/au1xmmc.c drivers/video/Kconfig sound/mips/Kconfig
2 parents f04c045 + 3ba1e54 commit d674806

94 files changed

Lines changed: 3555 additions & 3121 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎arch/mips/Kconfig‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ config MIPS_ALCHEMY
4747
select GENERIC_GPIO
4848
select ARCH_WANT_OPTIONAL_GPIOLIB
4949
select SYS_SUPPORTS_ZBOOT
50+
select USB_ARCH_HAS_OHCI
51+
select USB_ARCH_HAS_EHCI
5052

5153
config AR7
5254
bool "Texas Instruments AR7"
@@ -206,6 +208,7 @@ config MACH_JZ4740
206208
select SYS_HAS_EARLY_PRINTK
207209
select HAVE_PWM
208210
select HAVE_CLK
211+
select GENERIC_IRQ_CHIP
209212

210213
config LANTIQ
211214
bool "Lantiq based platforms"
@@ -2092,7 +2095,7 @@ config NODES_SHIFT
20922095

20932096
config HW_PERF_EVENTS
20942097
bool "Enable hardware performance counter support for perf events"
2095-
depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
2098+
depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON)
20962099
default y
20972100
help
20982101
Enable hardware performance counter support for perf events. If

‎arch/mips/Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ LDFLAGS += -m $(ld-emul)
226226
ifdef CONFIG_MIPS
227227
CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -xc /dev/null | \
228228
egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \
229-
sed -e 's/^\#define /-D/' -e "s/ /='/" -e "s/$$/'/")
229+
sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/")
230230
ifdef CONFIG_64BIT
231231
CHECKFLAGS += -m64
232232
endif
@@ -295,7 +295,9 @@ endif
295295

296296
install:
297297
$(Q)install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE)
298+
ifdef CONFIG_SYS_SUPPORTS_ZBOOT
298299
$(Q)install -D -m 755 vmlinuz $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE)
300+
endif
299301
$(Q)install -D -m 644 .config $(INSTALL_PATH)/config-$(KERNELRELEASE)
300302
$(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE)
301303

‎arch/mips/alchemy/Kconfig‎

Lines changed: 15 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,43 @@ config MIPS_MTX1
1818
bool "4G Systems MTX-1 board"
1919
select DMA_NONCOHERENT
2020
select HW_HAS_PCI
21-
select SOC_AU1500
21+
select ALCHEMY_GPIOINT_AU1000
2222
select SYS_SUPPORTS_LITTLE_ENDIAN
2323
select SYS_HAS_EARLY_PRINTK
2424

2525
config MIPS_BOSPORUS
2626
bool "Alchemy Bosporus board"
27-
select SOC_AU1500
27+
select ALCHEMY_GPIOINT_AU1000
2828
select DMA_NONCOHERENT
2929
select SYS_SUPPORTS_LITTLE_ENDIAN
3030
select SYS_HAS_EARLY_PRINTK
3131

3232
config MIPS_DB1000
3333
bool "Alchemy DB1000 board"
34-
select SOC_AU1000
34+
select ALCHEMY_GPIOINT_AU1000
3535
select DMA_NONCOHERENT
3636
select HW_HAS_PCI
3737
select SYS_SUPPORTS_LITTLE_ENDIAN
3838
select SYS_HAS_EARLY_PRINTK
3939

4040
config MIPS_DB1100
4141
bool "Alchemy DB1100 board"
42-
select SOC_AU1100
42+
select ALCHEMY_GPIOINT_AU1000
4343
select DMA_NONCOHERENT
4444
select SYS_SUPPORTS_LITTLE_ENDIAN
4545
select SYS_HAS_EARLY_PRINTK
4646

4747
config MIPS_DB1200
4848
bool "Alchemy DB1200 board"
49-
select SOC_AU1200
49+
select ALCHEMY_GPIOINT_AU1000
5050
select DMA_COHERENT
5151
select MIPS_DISABLE_OBSOLETE_IDE
5252
select SYS_SUPPORTS_LITTLE_ENDIAN
5353
select SYS_HAS_EARLY_PRINTK
5454

5555
config MIPS_DB1500
5656
bool "Alchemy DB1500 board"
57-
select SOC_AU1500
57+
select ALCHEMY_GPIOINT_AU1000
5858
select DMA_NONCOHERENT
5959
select HW_HAS_PCI
6060
select MIPS_DISABLE_OBSOLETE_IDE
@@ -64,7 +64,7 @@ config MIPS_DB1500
6464

6565
config MIPS_DB1550
6666
bool "Alchemy DB1550 board"
67-
select SOC_AU1550
67+
select ALCHEMY_GPIOINT_AU1000
6868
select HW_HAS_PCI
6969
select DMA_NONCOHERENT
7070
select MIPS_DISABLE_OBSOLETE_IDE
@@ -74,13 +74,13 @@ config MIPS_DB1550
7474
config MIPS_MIRAGE
7575
bool "Alchemy Mirage board"
7676
select DMA_NONCOHERENT
77-
select SOC_AU1500
77+
select ALCHEMY_GPIOINT_AU1000
7878
select SYS_SUPPORTS_LITTLE_ENDIAN
7979
select SYS_HAS_EARLY_PRINTK
8080

8181
config MIPS_PB1000
8282
bool "Alchemy PB1000 board"
83-
select SOC_AU1000
83+
select ALCHEMY_GPIOINT_AU1000
8484
select DMA_NONCOHERENT
8585
select HW_HAS_PCI
8686
select SWAP_IO_SPACE
@@ -89,7 +89,7 @@ config MIPS_PB1000
8989

9090
config MIPS_PB1100
9191
bool "Alchemy PB1100 board"
92-
select SOC_AU1100
92+
select ALCHEMY_GPIOINT_AU1000
9393
select DMA_NONCOHERENT
9494
select HW_HAS_PCI
9595
select SWAP_IO_SPACE
@@ -98,23 +98,23 @@ config MIPS_PB1100
9898

9999
config MIPS_PB1200
100100
bool "Alchemy PB1200 board"
101-
select SOC_AU1200
101+
select ALCHEMY_GPIOINT_AU1000
102102
select DMA_NONCOHERENT
103103
select MIPS_DISABLE_OBSOLETE_IDE
104104
select SYS_SUPPORTS_LITTLE_ENDIAN
105105
select SYS_HAS_EARLY_PRINTK
106106

107107
config MIPS_PB1500
108108
bool "Alchemy PB1500 board"
109-
select SOC_AU1500
109+
select ALCHEMY_GPIOINT_AU1000
110110
select DMA_NONCOHERENT
111111
select HW_HAS_PCI
112112
select SYS_SUPPORTS_LITTLE_ENDIAN
113113
select SYS_HAS_EARLY_PRINTK
114114

115115
config MIPS_PB1550
116116
bool "Alchemy PB1550 board"
117-
select SOC_AU1550
117+
select ALCHEMY_GPIOINT_AU1000
118118
select DMA_NONCOHERENT
119119
select HW_HAS_PCI
120120
select MIPS_DISABLE_OBSOLETE_IDE
@@ -124,37 +124,17 @@ config MIPS_PB1550
124124
config MIPS_XXS1500
125125
bool "MyCable XXS1500 board"
126126
select DMA_NONCOHERENT
127-
select SOC_AU1500
127+
select ALCHEMY_GPIOINT_AU1000
128128
select SYS_SUPPORTS_LITTLE_ENDIAN
129129
select SYS_HAS_EARLY_PRINTK
130130

131131
config MIPS_GPR
132132
bool "Trapeze ITS GPR board"
133-
select SOC_AU1550
133+
select ALCHEMY_GPIOINT_AU1000
134134
select HW_HAS_PCI
135135
select DMA_NONCOHERENT
136136
select MIPS_DISABLE_OBSOLETE_IDE
137137
select SYS_SUPPORTS_LITTLE_ENDIAN
138138
select SYS_HAS_EARLY_PRINTK
139139

140140
endchoice
141-
142-
config SOC_AU1000
143-
bool
144-
select ALCHEMY_GPIOINT_AU1000
145-
146-
config SOC_AU1100
147-
bool
148-
select ALCHEMY_GPIOINT_AU1000
149-
150-
config SOC_AU1500
151-
bool
152-
select ALCHEMY_GPIOINT_AU1000
153-
154-
config SOC_AU1550
155-
bool
156-
select ALCHEMY_GPIOINT_AU1000
157-
158-
config SOC_AU1200
159-
bool
160-
select ALCHEMY_GPIOINT_AU1000

‎arch/mips/alchemy/common/Makefile‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,5 @@ obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += irq.o
1212

1313
# optional gpiolib support
1414
ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
15-
ifeq ($(CONFIG_GPIOLIB),y)
16-
obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += gpiolib-au1000.o
17-
endif
15+
obj-$(CONFIG_GPIOLIB) += gpiolib.o
1816
endif
19-
20-
obj-$(CONFIG_PCI) += pci.o

0 commit comments

Comments
 (0)