moveconfig: Read the database in a separate function
authorSimon Glass <sjg@chromium.org>
Sat, 18 Dec 2021 15:09:43 +0000 (08:09 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 22:36:29 +0000 (17:36 -0500)
commit9d603391a7c3798cf733ad947efe61400fc1a44f
tree10e42479fab074cf30e8e608d825044c56bec4d0
parenta36270861b412049c4c4d1e6fd249af63bdfa3f5
moveconfig: Read the database in a separate function

Move this code out into a function so it can be used elsewhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/moveconfig.py