binman: Move the main code into a function
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:18 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit952a61adb4537843855e2c35a57646c25abc6128
tree1e8e6d6561433af8cc2ea64fb3b37a14dfaa0b48
parent77b3ccb89ae373d054533f5f4a4192a4ba020405
binman: Move the main code into a function

Put this code into a function so it is easy for it be run when packaged.

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