add initial 2.6.28 support for brcm47xx target
[openwrt.git] / target / linux / ifxmips / patches / 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 @@ -697,6 +714,7 @@ source "arch/mips/sibyte/Kconfig"
28 source "arch/mips/tx4927/Kconfig"
29 source "arch/mips/tx4938/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 @@ -94,6 +94,12 @@
54 #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
55 #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
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 @@ -48,3 +48,4 @@ obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-
69 obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
70 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
71 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
72 +obj-$(CONFIG_IFXMIPS) += pci-ifxmips.o ops-ifxmips.o
This page took 0.054781 seconds and 5 git commands to generate.