Skip to content
Commit 37f815ca authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

moveconfig: Use a function to read files



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: default avatarSimon Glass <sjg@chromium.org>
parent 2fd85bd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment