commit | b09ae4517e784430868154de84b950b0aeb8f9c8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 18 14:54:33 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 24 17:36:30 2022 -0500 |
tree | f45817b537a034200a47362aa957731c0095f753 | |
parent | 34c505ff2af8ce4d7f6dfe9eb3f95134f8b7f6ac [diff] |
moveconfig: Use a function to write files At present there is quite a bit of ad-hoc code writing to files. The treatment of newlines is different in some of them. Put it in a function and set the unicode encoding correctly. Signed-off-by: Simon Glass <sjg@chromium.org>