001-magicbox_support.patch 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. +config MAGICBOX
  9. + bool "MagicBox"
  10. + select WANT_EARLY_SERIAL
  11. + help
  12. + This option enables support for the IBM PPC405EP evaluation board.
  13. +
  14. config XILINX_ML300
  15. bool "Xilinx-ML300"
  16. select XILINX_VIRTEX_II_PRO
  17. @@ -184,7 +190,7 @@
  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. config IBM_EMAC4
  24. @@ -194,7 +200,7 @@
  25. config BIOS_FIXUP
  26. bool
  27. - depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405
  28. + depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405 || MAGICBOX
  29. default y
  30. # OAK doesn't exist but wanted to keep this around for any future 403GCX boards
  31. @@ -205,7 +211,7 @@
  32. config 405EP
  33. bool
  34. - depends on BUBINGA
  35. + depends on BUBINGA || MAGICBOX
  36. default y
  37. config 405GP
  38. Index: linux-2.6.22-rc6/arch/ppc/platforms/4xx/Makefile
  39. ===================================================================
  40. --- linux-2.6.22-rc6.orig/arch/ppc/platforms/4xx/Makefile 2007-06-28 08:23:13.516979200 +0200
  41. +++ linux-2.6.22-rc6/arch/ppc/platforms/4xx/Makefile 2007-06-28 08:23:15.637656808 +0200
  42. @@ -14,6 +14,7 @@
  43. obj-$(CONFIG_SYCAMORE) += sycamore.o
  44. obj-$(CONFIG_TAISHAN) += taishan.o
  45. obj-$(CONFIG_WALNUT) += walnut.o
  46. +obj-$(CONFIG_MAGICBOX) += magicbox.o
  47. obj-$(CONFIG_XILINX_ML300) += xilinx_ml300.o
  48. obj-$(CONFIG_XILINX_ML403) += xilinx_ml403.o
  49. Index: linux-2.6.22-rc6/include/asm-ppc/ibm4xx.h
  50. ===================================================================
  51. --- linux-2.6.22-rc6.orig/include/asm-ppc/ibm4xx.h 2007-06-28 08:23:13.526977680 +0200
  52. +++ linux-2.6.22-rc6/include/asm-ppc/ibm4xx.h 2007-06-28 08:23:15.637656808 +0200
  53. @@ -19,6 +19,10 @@
  54. #ifdef CONFIG_40x
  55. +#if defined(CONFIG_MAGICBOX)
  56. +#include <platforms/4xx/magicbox.h>
  57. +#endif
  58. +
  59. #if defined(CONFIG_BUBINGA)
  60. #include <platforms/4xx/bubinga.h>
  61. #endif