mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
dfu: align array in dfu_get_dev_type with enum dfu_device_type
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
This commit is contained in:
parent
dbdc2744ee
commit
dd93a8e9e6
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue