2010-07-05 18:02:13 +00:00
|
|
|
config DTC
|
|
|
|
bool
|
|
|
|
|
2015-05-28 17:48:45 +00:00
|
|
|
menuconfig OF
|
|
|
|
bool "Device Tree and Open Firmware support"
|
|
|
|
help
|
|
|
|
This option enables the device tree infrastructure.
|
|
|
|
It is automatically selected by platforms that need it or can
|
|
|
|
be enabled manually for unittests, overlays or
|
|
|
|
compile-coverage.
|
2010-06-29 02:45:51 +00:00
|
|
|
|
2015-05-28 17:48:45 +00:00
|
|
|
if OF
|
2010-07-05 18:02:13 +00:00
|
|
|
|
2014-11-04 13:24:45 +00:00
|
|
|
config OF_UNITTEST
|
|
|
|
bool "Device Tree runtime unit tests"
|
2015-05-28 17:58:02 +00:00
|
|
|
depends on OF_IRQ
|
|
|
|
select OF_EARLY_FLATTREE
|
2014-10-02 13:36:46 +00:00
|
|
|
select OF_RESOLVE
|
2011-12-12 16:25:57 +00:00
|
|
|
help
|
|
|
|
This option builds in test cases for the device tree infrastructure
|
2013-12-24 20:06:01 +00:00
|
|
|
that are executed once at boot time, and the results dumped to the
|
2011-12-12 16:25:57 +00:00
|
|
|
console.
|
|
|
|
|
|
|
|
If unsure, say N here, but this option is safe to enable.
|
|
|
|
|
2015-10-06 22:57:33 +00:00
|
|
|
config OF_ALL_DTBS
|
|
|
|
bool "Build all Device Tree Blobs"
|
|
|
|
depends on COMPILE_TEST
|
|
|
|
select DTC
|
|
|
|
help
|
|
|
|
This option builds all possible Device Tree Blobs (DTBs) for the
|
|
|
|
current architecture.
|
|
|
|
|
|
|
|
If unsure, say N here, but this option is safe to enable.
|
|
|
|
|
2009-11-23 21:53:09 +00:00
|
|
|
config OF_FLATTREE
|
|
|
|
bool
|
2010-07-05 18:02:13 +00:00
|
|
|
select DTC
|
2014-04-02 20:10:14 +00:00
|
|
|
select LIBFDT
|
2014-11-14 17:05:35 +00:00
|
|
|
select CRC32
|
2009-11-23 21:53:09 +00:00
|
|
|
|
2010-11-18 23:54:56 +00:00
|
|
|
config OF_EARLY_FLATTREE
|
|
|
|
bool
|
|
|
|
select OF_FLATTREE
|
|
|
|
|
2010-10-11 03:42:33 +00:00
|
|
|
config OF_PROMTREE
|
|
|
|
bool
|
|
|
|
|
2012-02-16 03:38:40 +00:00
|
|
|
# Hardly any platforms need this. It is safe to select, but only do so if you
|
|
|
|
# need it.
|
2010-01-29 12:04:33 +00:00
|
|
|
config OF_DYNAMIC
|
2015-01-23 16:10:04 +00:00
|
|
|
bool "Support for dynamic device trees" if OF_UNITTEST
|
|
|
|
help
|
|
|
|
On some platforms, the device tree can be manipulated at runtime.
|
|
|
|
While this option is selected automatically on such platforms, you
|
|
|
|
can enable it manually to improve device tree unit test coverage.
|
2010-01-29 12:04:33 +00:00
|
|
|
|
2010-06-08 13:48:09 +00:00
|
|
|
config OF_ADDRESS
|
|
|
|
def_bool y
|
2015-07-05 15:18:41 +00:00
|
|
|
depends on !SPARC && HAS_IOMEM
|
2014-02-19 22:14:55 +00:00
|
|
|
select OF_ADDRESS_PCI if PCI
|
|
|
|
|
|
|
|
config OF_ADDRESS_PCI
|
|
|
|
bool
|
2010-06-08 13:48:09 +00:00
|
|
|
|
2010-06-18 17:09:59 +00:00
|
|
|
config OF_IRQ
|
|
|
|
def_bool y
|
2015-04-05 14:59:24 +00:00
|
|
|
depends on !SPARC && IRQ_DOMAIN
|
2010-06-18 17:09:59 +00:00
|
|
|
|
2010-10-26 22:07:13 +00:00
|
|
|
config OF_NET
|
|
|
|
depends on NETDEVICES
|
|
|
|
def_bool y
|
|
|
|
|
2009-04-25 12:52:56 +00:00
|
|
|
config OF_MDIO
|
|
|
|
def_tristate PHYLIB
|
2010-07-05 18:02:13 +00:00
|
|
|
depends on PHYLIB
|
2009-04-25 12:52:56 +00:00
|
|
|
help
|
|
|
|
OpenFirmware MDIO bus (Ethernet PHY) accessors
|
2010-07-05 18:02:13 +00:00
|
|
|
|
2011-01-24 04:28:55 +00:00
|
|
|
config OF_PCI
|
|
|
|
def_tristate PCI
|
2011-04-11 01:37:07 +00:00
|
|
|
depends on PCI
|
2011-01-24 04:28:55 +00:00
|
|
|
help
|
|
|
|
OpenFirmware PCI bus accessors
|
|
|
|
|
2011-04-11 01:37:07 +00:00
|
|
|
config OF_PCI_IRQ
|
|
|
|
def_tristate PCI
|
|
|
|
depends on OF_PCI && OF_IRQ
|
|
|
|
help
|
|
|
|
OpenFirmware PCI IRQ routing helpers
|
|
|
|
|
2012-01-28 04:12:36 +00:00
|
|
|
config OF_MTD
|
|
|
|
depends on MTD
|
|
|
|
def_bool y
|
|
|
|
|
2014-02-28 13:42:48 +00:00
|
|
|
config OF_RESERVED_MEM
|
|
|
|
depends on OF_EARLY_FLATTREE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Helpers to allow for reservation of memory regions
|
|
|
|
|
2014-07-04 16:59:20 +00:00
|
|
|
config OF_RESOLVE
|
|
|
|
bool
|
|
|
|
|
2014-10-28 20:35:58 +00:00
|
|
|
config OF_OVERLAY
|
2015-02-15 15:22:47 +00:00
|
|
|
bool "Device Tree overlays"
|
2014-10-28 20:35:58 +00:00
|
|
|
select OF_DYNAMIC
|
|
|
|
select OF_RESOLVE
|
2015-01-23 16:10:04 +00:00
|
|
|
help
|
|
|
|
Overlays are a method to dynamically modify part of the kernel's
|
|
|
|
device tree with dynamically loaded data.
|
|
|
|
While this option is selected automatically when needed, you can
|
|
|
|
enable it manually to improve device tree unit test coverage.
|
2014-10-28 20:35:58 +00:00
|
|
|
|
2015-05-28 17:48:45 +00:00
|
|
|
endif # OF
|