eMMC: add FFU operation interface. [1/1]
PD#SWPL-196902
Problem:
Need to support flash FFU function.
Solution:
add FFU operation interface.
Verify:
S7_BH201
Change-Id: Ifd8084a8c727eb84357391f7a437e6a25a329157
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
diff --git a/include/amlogic/storage.h b/include/amlogic/storage.h
index 0509ff0..13acee6 100644
--- a/include/amlogic/storage.h
+++ b/include/amlogic/storage.h
@@ -138,6 +138,7 @@
int (*protect_rsv)(const char *rsv_name,
bool ops);/*true:on false:off*/
int (*param_ops)(void);
+ int (*ffu_op)(u64 ffu_ver, void *addr, u64 cnt);
};
struct device_node_t {