diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-03-30 07:24:16 +0200 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-04-22 20:41:54 +0800 |
commit | 9abfe33d10ef80c4d99c1d2b23e434a043866f13 (patch) | |
tree | 11977a9381de8436ba296492e5a5e73df121d6d7 | |
parent | 902af10d67520bf5535b660bff2b28a98c194022 (diff) | |
download | u-boot-9abfe33d10ef80c4d99c1d2b23e434a043866f13.tar.gz |
mmc: EXT_CSD registers for write protection
Add the EXT_CSD register definition related to write protection.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r-- | include/mmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index e83c22423b..4ecd6c744c 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -223,6 +223,9 @@ static inline bool mmc_is_tuning_cmd(uint cmdidx) #define EXT_CSD_WR_REL_PARAM 166 /* R */ #define EXT_CSD_WR_REL_SET 167 /* R/W */ #define EXT_CSD_RPMB_MULT 168 /* RO */ +#define EXT_CSD_USER_WP 171 /* R/W & R/W/C_P & R/W/E_P */ +#define EXT_CSD_BOOT_WP 173 /* R/W & R/W/C_P */ +#define EXT_CSD_BOOT_WP_STATUS 174 /* R */ #define EXT_CSD_ERASE_GROUP_DEF 175 /* R/W */ #define EXT_CSD_BOOT_BUS_WIDTH 177 #define EXT_CSD_PART_CONF 179 /* R/W */ |