aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-12-12 11:25:57 -0500
committerGrant Likely <grant.likely@secretlab.ca>2011-12-12 15:40:16 -0500
commit53a42093d96ef5ede3b4f4cdb8f3256f27228ab0 (patch)
tree7ed1bf6fc3b9aa764072a2969903b316fd333871 /drivers/of/Kconfig
parent15c9a0acc3f7873db4b7d35d016729b2dc229b49 (diff)
of: Add device tree selftests
Add some runtime test cases for the library of device tree parsing functions. v2: - Add testcase for phandle with 0 args - Don't run testcases if testcase data isn't present in device tree Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index cac63c9f49ae..268163dd71c7 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -15,6 +15,15 @@ config PROC_DEVICETREE
15 an image of the device tree that the kernel copies from Open 15 an image of the device tree that the kernel copies from Open
16 Firmware or other boot firmware. If unsure, say Y here. 16 Firmware or other boot firmware. If unsure, say Y here.
17 17
18config OF_SELFTEST
19 bool "Device Tree Runtime self tests"
20 help
21 This option builds in test cases for the device tree infrastructure
22 that are executed one at boot time, and the results dumped to the
23 console.
24
25 If unsure, say N here, but this option is safe to enable.
26
18config OF_FLATTREE 27config OF_FLATTREE
19 bool 28 bool
20 select DTC 29 select DTC