Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. config DTC
  2. bool
  3. config OF
  4. bool
  5. menu "Device Tree and Open Firmware support"
  6. depends on OF
  7. config PROC_DEVICETREE
  8. bool "Support for device tree in /proc"
  9. depends on PROC_FS && !SPARC
  10. help
  11. This option adds a device-tree directory under /proc which contains
  12. an image of the device tree that the kernel copies from Open
  13. Firmware or other boot firmware. If unsure, say Y here.
  14. config OF_FLATTREE
  15. bool
  16. select DTC
  17. config OF_EARLY_FLATTREE
  18. bool
  19. select OF_FLATTREE
  20. config OF_PROMTREE
  21. bool
  22. config OF_DYNAMIC
  23. def_bool y
  24. depends on PPC_OF
  25. config OF_ADDRESS
  26. def_bool y
  27. depends on !SPARC
  28. config OF_IRQ
  29. def_bool y
  30. depends on !SPARC
  31. config OF_DEVICE
  32. def_bool y
  33. config OF_GPIO
  34. def_bool y
  35. depends on GPIOLIB && !SPARC
  36. help
  37. OpenFirmware GPIO accessors
  38. config OF_I2C
  39. def_tristate I2C
  40. depends on I2C && !SPARC
  41. help
  42. OpenFirmware I2C accessors
  43. config OF_NET
  44. depends on NETDEVICES
  45. def_bool y
  46. config OF_SPI
  47. def_tristate SPI
  48. depends on SPI && !SPARC
  49. help
  50. OpenFirmware SPI accessors
  51. config OF_MDIO
  52. def_tristate PHYLIB
  53. depends on PHYLIB
  54. help
  55. OpenFirmware MDIO bus (Ethernet PHY) accessors
  56. config OF_PCI
  57. def_tristate PCI
  58. depends on PCI && (PPC || MICROBLAZE || X86)
  59. help
  60. OpenFirmware PCI bus accessors
  61. endmenu # OF