]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit3b2dccc6747f8466a28ef95e54e6acfdcf5a5eb9
tree1906d7e1b9b6149149fc6bed1d89e0ef3c4782bc
parentd92e2443221018a09535666ada3975d888b8ccfd
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]