003-arch-config.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Index: linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
  2. ===================================================================
  3. --- linux-2.6.21.7.orig/arch/arm/mach-pxa/Kconfig
  4. +++ linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
  5. @@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations"
  6. choice
  7. prompt "Select target board"
  8. +config ARCH_GUMSTIX
  9. + bool "Gumstix Platform"
  10. + depends on ARCH_PXA
  11. +
  12. config ARCH_LUBBOCK
  13. bool "Intel DBPXA250 Development Platform"
  14. select PXA25x
  15. @@ -116,6 +120,34 @@ config MACH_TOSA
  16. bool "Enable Sharp SL-6000x (Tosa) Support"
  17. depends on PXA_SHARPSL_25x
  18. +choice
  19. + depends on ARCH_GUMSTIX
  20. + prompt "Gumstix Platform Version"
  21. + default ARCH_GUMSTIX_F
  22. +
  23. +config ARCH_GUMSTIX_ORIG
  24. + bool "Original Gumstix"
  25. + select PXA25x
  26. + help
  27. + The original gumstix platform, including the gs-200x and gs-400x and the waysmall
  28. + systems using these boards. (Almost nobody has one of these)
  29. +
  30. +config ARCH_GUMSTIX_F
  31. + bool "Gumstix-F"
  32. + select PXA25x
  33. + help
  34. + The updated Gumstix basix and connex boards with 60-pin connector, and
  35. + waysmall systems using these boards, including ws-200ax and ws-400ax.
  36. +
  37. +config ARCH_GUMSTIX_VERDEX
  38. + bool "Gumstix Verdex"
  39. + select PXA27x
  40. + help
  41. + The Gumstix verdex boards with 24, 60, and 120-pin connectors, and
  42. + computer systems using these boards.
  43. +
  44. +endchoice
  45. +
  46. config PXA25x
  47. bool
  48. help
  49. Index: linux-2.6.21.7/arch/arm/mach-pxa/Makefile
  50. ===================================================================
  51. --- linux-2.6.21.7.orig/arch/arm/mach-pxa/Makefile
  52. +++ linux-2.6.21.7/arch/arm/mach-pxa/Makefile
  53. @@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o
  54. obj-$(CONFIG_PXA27x) += pxa27x.o
  55. # Specific board support
  56. +obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
  57. obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
  58. obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
  59. obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o