summaryrefslogtreecommitdiff
path: root/drivers/dfu
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay73@gmail.com>2016-10-28 09:44:26 +0200
committerMarek Vasut <marex@denx.de>2016-11-03 11:55:25 +0100
commitdd93a8e9e688f4c448092a275bf7db3e16d21c6f (patch)
tree9ff5c07d97632c6ba2fdf94c706f0997c5af270b /drivers/dfu
parentdbdc2744ee69ae9eb02bebac87e66c8f2f3ad795 (diff)
dfu: align array in dfu_get_dev_type with enum dfu_device_type
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
Diffstat (limited to 'drivers/dfu')
-rw-r--r--drivers/dfu/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index 20dfcbbf18..8dacc1a6d1 100644
--- a/drivers/dfu/dfu.c
+++ b/drivers/dfu/dfu.c
@@ -482,7 +482,7 @@ int dfu_config_entities(char *env, char *interface, char *devstr)
const char *dfu_get_dev_type(enum dfu_device_type t)
{
- const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM" };
+ const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM", "SF" };
return dev_t[t];
}