Move NAND driver from rb1xx to adm5120, rbmipsnand fixed by David Goodenough, thanks !
[openwrt.git] / target / linux / rb1xx-2.6 / patches / 001-adm5120.patch
1 diff -urN linux-2.6.19.2/arch/mips/Kconfig linux-2.6.19.2.new/arch/mips/Kconfig
2 --- linux-2.6.19.2/arch/mips/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2.new/arch/mips/Kconfig 2007-01-23 14:49:38.000000000 +0100
4 @@ -12,6 +12,18 @@
5 prompt "System type"
6 default SGI_IP22
7
8 +config MIPS_ADM5120
9 + bool "Support for ADM5120 SoC"
10 + select SYS_HAS_CPU_MIPS32_R1
11 + select DMA_NONCOHERENT
12 + select HW_HAS_PCI
13 + select SYS_SUPPORTS_LITTLE_ENDIAN
14 + select SYS_SUPPORTS_32BIT_KERNEL
15 +
16 +config PCI_ADM5120
17 + bool "Add PCI control support for ADM5120"
18 + depends on MIPS_ADM5120 && PCI
19 +
20 config MIPS_MTX1
21 bool "4G Systems MTX-1 board"
22 select DMA_NONCOHERENT
23 diff -urN linux-2.6.19.2/arch/mips/Makefile linux-2.6.19.2.new/arch/mips/Makefile
24 --- linux-2.6.19.2/arch/mips/Makefile 2007-01-23 14:02:57.000000000 +0100
25 +++ linux-2.6.19.2.new/arch/mips/Makefile 2007-01-23 14:49:39.000000000 +0100
26 @@ -165,6 +165,14 @@
27 load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000
28
29 #
30 +# ADMtek 5120
31 +#
32 +
33 +core-$(CONFIG_MIPS_ADM5120) += arch/mips/adm5120/
34 +cflags-$(CONFIG_MIPS_ADM5120) += -Iinclude/asm-mips/mach-adm5120
35 +load-$(CONFIG_MIPS_ADM5120) += 0xffffffff80101000
36 +
37 +#
38 # Common Alchemy Au1x00 stuff
39 #
40 core-$(CONFIG_SOC_AU1X00) += arch/mips/au1000/common/
41 diff -urN linux-2.6.19.2/arch/mips/pci/Makefile linux-2.6.19.2.new/arch/mips/pci/Makefile
42 --- linux-2.6.19.2/arch/mips/pci/Makefile 2007-01-10 20:10:37.000000000 +0100
43 +++ linux-2.6.19.2.new/arch/mips/pci/Makefile 2007-01-23 14:49:40.000000000 +0100
44 @@ -53,3 +53,4 @@
45 obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
46 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
47 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
48 +obj-$(CONFIG_PCI_ADM5120) += ops-adm5120.o pci-adm5120.o
49 diff -urN linux-2.6.19.2/include/asm-mips/bootinfo.h linux-2.6.19.2.new/include/asm-mips/bootinfo.h
50 --- linux-2.6.19.2/include/asm-mips/bootinfo.h 2007-01-10 20:10:37.000000000 +0100
51 +++ linux-2.6.19.2.new/include/asm-mips/bootinfo.h 2007-01-23 14:49:40.000000000 +0100
52 @@ -212,6 +212,12 @@
53 #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
54 #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
55
56 +/*
57 + * Valid machtype for group ADMtek
58 + */
59 +#define MACH_GROUP_ADM_GW 23
60 +#define MACH_ADM_GW_5120 0
61 +
62 #define CL_SIZE COMMAND_LINE_SIZE
63
64 const char *get_system_type(void);
This page took 0.052735 seconds and 5 git commands to generate.