15ab5fc7eSGrant Likelyconfig DTC 25ab5fc7eSGrant Likely bool 35ab5fc7eSGrant Likely 4bcbefae2SStephen Rothwellconfig OF 5bcbefae2SStephen Rothwell bool 6bcbefae2SStephen Rothwell 73cfc535cSAndres Salomonmenu "Device Tree and Open Firmware support" 85ab5fc7eSGrant Likely depends on OF 95ab5fc7eSGrant Likely 1019fd7487SGrant Likelyconfig OF_UNITTEST 1119fd7487SGrant Likely bool "Device Tree runtime unit tests" 1232147e9aSGaurav Minocha depends on OF_IRQ && OF_EARLY_FLATTREE 132eb46da2SGrant Likely select OF_RESOLVE 1453a42093SGrant Likely help 1553a42093SGrant Likely This option builds in test cases for the device tree infrastructure 165d927086SGeert Uytterhoeven that are executed once at boot time, and the results dumped to the 1753a42093SGrant Likely console. 1853a42093SGrant Likely 1953a42093SGrant Likely If unsure, say N here, but this option is safe to enable. 2053a42093SGrant Likely 21e169cfbeSGrant Likelyconfig OF_FLATTREE 22e169cfbeSGrant Likely bool 235ab5fc7eSGrant Likely select DTC 24e6a6928cSRob Herring select LIBFDT 2508d53aa5SArd Biesheuvel select CRC32 26e169cfbeSGrant Likely 27e6ce1324SStephen Neuendorfferconfig OF_EARLY_FLATTREE 28e6ce1324SStephen Neuendorffer bool 29e6ce1324SStephen Neuendorffer select OF_FLATTREE 30e6ce1324SStephen Neuendorffer 313cfc535cSAndres Salomonconfig OF_PROMTREE 323cfc535cSAndres Salomon bool 333cfc535cSAndres Salomon 340f22dd39SGrant Likely# Hardly any platforms need this. It is safe to select, but only do so if you 350f22dd39SGrant Likely# need it. 36fcdeb7feSGrant Likelyconfig OF_DYNAMIC 37121c92caSGeert Uytterhoeven bool "Support for dynamic device trees" if OF_UNITTEST 38121c92caSGeert Uytterhoeven help 39121c92caSGeert Uytterhoeven On some platforms, the device tree can be manipulated at runtime. 40121c92caSGeert Uytterhoeven While this option is selected automatically on such platforms, you 41121c92caSGeert Uytterhoeven can enable it manually to improve device tree unit test coverage. 42fcdeb7feSGrant Likely 436b884a8dSGrant Likelyconfig OF_ADDRESS 446b884a8dSGrant Likely def_bool y 455ab5fc7eSGrant Likely depends on !SPARC 4625a31579SGregory CLEMENT select OF_ADDRESS_PCI if PCI 4725a31579SGregory CLEMENT 4825a31579SGregory CLEMENTconfig OF_ADDRESS_PCI 4925a31579SGregory CLEMENT bool 506b884a8dSGrant Likely 51e3873444SGrant Likelyconfig OF_IRQ 52e3873444SGrant Likely def_bool y 535ab5fc7eSGrant Likely depends on !SPARC 54e3873444SGrant Likely 554b6ba8aaSDavid Daneyconfig OF_NET 564b6ba8aaSDavid Daney depends on NETDEVICES 574b6ba8aaSDavid Daney def_bool y 584b6ba8aaSDavid Daney 598bc487d1SGrant Likelyconfig OF_MDIO 608bc487d1SGrant Likely def_tristate PHYLIB 615ab5fc7eSGrant Likely depends on PHYLIB 628bc487d1SGrant Likely help 638bc487d1SGrant Likely OpenFirmware MDIO bus (Ethernet PHY) accessors 645ab5fc7eSGrant Likely 6504bea68bSSebastian Andrzej Siewiorconfig OF_PCI 6604bea68bSSebastian Andrzej Siewior def_tristate PCI 6798d9f30cSBenjamin Herrenschmidt depends on PCI 6804bea68bSSebastian Andrzej Siewior help 6904bea68bSSebastian Andrzej Siewior OpenFirmware PCI bus accessors 7004bea68bSSebastian Andrzej Siewior 7198d9f30cSBenjamin Herrenschmidtconfig OF_PCI_IRQ 7298d9f30cSBenjamin Herrenschmidt def_tristate PCI 7398d9f30cSBenjamin Herrenschmidt depends on OF_PCI && OF_IRQ 7498d9f30cSBenjamin Herrenschmidt help 7598d9f30cSBenjamin Herrenschmidt OpenFirmware PCI IRQ routing helpers 7698d9f30cSBenjamin Herrenschmidt 77770d7c39SJean-Christophe PLAGNIOL-VILLARDconfig OF_MTD 78770d7c39SJean-Christophe PLAGNIOL-VILLARD depends on MTD 79770d7c39SJean-Christophe PLAGNIOL-VILLARD def_bool y 80770d7c39SJean-Christophe PLAGNIOL-VILLARD 813f0c8206SMarek Szyprowskiconfig OF_RESERVED_MEM 823f0c8206SMarek Szyprowski depends on OF_EARLY_FLATTREE 833f0c8206SMarek Szyprowski bool 843f0c8206SMarek Szyprowski help 853f0c8206SMarek Szyprowski Helpers to allow for reservation of memory regions 863f0c8206SMarek Szyprowski 877941b27bSPantelis Antoniouconfig OF_RESOLVE 887941b27bSPantelis Antoniou bool 897941b27bSPantelis Antoniou 907518b589SPantelis Antoniouconfig OF_OVERLAY 915c776064SMatwey V. Kornilov bool "Device Tree overlays" 927518b589SPantelis Antoniou select OF_DYNAMIC 937518b589SPantelis Antoniou select OF_RESOLVE 94121c92caSGeert Uytterhoeven help 95121c92caSGeert Uytterhoeven Overlays are a method to dynamically modify part of the kernel's 96121c92caSGeert Uytterhoeven device tree with dynamically loaded data. 97121c92caSGeert Uytterhoeven While this option is selected automatically when needed, you can 98121c92caSGeert Uytterhoeven enable it manually to improve device tree unit test coverage. 997518b589SPantelis Antoniou 1005ab5fc7eSGrant Likelyendmenu # OF 101