]> git.baikalelectronics.ru Git - kernel.git/commit
of: unittest: Statically apply overlays using fdtoverlay
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Mar 2021 05:35:33 +0000 (11:05 +0530)
committerRob Herring <robh@kernel.org>
Tue, 23 Mar 2021 21:27:51 +0000 (15:27 -0600)
commit48cc149b29b9551137e53d8f8db4aa82de784f0f
tree1906d7e1b9b6149149fc6bed1d89e0ef3c4782bc
parent2153825fa2b3a6686e9018a397f12ab4ad872f07
of: unittest: Statically apply overlays using fdtoverlay

Now that fdtoverlay is part of the kernel build, start using it to test
the unitest overlays we have by applying them statically. Create two new
base files static_base_1.dts and static_base_2.dts which includes other
.dtsi files.

Some unittest overlays deliberately contain errors that unittest checks
for. These overlays will cause fdtoverlay to fail, and are thus not
included for static builds.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Tested-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/da6b4e6429aae2e7832a8be2ba2da473d449895b.1615354376.git.viresh.kumar@linaro.org
drivers/of/unittest-data/Makefile
drivers/of/unittest-data/static_base_1.dts [new file with mode: 0644]
drivers/of/unittest-data/static_base_2.dts [new file with mode: 0644]