[U-Boot] [PATCH v1] dfu: align array in dfu_get_dev_type with enum dfu_device_type
Patrick Delaunay
patrick.delaunay73 at gmail.com
Fri Oct 28 09:44:26 CEST 2016
Signed-off-by: Patrick Delaunay <patrick.delaunay73 at gmail.com>
---
drivers/dfu/dfu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index 20dfcbb..8dacc1a 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];
}
--
1.9.1
More information about the U-Boot
mailing list