aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/sdc_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/sdc_lld.h')
-rw-r--r--os/hal/templates/sdc_lld.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/os/hal/templates/sdc_lld.h b/os/hal/templates/sdc_lld.h
index 43e48afc0..4828149d2 100644
--- a/os/hal/templates/sdc_lld.h
+++ b/os/hal/templates/sdc_lld.h
@@ -78,7 +78,14 @@ typedef struct SDCDriver SDCDriver;
* @note It could be empty on some architectures.
*/
typedef struct {
- uint32_t dummy;
+ /**
+ * @brief Working area for memory consuming operations.
+ * @note It is mandatory for detecting MMC cards bigger than 2GB else it
+ * can be @p NULL.
+ * @note Memory pointed by this buffer is only used by @p sdcConnect(),
+ * afterward it can be reused for other purposes.
+ */
+ uint8_t *scratchpad;
} SDCConfig;
/**