summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2024-10-06 08:11:42 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-14 13:29:01 +0300
commit403a0293f1c230524e0185b31f69c02a6aed12c7 (patch)
tree4301e3ce4c6b7a55eafd7eb092198886b92a6d21 /include/linux/mmc
parent933873852cd7d23cf79794d2c0e2d13ba3481f4d (diff)
downloadlinux-403a0293f1c230524e0185b31f69c02a6aed12c7.tar.xz
mmc: core: Add open-ended Ext memory addressing
For open-ended read/write - just send CMD22 before issuing the command. Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20241006051148.160278-5-avri.altman@wdc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index f0ac2e469b32..a890a71288ef 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -96,6 +96,10 @@ struct mmc_command {
unsigned int busy_timeout; /* busy detect timeout in ms */
struct mmc_data *data; /* data segment associated with cmd */
struct mmc_request *mrq; /* associated request */
+
+ /* for SDUC */
+ bool has_ext_addr;
+ u8 ext_addr;
};
struct mmc_data {