[package] add kmod-leds-net5501
[openwrt.git] / target / linux / ifxmips / patches-2.6.33 / 100-board.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -139,6 +139,9 @@ config MACH_DECSTATION
4  
5           otherwise choose R3000.
6  
7 +config IFXMIPS
8 +       bool "Infineon MIPS"
9 +
10  config MACH_JAZZ
11         bool "Jazz family of machines"
12         select ARC
13 @@ -693,6 +696,7 @@ source "arch/mips/txx9/Kconfig"
14  source "arch/mips/vr41xx/Kconfig"
15  source "arch/mips/cavium-octeon/Kconfig"
16  source "arch/mips/loongson/Kconfig"
17 +source "arch/mips/ifxmips/Kconfig"
18  
19  endmenu
20  
21 --- a/arch/mips/Makefile
22 +++ b/arch/mips/Makefile
23 @@ -317,6 +317,18 @@ cflags-$(CONFIG_MIPS_COBALT)       += -I$(srct
24  load-$(CONFIG_MIPS_COBALT)     += 0xffffffff80080000
25  
26  #
27 +# Infineon IFXMIPS
28 +#
29 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/common/
30 +cflags-$(CONFIG_IFXMIPS)   += -I$(srctree)/arch/mips/include/asm/mach-ifxmips
31 +
32 +core-$(CONFIG_IFXMIPS_DANUBE) += arch/mips/ifxmips/danube/
33 +cflags-$(CONFIG_IFXMIPS_DANUBE)   += -I$(srctree)/arch/mips/include/asm/mach-ifxmips/danube/
34 +load-$(CONFIG_IFXMIPS_DANUBE) += 0xffffffff80002000
35 +
36 +core-$(CONFIG_IFXMIPS_COMPAT) += arch/mips/ifxmips/compat/
37 +
38 +#
39  # DECstation family
40  #
41  core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
42 --- a/arch/mips/pci/Makefile
43 +++ b/arch/mips/pci/Makefile
44 @@ -55,7 +55,7 @@ obj-$(CONFIG_ZAO_CAPCELLA)    += fixup-capc
45  obj-$(CONFIG_WR_PPMC)          += fixup-wrppmc.o
46  obj-$(CONFIG_MIKROTIK_RB532)   += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
47  obj-$(CONFIG_CPU_CAVIUM_OCTEON)        += pci-octeon.o pcie-octeon.o
48 -
49 +obj-$(CONFIG_IFXMIPS)                  += pci-ifxmips.o ops-ifxmips.o
50  ifdef CONFIG_PCI_MSI
51  obj-$(CONFIG_CPU_CAVIUM_OCTEON)        += msi-octeon.o
52  endif