summaryrefslogtreecommitdiff
path: root/tools/microcode-tool.py
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-02-21 08:24:49 -0600
committerTom Rini <[email protected]>2025-02-21 11:36:37 -0600
commit8c6cf8aeea7e57ca686de8b765e4baf3a7ef1fa7 (patch)
treed298981af4a3bfde1bf5f88a03be0c833be29662 /tools/microcode-tool.py
parent13654f5426d3f9ebc7d1211528c86dd18b91f473 (diff)
parentb902386072f78dab4d94b34abfb03b8fb54af852 (diff)
Merge branch 'fix-issues-and-update-pylint-version' into next
This merges a set of patches from myself and Simon Glass to resolve various problems that the current version of pylint will report with our codebase. After the problems are fixed, we update to the now current version which is 3.3.4.
Diffstat (limited to 'tools/microcode-tool.py')
-rwxr-xr-xtools/microcode-tool.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/microcode-tool.py b/tools/microcode-tool.py
index 24c02c4fca1..b726794751a 100755
--- a/tools/microcode-tool.py
+++ b/tools/microcode-tool.py
@@ -279,6 +279,9 @@ def MicrocodeTool():
if (not not options.mcfile) != (not not options.mcfile):
parser.error("You must specify either header files or a microcode file, not both")
+ date = None
+ microcodes = None
+ license_text = None
if options.headerfile:
date, license_text, microcodes = ParseHeaderFiles(options.headerfile)
elif options.mcfile: