Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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_SELFTEST
  15. bool "Device Tree Runtime self tests"
  16. help
  17. This option builds in test cases for the device tree infrastructure
  18. that are executed one at boot time, and the results dumped to the
  19. console.
  20. If unsure, say N here, but this option is safe to enable.
  21. config OF_FLATTREE
  22. bool
  23. select DTC
  24. config OF_EARLY_FLATTREE
  25. bool
  26. select OF_FLATTREE
  27. config OF_PROMTREE
  28. bool
  29. # Hardly any platforms need this. It is safe to select, but only do so if you
  30. # need it.
  31. config OF_DYNAMIC
  32. bool
  33. config OF_ADDRESS
  34. def_bool y
  35. depends on !SPARC
  36. config OF_IRQ
  37. def_bool y
  38. depends on !SPARC
  39. config OF_NET
  40. depends on NETDEVICES
  41. def_bool y
  42. config OF_MDIO
  43. def_tristate PHYLIB
  44. depends on PHYLIB
  45. help
  46. OpenFirmware MDIO bus (Ethernet PHY) accessors
  47. config OF_PCI
  48. def_tristate PCI
  49. depends on PCI
  50. help
  51. OpenFirmware PCI bus accessors
  52. config OF_PCI_IRQ
  53. def_tristate PCI
  54. depends on OF_PCI && OF_IRQ
  55. help
  56. OpenFirmware PCI IRQ routing helpers
  57. config OF_MTD
  58. depends on MTD
  59. def_bool y
  60. config OF_RESERVED_MEM
  61. depends on OF_FLATTREE && (DMA_CMA || (HAVE_GENERIC_DMA_COHERENT && HAVE_MEMBLOCK))
  62. def_bool y
  63. help
  64. Initialization code for DMA reserved memory
  65. endmenu # OF