001-adm5120.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --- a/arch/mips/Kconfig
  2. +++ b/arch/mips/Kconfig
  3. @@ -60,6 +60,24 @@ choice
  4. prompt "System type"
  5. default SGI_IP22
  6. +config ADM5120
  7. + bool "Infineon/ADMtek ADM5120 SoC based machines"
  8. + select BOOT_RAW
  9. + select NO_EXCEPT_FILL
  10. + select CEVT_R4K
  11. + select CSRC_R4K
  12. + select SYS_HAS_CPU_MIPS32_R1
  13. + select SYS_HAS_EARLY_PRINTK
  14. + select DMA_NONCOHERENT
  15. + select IRQ_CPU
  16. + select SYS_SUPPORTS_LITTLE_ENDIAN
  17. + select SYS_SUPPORTS_BIG_ENDIAN
  18. + select SYS_SUPPORTS_32BIT_KERNEL
  19. + select ARCH_REQUIRE_GPIOLIB
  20. + select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  21. + select MIPS_MACHINE
  22. + select HAVE_CLK
  23. +
  24. config MIPS_ALCHEMY
  25. bool "Alchemy processor based machines"
  26. select 64BIT_PHYS_ADDR
  27. @@ -834,6 +852,7 @@ config MIPS_PARAVIRT
  28. endchoice
  29. +source "arch/mips/adm5120/Kconfig"
  30. source "arch/mips/alchemy/Kconfig"
  31. source "arch/mips/ath79/Kconfig"
  32. source "arch/mips/bcm47xx/Kconfig"
  33. --- a/arch/mips/Kbuild.platforms
  34. +++ b/arch/mips/Kbuild.platforms
  35. @@ -1,5 +1,6 @@
  36. # All platforms listed in alphabetic order
  37. +platforms += adm5120
  38. platforms += alchemy
  39. platforms += ar7
  40. platforms += ath79