summaryrefslogtreecommitdiff
path: root/tools/efivar.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-01-29 17:45:55 +0100
committerTom Rini <trini@konsulko.com>2023-02-06 14:35:14 -0500
commitafd82187b549e3bebc2ae02dc2914f8a43418ec4 (patch)
tree3676a07c35c376afc24c8bb0a27ad1b330dddc1b /tools/efivar.py
parent6c58aa1e6167ab71d4d4121cd79372bf25d1792a (diff)
tools: imagetool: Skip autodetection of gpimage type
gpimage type requires only that two first 32-bit words of data file are non-zero. So basically every random data file can be guessed and verified as gpimage. So completely skip gpimage type from image autodetection code to prevent lot of false positive results. Data file with gpimage type can be still verified and parsed by explicitly specifying -T gpimage. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/efivar.py')
0 files changed, 0 insertions, 0 deletions