dfu: unify mmc/nand read/write ops enum
authorAfzal Mohammed <afzal.mohd.ma@gmail.com>
Tue, 17 Sep 2013 19:44:50 +0000 (01:14 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 24 Sep 2013 15:51:35 +0000 (17:51 +0200)
commit5a127c8433297e359fc4fded01172625f43b6d00
treeac2c1b38e018587050ef79965b57e3a06527a20e
parent765c5ae5bc913d9f06c518a9491d97c35ea00735
dfu: unify mmc/nand read/write ops enum

MMC and NAND independently defines same enumerators for read/write.
Unify them by defining enum in dfu header. RAM support that is being
added newly also can make use of it.

Signed-off-by: Afzal Mohammed <afzal.mohd.ma@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/dfu/dfu_mmc.c
drivers/dfu/dfu_nand.c
include/dfu.h