summaryrefslogtreecommitdiff
path: root/tools/binman/etype/fmap.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-30 00:14:04 +0300
committerSimon Glass <sjg@chromium.org>2022-02-09 22:26:12 +0300
commitc1aa66e75dbfcacab1fbca0e3e19c09e08d932d5 (patch)
treec33854b5848f407f5ad6b2d2337665ccd436eab4 /tools/binman/etype/fmap.py
parent82ee8bfe519307b4175bb0f751da73c8555a0a25 (diff)
downloadu-boot-c1aa66e75dbfcacab1fbca0e3e19c09e08d932d5.tar.xz
patman: Convert camel case in tools.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/etype/fmap.py')
-rw-r--r--tools/binman/etype/fmap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/etype/fmap.py b/tools/binman/etype/fmap.py
index cac99b60eb..72b44a7869 100644
--- a/tools/binman/etype/fmap.py
+++ b/tools/binman/etype/fmap.py
@@ -8,7 +8,7 @@
from binman.entry import Entry
from binman import fmap_util
from patman import tools
-from patman.tools import ToHexSize
+from patman.tools import to_hex_size
from patman import tout
@@ -47,7 +47,7 @@ class Entry_fmap(Entry):
def _AddEntries(areas, entry):
entries = entry.GetEntries()
tout.Debug("fmap: Add entry '%s' type '%s' (%s subentries)" %
- (entry.GetPath(), entry.etype, ToHexSize(entries)))
+ (entry.GetPath(), entry.etype, to_hex_size(entries)))
if entries and entry.etype != 'cbfs':
# Create an area for the section, which encompasses all entries
# within it