x86: coreboot: Allow building an expo for editing CMOS config

Coreboot provides the CMOS layout in the tables it passes to U-Boot.
Use that to build an editor for the CMOS settings.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2024-10-14 16:32:11 -06:00
committed by Tom Rini
parent e25c34ddb5
commit ae3b5928d6
9 changed files with 405 additions and 1 deletions

View File

@@ -762,4 +762,12 @@ int expo_apply_theme(struct expo *exp, ofnode node);
*/
int expo_build(ofnode root, struct expo **expp);
/**
* cb_expo_build() - Build an expo for coreboot CMOS RAM
*
* @expp: Returns the expo created
* Return: 0 if OK, -ve on error
*/
int cb_expo_build(struct expo **expp);
#endif /*__EXPO_H */