summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2020-05-13 13:46:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-06-10 09:31:26 +0200
commitaff82bcd06add43c74836354ca79d57b8ceb4293 (patch)
tree65c5c9ceccf97baf5576fd420288f67c79726d5c /include
parente72bdad5c112935922adc4d389a13e0cc66c9539 (diff)
downloadbarebox-aff82bcd06add43c74836354ca79d57b8ceb4293.tar.gz
barebox-aff82bcd06add43c74836354ca79d57b8ceb4293.tar.xz
mci: core: add device parameter for eMMC boot ack
This adds an easy way to enable the boot acknowledge function of a eMMC device, without the need to frob the EXT_CSD setting via the mmc_extcsd command. A boot ack is required whenever the boot partitions are read via the fast initialization boot protocol. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.barebox.org/20200513114636.811-1-l.stach@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/mci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h
index 922aeaecf3..2098b4fbf0 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -463,7 +463,9 @@ struct mci {
u8 *ext_csd;
int probe;
struct param_d *param_boot;
+ struct param_d *param_boot_ack;
int bootpart;
+ int boot_ack_enable;
struct mci_part part[MMC_NUM_PHY_PARTITION];
int nr_parts;