summaryrefslogtreecommitdiff
path: root/test/boot/files
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-10-01 19:13:39 -0600
committerTom Rini <[email protected]>2023-10-11 15:43:55 -0400
commitc2bd2d33d92cf729dfa7bac6c4c754098f0a2dfb (patch)
tree03512984979e32141956a4c00b636b3bb9eeee1f /test/boot/files
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 <[email protected]>
Diffstat (limited to 'test/boot/files')
-rw-r--r--test/boot/files/expo_ids.h3
-rw-r--r--test/boot/files/expo_layout.dts8
2 files changed, 11 insertions, 0 deletions
diff --git a/test/boot/files/expo_ids.h b/test/boot/files/expo_ids.h
index 027d44bf38c..a86e0d06f6b 100644
--- a/test/boot/files/expo_ids.h
+++ b/test/boot/files/expo_ids.h
@@ -21,5 +21,8 @@ enum {
ID_AC_ON,
ID_AC_MEMORY,
+ ID_MACHINE_NAME,
+ ID_MACHINE_NAME_EDIT,
+
ID_DYNAMIC_START,
};
diff --git a/test/boot/files/expo_layout.dts b/test/boot/files/expo_layout.dts
index cb2a674d9d5..bed552288f4 100644
--- a/test/boot/files/expo_layout.dts
+++ b/test/boot/files/expo_layout.dts
@@ -55,6 +55,14 @@
start-bit = <0x422>;
bit-length = <2>;
};
+
+ machine-name {
+ id = <ID_MACHINE_NAME>;
+ type = "textline";
+ max-chars = <20>;
+ title = "Machine name";
+ edit-id = <ID_MACHINE_NAME_EDIT>;
+ };
};
};