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>
This commit is contained in:
Simon Glass
2023-10-01 19:13:39 -06:00
committed by Tom Rini
parent 7318e0eff2
commit c2bd2d33d9
6 changed files with 51 additions and 5 deletions

View File

@@ -21,5 +21,8 @@ enum {
ID_AC_ON,
ID_AC_MEMORY,
ID_MACHINE_NAME,
ID_MACHINE_NAME_EDIT,
ID_DYNAMIC_START,
};

View File

@@ -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>;
};
};
};