602-MIPS-ath79-add-openwrt-stuff.patch 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -99,6 +99,20 @@ config SOC_QCA955X
  4. select PCI_AR724X if PCI
  5. def_bool n
  6. +config ATH79_DEV_M25P80
  7. + select ATH79_DEV_SPI
  8. + def_bool n
  9. +
  10. +config ATH79_DEV_AP9X_PCI
  11. + select ATH79_PCI_ATH9K_FIXUP
  12. + def_bool n
  13. +
  14. +config ATH79_DEV_DSA
  15. + def_bool n
  16. +
  17. +config ATH79_DEV_ETH
  18. + def_bool n
  19. +
  20. config PCI_AR724X
  21. def_bool n
  22. @@ -108,6 +122,10 @@ config ATH79_DEV_GPIO_BUTTONS
  23. config ATH79_DEV_LEDS_GPIO
  24. def_bool n
  25. +config ATH79_DEV_NFC
  26. + depends on (SOC_AR934X || SOC_QCA955X)
  27. + def_bool n
  28. +
  29. config ATH79_DEV_SPI
  30. def_bool n
  31. @@ -118,4 +136,14 @@ config ATH79_DEV_WMAC
  32. depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
  33. def_bool n
  34. +config ATH79_NVRAM
  35. + def_bool n
  36. +
  37. +config ATH79_PCI_ATH9K_FIXUP
  38. + def_bool n
  39. +
  40. +config ATH79_ROUTERBOOT
  41. + select LZO_DECOMPRESS
  42. + def_bool n
  43. +
  44. endif