[brcm63xx] add a profile with no Wi-Fi drivers enabled, useful for bcm6338
[openwrt.git] / target / linux / ifxmips / patches-2.6.27 / 100-board.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -78,6 +78,23 @@ config MIPS_COBALT
4 select SYS_SUPPORTS_LITTLE_ENDIAN
5 select GENERIC_HARDIRQS_NO__DO_IRQ
6
7 +config IFXMIPS
8 + bool "Infineon Twinpass, Danube, Amazon-SE"
9 + select DMA_NONCOHERENT
10 + select IRQ_CPU
11 + select CEVT_R4K
12 + select CSRC_R4K
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select SYS_HAS_CPU_MIPS32_R2
15 + select HAVE_STD_PC_SERIAL_PORT
16 + select SYS_SUPPORTS_BIG_ENDIAN
17 + select SYS_SUPPORTS_32BIT_KERNEL
18 + select SYS_SUPPORTS_MULTITHREADING
19 + select SYS_HAS_EARLY_PRINTK
20 + select HW_HAS_PCI
21 + select GENERIC_GPIO
22 + select SWAP_IO_SPACE
23 +
24 config MACH_DECSTATION
25 bool "DECstations"
26 select BOOT_ELF32
27 @@ -607,6 +624,7 @@ source "arch/mips/sgi-ip27/Kconfig"
28 source "arch/mips/sibyte/Kconfig"
29 source "arch/mips/txx9/Kconfig"
30 source "arch/mips/vr41xx/Kconfig"
31 +source "arch/mips/ifxmips/Kconfig"
32
33 endmenu
34
35 --- a/arch/mips/Makefile
36 +++ b/arch/mips/Makefile
37 @@ -283,6 +283,13 @@ cflags-$(CONFIG_MIPS_COBALT) += -Iinclud
38 load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
39
40 #
41 +# Infineon IFXMIPS
42 +#
43 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
44 +cflags-$(CONFIG_IFXMIPS) += -Iinclude/asm-mips/mach-ifxmips
45 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
46 +
47 +#
48 # DECstation family
49 #
50 core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
51 --- a/include/asm-mips/bootinfo.h
52 +++ b/include/asm-mips/bootinfo.h
53 @@ -57,6 +57,12 @@
54 #define MACH_MIKROTIK_RB532 0 /* Mikrotik RouterBoard 532 */
55 #define MACH_MIKROTIK_RB532A 1 /* Mikrotik RouterBoard 532A */
56
57 +/*
58 + * Valid machtype for group IFXMIPS
59 + */
60 +#define MACH_GROUP_IFXMIPS 29
61 +#define MACH_INFINEON_IFXMIPS 0
62 +
63 #define CL_SIZE COMMAND_LINE_SIZE
64
65 extern char *system_type;
66 --- a/arch/mips/pci/Makefile
67 +++ b/arch/mips/pci/Makefile
68 @@ -51,3 +51,4 @@ obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc
69 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
70 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
71 obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
72 +obj-$(CONFIG_IFXMIPS) += pci-ifxmips.o ops-ifxmips.o
This page took 0.045197 seconds and 5 git commands to generate.