[U-Boot] [PATCH v1] dfu: align array in dfu_get_dev_type with enum dfu_device_type

Lukasz Majewski
2016-11-02T15:29:19Z

Hi Patrick,

> Signed-off-by: Patrick Delaunay <patrick.delaunay73@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];
> }
>

Applied to to u-boot-dfu (and PR sent to ML).

Thanks for patch.

--
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group