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