diff options
author | Yann Gautier <yann.gautier@st.com> | 2019-01-07 11:17:24 +0100 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2019-01-07 11:17:24 +0100 |
commit | 6e6ab282f70f233eb426fd93f243d8ca6922d4cc (patch) | |
tree | cd5d7e7881887a30525f88184c5bf91c57506208 /plat/st/stm32mp1/stm32mp1_def.h | |
parent | 9a207532f8216bf83fed0891fed9ed0bc72ca450 (diff) | |
download | trusted-firmware-a-6e6ab282f70f233eb426fd93f243d8ca6922d4cc.tar.gz |
stm32mp1: do not include platform header files directly in drivers
Instead, only platform_def.h is included.
The required files to be included are added in stm32mp1_def.h.
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/st/stm32mp1/stm32mp1_def.h')
-rw-r--r-- | plat/st/stm32mp1/stm32mp1_def.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h index fb21acceca..15f0432b39 100644 --- a/plat/st/stm32mp1/stm32mp1_def.h +++ b/plat/st/stm32mp1/stm32mp1_def.h @@ -11,6 +11,12 @@ #include <lib/utils_def.h> #include <lib/xlat_tables/xlat_tables_defs.h> +#ifndef __ASSEMBLY__ +#include <boot_api.h> +#include <stm32mp1_dt.h> +#include <stm32mp1_private.h> +#endif + /******************************************************************************* * STM32MP1 memory map related constants ******************************************************************************/ |