summaryrefslogtreecommitdiffstats
path: root/common/filetype.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-06-03 22:19:57 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-07 09:04:44 +0200
commit0a46c9013b52d3e8924dae954d00c9a2a5f5993a (patch)
treef9b5435c2f9ec0b64eb175f6e846a686300a3316 /common/filetype.c
parent649b9ebcf53d697277bcdb01334dbcd563a33aa8 (diff)
downloadbarebox-0a46c9013b52d3e8924dae954d00c9a2a5f5993a.tar.gz
filetype: Add "U-Boot environmemnt variable data" filetype
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/filetype.c')
-rw-r--r--common/filetype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/filetype.c b/common/filetype.c
index e2d707b..4299115 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -77,6 +77,8 @@ static const struct filetype_str filetype_str[] = {
[filetype_imx_image_v2] = { "i.MX image (v2)", "imx-image-v2" },
[filetype_layerscape_image] = { "Layerscape image", "layerscape-PBL" },
[filetype_layerscape_qspi_image] = { "Layerscape QSPI image", "layerscape-qspi-PBL" },
+ [filetype_ubootvar] = { "U-Boot environmemnt variable data",
+ "ubootvar" },
};
const char *file_type_to_string(enum filetype f)