mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
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>
This commit is contained in:
parent
9a207532f8
commit
6e6ab282f7
10 changed files with 17 additions and 23 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <platform_def.h>
|
||||
|
||||
#include <arch.h>
|
||||
#include <arch_helpers.h>
|
||||
#include <common/debug.h>
|
||||
|
@ -21,9 +23,6 @@
|
|||
#include <lib/mmio.h>
|
||||
#include <plat/common/platform.h>
|
||||
|
||||
#include <stm32mp1_def.h>
|
||||
#include <stm32mp1_dt.h>
|
||||
|
||||
struct reg_desc {
|
||||
const char *name;
|
||||
uint16_t offset; /* Offset for base address */
|
||||
|
|
|
@ -20,10 +20,6 @@
|
|||
#include <dt-bindings/clock/stm32mp1-clks.h>
|
||||
#include <lib/mmio.h>
|
||||
|
||||
#include <boot_api.h>
|
||||
#include <stm32mp1_dt.h>
|
||||
#include <stm32mp1_private.h>
|
||||
|
||||
#define DDR_PATTERN 0xAAAAAAAAU
|
||||
#define DDR_ANTIPATTERN 0x55555555U
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue