projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdc274
)
dfu: align array in dfu_get_dev_type with enum dfu_device_type
author
Patrick Delaunay
<patrick.delaunay73@gmail.com>
Fri, 28 Oct 2016 07:44:26 +0000
(09:44 +0200)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/drivers/dfu/dfu.c
b/drivers/dfu/dfu.c
index
20dfcbb
..
8dacc1a
100644
(file)
--- 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];
}