1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-02 03:17:29 +01:00

expo: cedit: Support reading settings from environment vars

Add a command to read cedit settings from environment variables so that
they can be restored as part of the environment.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-08-14 16:40:36 -06:00
committed by Tom Rini
parent fc9c0e0771
commit bcf2b7202e
5 changed files with 105 additions and 1 deletions

View File

@@ -89,4 +89,12 @@ int cedit_read_settings(struct expo *exp, oftree tree);
*/
int cedit_write_settings_env(struct expo *exp, bool verbose);
/*
* cedit_read_settings_env() - Read settings from the environment
*
* @exp: Expo to read settings into
* @verbose: true to print each var before it is read
*/
int cedit_read_settings_env(struct expo *exp, bool verbose);
#endif /* __CEDIT_H */