summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-04-03 11:03:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2024-04-03 14:25:33 +0200
commitfa6c38a55d8df23c97ff4b2cc6055c5796663dcf (patch)
tree075a6eb2bbe7cd4ff1467be0250d61ed9d8b379e
parent126a048039411b522e47ee4d3c067a7ae154cf3c (diff)
downloadbarebox-fa6c38a55d8d.tar.gz
barebox-fa6c38a55d8d.tar.xz
mci: remove FIXME in rca description
The FIXME was added in the commit introducing the file many years ago. The RCA is a bit special in that it's unused for SPI, reported by the card for MMC and set by the host for SD. There are comments describing this in the MCI core, so just explain the abbreviation in the documentation comment. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240403090353.2976380-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/mci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mci.h b/include/mci.h
index 5781fb8ea3..2274ca8e97 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -564,7 +564,7 @@ struct mci {
unsigned scr[2];
unsigned csd[4]; /**< card's "card specific data register" */
unsigned cid[4]; /**< card's "card identification register" */
- unsigned short rca; /* FIXME */
+ unsigned short rca; /**< relative card address */
bool sdio; /**< card is a SDIO card */
bool high_capacity; /**< high capacity card is connected (OCR -> OCR_HCS) */
unsigned tran_speed; /**< Maximum transfer speed */