100-board.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Index: linux-2.6.21.7/arch/mips/Kconfig
  2. ===================================================================
  3. --- linux-2.6.21.7.orig/arch/mips/Kconfig
  4. +++ linux-2.6.21.7/arch/mips/Kconfig
  5. @@ -159,6 +159,17 @@ config BASLER_EXCITE_PROTOTYPE
  6. note that a kernel built with this option selected will not be
  7. able to run on normal units.
  8. +config AMAZON
  9. + bool "Amazon support (EXPERIMENTAL)"
  10. + depends on EXPERIMENTAL
  11. + select DMA_NONCOHERENT
  12. + select IRQ_CPU
  13. + select SYS_HAS_CPU_MIPS32_R1
  14. + select HAVE_STD_PC_SERIAL_PORT
  15. + select SYS_SUPPORTS_BIG_ENDIAN
  16. + select SYS_SUPPORTS_32BIT_KERNEL
  17. + select SYS_HAS_EARLY_PRINTK
  18. +
  19. config MIPS_COBALT
  20. bool "Cobalt Server"
  21. select DMA_NONCOHERENT
  22. @@ -823,6 +834,7 @@ config TOSHIBA_RBTX4938
  23. endchoice
  24. +source "arch/mips/amazon/Kconfig"
  25. source "arch/mips/ddb5xxx/Kconfig"
  26. source "arch/mips/gt64120/ev64120/Kconfig"
  27. source "arch/mips/jazz/Kconfig"
  28. Index: linux-2.6.21.7/arch/mips/Makefile
  29. ===================================================================
  30. --- linux-2.6.21.7.orig/arch/mips/Makefile
  31. +++ linux-2.6.21.7/arch/mips/Makefile
  32. @@ -267,6 +267,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
  33. load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
  34. #
  35. +# Infineon AMAZON
  36. +#
  37. +core-$(CONFIG_AMAZON) += arch/mips/amazon/
  38. +cflags-$(CONFIG_AMAZON) += -Iinclude/asm-mips/mach-amazon
  39. +load-$(CONFIG_AMAZON) += 0xffffffff80002000
  40. +
  41. +#
  42. # Cobalt Server
  43. #
  44. core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
  45. Index: linux-2.6.21.7/include/asm-mips/bootinfo.h
  46. ===================================================================
  47. --- linux-2.6.21.7.orig/include/asm-mips/bootinfo.h
  48. +++ linux-2.6.21.7/include/asm-mips/bootinfo.h
  49. @@ -213,6 +213,12 @@
  50. #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
  51. #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
  52. +/*
  53. + * Valid machtype for group Infineon
  54. + */
  55. +#define MACH_GROUP_INFINEON 27
  56. +#define MACH_INFINEON_AMAZON 0
  57. +
  58. #define CL_SIZE COMMAND_LINE_SIZE
  59. const char *get_system_type(void);