aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-07-17 13:25:36 -0600
committerSimon Glass <sjg@chromium.org>2018-08-01 16:30:48 -0600
commitfd8d1f79623d2944d9ca8469a3681d53b8b277f9 (patch)
treee8faca4c85020b0d712e576f4dd23f80664d098b /tools/binman/control.py
parent3fb397bba01a511f8ca2b091a359495e18badd7e (diff)
downloadu-boot-fd8d1f79623d2944d9ca8469a3681d53b8b277f9.zip
u-boot-fd8d1f79623d2944d9ca8469a3681d53b8b277f9.tar.gz
u-boot-fd8d1f79623d2944d9ca8469a3681d53b8b277f9.tar.bz2
binman: Allow creation of entry documentation
Binman supports quite a number of different entries now. The operation of these is not always obvious but at present the source code is the only reference for understanding how an entry works. Add a way to create documentation (from the source code) which can be put in a new 'README.entries' file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 3c931d9..2de1c86 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -92,6 +92,10 @@ def SetEntryArgs(args):
def GetEntryArg(name):
return entry_args.get(name)
+def WriteEntryDocs(modules, test_missing=None):
+ from entry import Entry
+ Entry.WriteDocs(modules, test_missing)
+
def Binman(options, args):
"""The main control code for binman