From: Patrick Delaunay Date: Fri, 28 Oct 2016 07:44:26 +0000 (+0200) Subject: dfu: align array in dfu_get_dev_type with enum dfu_device_type X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=dd93a8e9e688f4c448092a275bf7db3e16d21c6f;p=u-boot.git dfu: align array in dfu_get_dev_type with enum dfu_device_type Signed-off-by: Patrick Delaunay --- 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]; }