expo: cedit: Support writing settings to environment vars
Add a command to write cedit settings to environment variables so that they can be stored with 'saveenv'. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -80,4 +80,13 @@ int cedit_write_settings(struct expo *exp, struct abuf *buf);
|
||||
*/
|
||||
int cedit_read_settings(struct expo *exp, oftree tree);
|
||||
|
||||
/**
|
||||
* cedit_write_settings_env() - Write settings to envrionment variables
|
||||
*
|
||||
* @exp: Expo to write settings from
|
||||
* @verbose: true to print each var as it is set
|
||||
* Return: 0 if OK, -ve on error
|
||||
*/
|
||||
int cedit_write_settings_env(struct expo *exp, bool verbose);
|
||||
|
||||
#endif /* __CEDIT_H */
|
||||
|
Reference in New Issue
Block a user