1config DTC 2 bool 3 4config OF 5 bool 6 7menu "Device Tree and Open Firmware support" 8 depends on OF 9 10config OF_UNITTEST 11 bool "Device Tree runtime unit tests" 12 depends on OF_IRQ && OF_EARLY_FLATTREE 13 select OF_RESOLVE 14 help 15 This option builds in test cases for the device tree infrastructure 16 that are executed once at boot time, and the results dumped to the 17 console. 18 19 If unsure, say N here, but this option is safe to enable. 20 21config OF_FLATTREE 22 bool 23 select DTC 24 select LIBFDT 25 select CRC32 26 27config OF_EARLY_FLATTREE 28 bool 29 select OF_FLATTREE 30 31config OF_PROMTREE 32 bool 33 34# Hardly any platforms need this. It is safe to select, but only do so if you 35# need it. 36config OF_DYNAMIC 37 bool 38 39config OF_ADDRESS 40 def_bool y 41 depends on !SPARC 42 select OF_ADDRESS_PCI if PCI 43 44config OF_ADDRESS_PCI 45 bool 46 47config OF_IRQ 48 def_bool y 49 depends on !SPARC 50 51config OF_NET 52 depends on NETDEVICES 53 def_bool y 54 55config OF_MDIO 56 def_tristate PHYLIB 57 depends on PHYLIB 58 help 59 OpenFirmware MDIO bus (Ethernet PHY) accessors 60 61config OF_PCI 62 def_tristate PCI 63 depends on PCI 64 help 65 OpenFirmware PCI bus accessors 66 67config OF_PCI_IRQ 68 def_tristate PCI 69 depends on OF_PCI && OF_IRQ 70 help 71 OpenFirmware PCI IRQ routing helpers 72 73config OF_MTD 74 depends on MTD 75 def_bool y 76 77config OF_RESERVED_MEM 78 depends on OF_EARLY_FLATTREE 79 bool 80 help 81 Helpers to allow for reservation of memory regions 82 83config OF_RESOLVE 84 bool 85 86config OF_OVERLAY 87 bool 88 depends on OF 89 select OF_DYNAMIC 90 select OF_RESOLVE 91 92endmenu # OF 93