aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLionel Debieve <lionel.debieve@st.com>2019-09-24 17:44:28 +0200
committerLionel Debieve <lionel.debieve@st.com>2020-01-20 11:32:59 +0100
commit0581a8877845d472f9bf6a2171e79050b8363fa7 (patch)
tree04cd915aba521a5de586f5fb3a0862718362d66d /include
parent7e51e887a71dbdb17c1d666b75c88eacfe8b7903 (diff)
downloadplatform_external_arm-trusted-firmware-0581a8877845d472f9bf6a2171e79050b8363fa7.tar.gz
platform_external_arm-trusted-firmware-0581a8877845d472f9bf6a2171e79050b8363fa7.tar.bz2
platform_external_arm-trusted-firmware-0581a8877845d472f9bf6a2171e79050b8363fa7.zip
spi: stm32_qspi: Add QSPI support
Add QSPI support (limited to read interface). Implements the memory map and indirect modes. Low level driver based on SPI-MEM operations. Change-Id: Ied698e6de3c17d977f8b497c81f2e4a0a27c0961 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/st/stm32_qspi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/drivers/st/stm32_qspi.h b/include/drivers/st/stm32_qspi.h
new file mode 100644
index 000000000..f47fca445
--- /dev/null
+++ b/include/drivers/st/stm32_qspi.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2019, STMicroelectronics - All Rights Reserved
+ *
+ * SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+ */
+
+#ifndef STM32_QSPI_H
+#define STM32_QSPI_H
+
+int stm32_qspi_init(void);
+
+#endif /* STM32_QSPI_H */