Home
last modified time | relevance | path

Searched hist:"1 f3b6bbf4e675a2f73c7f0aeb8837f1c71b2e2f8" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dblk.h1f3b6bbf4e675a2f73c7f0aeb8837f1c71b2e2f8 Thu Aug 06 01:14:15 UTC 2020 Jason Zhu <jason.zhu@rock-chips.com> blk: define op_flag to handle some special block operation

Usage:
If prepare to read & write block data, just do it like this:
struct blk_desc desc;
......
desc.op_flag = BLK_PRE_RW;
blk_dread(......);
desc.op_flag = 0;

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I180bb7c09a7021e1f80760cc852169b3f750941d