]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dfu: align array in dfu_get_dev_type with enum dfu_device_type
authorPatrick Delaunay <patrick.delaunay73@gmail.com>
Fri, 28 Oct 2016 07:44:26 +0000 (09:44 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 3 Nov 2016 10:55:25 +0000 (11:55 +0100)
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
drivers/dfu/dfu.c

index 20dfcbbf18f23a4c2f5ce5fd420ca8881a2ae392..8dacc1a6d16c21bf371e3571e0bf527fd9854ce8 100644 (file)
@@ -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];
 }