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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -110,6 +110,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. @@ -119,6 +133,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. @@ -129,4 +147,13 @@ 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. + def_bool n
  42. +
  43. endif