100-board.patch 1.5 KB

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