From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 1/4] mmc: EXT_CSD registers for write protection
Date: Mon, 30 Mar 2020 07:24:16 +0200 [thread overview]
Message-ID: <20200330052419.3804-2-xypron.glpk@gmx.de> (raw)
In-Reply-To: <20200330052419.3804-1-xypron.glpk@gmx.de>
Add the EXT_CSD register definition related to write protection.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
include/mmc.h | 3 +++
1 file changed, 3 insertions(+)
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 */
--
2.25.1
next prev parent reply other threads:[~2020-03-30 5:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 5:24 [PATCH 0/4] mmc: manage boot area protection Heinrich Schuchardt
2020-03-30 5:24 ` Heinrich Schuchardt [this message]
2020-03-30 5:24 ` [PATCH 2/4] mmc: export mmc_send_ext_csd() Heinrich Schuchardt
2020-03-30 5:24 ` [PATCH 3/4] cmd: mmc: display write protect state of boot partition Heinrich Schuchardt
2020-04-01 3:04 ` Jaehoon Chung
2020-04-01 6:05 ` Heinrich Schuchardt
2020-04-01 6:56 ` Jaehoon Chung
2020-03-30 5:24 ` [PATCH 4/4] cmd: mmc: provide boot area protection command Heinrich Schuchardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200330052419.3804-2-xypron.glpk@gmx.de \
--to=xypron.glpk@gmx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.