aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMario Six2018-08-06 10:23:44 +0200
committerSimon Glass2018-09-18 08:12:21 -0600
commitfa44b53398d3a7f5ed28cb83493a70cde11f8188 (patch)
tree0750fe7a155f5ecd261987cb0120d85c83bfbd1e /arch
parent57370de377340b0fcb81d90a187aa8b8f3494447 (diff)
test: Add tests for CPU uclass
Add a sandbox CPU driver, and some tests for the CPU uclass. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 36682633318..b8524e3b7d6 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -297,6 +297,18 @@
mbox-names = "other", "test";
};
+ cpu-test1 {
+ compatible = "sandbox,cpu_sandbox";
+ };
+
+ cpu-test2 {
+ compatible = "sandbox,cpu_sandbox";
+ };
+
+ cpu-test3 {
+ compatible = "sandbox,cpu_sandbox";
+ };
+
misc-test {
compatible = "sandbox,misc_sandbox";
};