of: enable unittests on UML
authorRob Herring <robh@kernel.org>
Tue, 25 Jul 2017 19:46:56 +0000 (14:46 -0500)
committerRob Herring <robh@kernel.org>
Tue, 12 Dec 2017 17:35:53 +0000 (11:35 -0600)
commit6019a3d07d7258908c764289b43786d255c6c329
treed9a69b46aa67c07d3bdb744659fa99cc54074d3f
parent5cc2066d7326932570e957e15dab3cd01a420bc9
of: enable unittests on UML

The unittests can run on UML, but OF_IRQ and OF_ADDRESS need to be
enabled. Rework the kconfig dependencies to enable the unittests. The
unittests cannot build on Sparc, so we need to add an explicit
dependency for !SPARC.

There's one failure in overlay tests because the base DT is not
unflattened early.

Cc: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/Kconfig