
25 Jan
2022
25 Jan
'22
4:58 p.m.
On Sat, Dec 18, 2021 at 02:54:34PM -0700, Simon Glass wrote:
At present there is quite a bit of ad-hoc code reading from files. The most common case is to read the file as lines. Put it in a function and set the unicode encoding correctly.
Avoid writing back to a file when there are obviously no changes as this speeds things up slightly.
Signed-off-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom