aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2018-10-15 09:36:44 +0200
committerYann Gautier <yann.gautier@st.com>2018-10-15 09:36:44 +0200
commita3d39cc7639ec708970def37a2dc18921c24acaa (patch)
treefe30dd5a2d12712f2ea4ce9981324f45a3cb2dcb /include
parentceaff75c9fbf04ded58edfccef3333c9a700f941 (diff)
downloadplatform_external_arm-trusted-firmware-a3d39cc7639ec708970def37a2dc18921c24acaa.tar.gz
platform_external_arm-trusted-firmware-a3d39cc7639ec708970def37a2dc18921c24acaa.tar.bz2
platform_external_arm-trusted-firmware-a3d39cc7639ec708970def37a2dc18921c24acaa.zip
stm32mp1: add an IO to read MMC devices
Whereas the GPT table is read with io_block, the binaries to be loaded (e.g. BL33) cannot use it, as it is not suitable to read them block by block, or the boot time would be very bad. Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/st/io_mmc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/drivers/st/io_mmc.h b/include/drivers/st/io_mmc.h
new file mode 100644
index 000000000..de71e7d8a
--- /dev/null
+++ b/include/drivers/st/io_mmc.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef IO_MMC_H
+#define IO_MMC_H
+
+#include <io_driver.h>
+
+int register_io_dev_mmc(const io_dev_connector_t **dev_con);
+
+#endif /* IO_MMC_H */