swap uart numbering on Pronghorn
[openwrt.git] / target / linux / magicbox / patches / 001-magicbox_support.patch
1 Index: linux-2.6.24.7/arch/ppc/platforms/4xx/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/ppc/platforms/4xx/Kconfig
4 +++ linux-2.6.24.7/arch/ppc/platforms/4xx/Kconfig
5 @@ -53,6 +53,12 @@ config WALNUT
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 @@ config BOOKE
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 @@ config IBM_EMAC4
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 @@ config 403GCX
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.24.7/arch/ppc/platforms/4xx/Makefile
46 ===================================================================
47 --- linux-2.6.24.7.orig/arch/ppc/platforms/4xx/Makefile
48 +++ linux-2.6.24.7/arch/ppc/platforms/4xx/Makefile
49 @@ -14,6 +14,7 @@ obj-$(CONFIG_REDWOOD_6) += redwood6.o
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.24.7/include/asm-ppc/ibm4xx.h
58 ===================================================================
59 --- linux-2.6.24.7.orig/include/asm-ppc/ibm4xx.h
60 +++ linux-2.6.24.7/include/asm-ppc/ibm4xx.h
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.044535 seconds and 5 git commands to generate.