[adm5120] rewrite of memory detection code, should be fix #1909
[openwrt.git] / target / linux / magicbox-2.6 / patches-2.6.22 / 001-magicbox_support.patch
1 Index: linux-2.6.22-rc6/arch/ppc/platforms/4xx/Kconfig
2 ===================================================================
3 --- linux-2.6.22-rc6.orig/arch/ppc/platforms/4xx/Kconfig 2007-06-28 08:23:13.508980416 +0200
4 +++ linux-2.6.22-rc6/arch/ppc/platforms/4xx/Kconfig 2007-06-28 08:23:15.637656808 +0200
5 @@ -53,6 +53,12 @@
6 help
7 This option enables support for the IBM PPC405GP evaluation board.
8
9 +config MAGICBOX
10 + bool "MagicBox"
11 + select WANT_EARLY_SERIAL
12 + help
13 + This option enables support for the IBM PPC405EP evaluation board.
14 +
15 config XILINX_ML300
16 bool "Xilinx-ML300"
17 select XILINX_VIRTEX_II_PRO
18 @@ -184,7 +190,7 @@
19
20 config IBM_OCP
21 bool
22 - depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT
23 + depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT || MAGICBOX
24 default y
25
26 config IBM_EMAC4
27 @@ -194,7 +200,7 @@
28
29 config BIOS_FIXUP
30 bool
31 - depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405
32 + depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405 || MAGICBOX
33 default y
34
35 # OAK doesn't exist but wanted to keep this around for any future 403GCX boards
36 @@ -205,7 +211,7 @@
37
38 config 405EP
39 bool
40 - depends on BUBINGA
41 + depends on BUBINGA || MAGICBOX
42 default y
43
44 config 405GP
45 Index: linux-2.6.22-rc6/arch/ppc/platforms/4xx/Makefile
46 ===================================================================
47 --- linux-2.6.22-rc6.orig/arch/ppc/platforms/4xx/Makefile 2007-06-28 08:23:13.516979200 +0200
48 +++ linux-2.6.22-rc6/arch/ppc/platforms/4xx/Makefile 2007-06-28 08:23:15.637656808 +0200
49 @@ -14,6 +14,7 @@
50 obj-$(CONFIG_SYCAMORE) += sycamore.o
51 obj-$(CONFIG_TAISHAN) += taishan.o
52 obj-$(CONFIG_WALNUT) += walnut.o
53 +obj-$(CONFIG_MAGICBOX) += magicbox.o
54 obj-$(CONFIG_XILINX_ML300) += xilinx_ml300.o
55 obj-$(CONFIG_XILINX_ML403) += xilinx_ml403.o
56
57 Index: linux-2.6.22-rc6/include/asm-ppc/ibm4xx.h
58 ===================================================================
59 --- linux-2.6.22-rc6.orig/include/asm-ppc/ibm4xx.h 2007-06-28 08:23:13.526977680 +0200
60 +++ linux-2.6.22-rc6/include/asm-ppc/ibm4xx.h 2007-06-28 08:23:15.637656808 +0200
61 @@ -19,6 +19,10 @@
62
63 #ifdef CONFIG_40x
64
65 +#if defined(CONFIG_MAGICBOX)
66 +#include <platforms/4xx/magicbox.h>
67 +#endif
68 +
69 #if defined(CONFIG_BUBINGA)
70 #include <platforms/4xx/bubinga.h>
71 #endif
This page took 0.040881 seconds and 5 git commands to generate.