aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass2023-10-01 19:13:39 -0600
committerTom Rini2023-10-11 15:43:55 -0400
commitc2bd2d33d92cf729dfa7bac6c4c754098f0a2dfb (patch)
tree03512984979e32141956a4c00b636b3bb9eeee1f /arch/sandbox
parent7318e0eff2c52486c311e9e31f9a9c0e29965d81 (diff)
expo: Update tests to include textline
Provide test coverage for the new expo object type, including building and reading/writing settings. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/cedit.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/dts/cedit.dtsi b/arch/sandbox/dts/cedit.dtsi
index a9eb4c2d594..9bd84e62936 100644
--- a/arch/sandbox/dts/cedit.dtsi
+++ b/arch/sandbox/dts/cedit.dtsi
@@ -51,6 +51,14 @@
item-id = <ID_AC_OFF ID_AC_ON ID_AC_MEMORY>;
};
+
+ machine-name {
+ id = <ID_MACHINE_NAME>;
+ type = "textline";
+ max-chars = <20>;
+ title = "Machine name";
+ edit-id = <ID_MACHINE_NAME_EDIT>;
+ };
};
};