blk: op_flag bitwise definition
Change-Id: I99750780e1d947bfd87a7b9960da8e75a1615baa Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
4243946213
commit
41f545b6de
|
|
@ -52,8 +52,8 @@ enum if_type {
|
||||||
#define BLK_REV_SIZE 8
|
#define BLK_REV_SIZE 8
|
||||||
|
|
||||||
/* define block device operation flags */
|
/* define block device operation flags */
|
||||||
#define BLK_PRE_RW 1 /* Block prepare read & write*/
|
#define BLK_PRE_RW BIT(0) /* Block prepare read & write*/
|
||||||
#define BLK_MTD_NBA_RW 2 /* MTD block non-block-aligned read & write */
|
#define BLK_MTD_NBA_RW BIT(1) /* MTD block non-block-aligned read & write */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Identifies the partition table type (ie. MBR vs GPT GUID) signature
|
* Identifies the partition table type (ie. MBR vs GPT GUID) signature
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue