]> git.baikalelectronics.ru Git - uboot.git/commit
moveconfig: Use a function to write files
authorSimon Glass <sjg@chromium.org>
Sat, 18 Dec 2021 21:54:33 +0000 (14:54 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 22:36:30 +0000 (17:36 -0500)
commit23c1894a4bf3216a806402273334030e112684e3
treef45817b537a034200a47362aa957731c0095f753
parentfceb07145fbd9f42a8f207f25479d52d7f386d5e
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>
tools/moveconfig.py