[ramips] fix GPIOLIB support
[openwrt.git] / target / linux / ramips / patches-2.6.30 / 100-mips-ralink-core.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -603,6 +603,26 @@
4 load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
5 endif
6
7 +#
8 +# Ralink SoC common stuff
9 +#
10 +core-$(CONFIG_MIPS_RALINK) += arch/mips/ralink/common/
11 +cflags-$(CONFIG_MIPS_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
12 +
13 +#
14 +# Ralink RT288x
15 +#
16 +core-$(CONFIG_RALINK_RT288X) += arch/mips/ralink/rt288x/
17 +cflags-$(CONFIG_RALINK_RT288X) += -I$(srctree)//arch/mips/include/asm/mach-ralink/rt305x
18 +load-$(CONFIG_RALINK_RT288X) += 0xffffffff88000000
19 +
20 +#
21 +# Ralink RT305x
22 +#
23 +core-$(CONFIG_RALINK_RT305X) += arch/mips/ralink/rt305x/
24 +cflags-$(CONFIG_RALINK_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
25 +load-$(CONFIG_RALINK_RT305X) += 0xffffffff80000000
26 +
27 # temporary until string.h is fixed
28 cflags-y += -ffreestanding
29
30 --- a/arch/mips/Kconfig
31 +++ b/arch/mips/Kconfig
32 @@ -22,6 +22,9 @@
33 config MACH_ALCHEMY
34 bool "Alchemy processor based machines"
35
36 +config MIPS_RALINK
37 + bool "Ralink MIPS SoC based boards"
38 +
39 config BASLER_EXCITE
40 bool "Basler eXcite smart camera"
41 select CEVT_R4K
42 @@ -638,6 +641,7 @@
43 source "arch/mips/jazz/Kconfig"
44 source "arch/mips/lasat/Kconfig"
45 source "arch/mips/pmc-sierra/Kconfig"
46 +source "arch/mips/ralink/Kconfig"
47 source "arch/mips/sgi-ip27/Kconfig"
48 source "arch/mips/sibyte/Kconfig"
49 source "arch/mips/txx9/Kconfig"
This page took 0.044534 seconds and 5 git commands to generate.