diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2018-06-13 20:37:25 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2018-06-13 20:37:50 +0200 |
commit | fb83888b61ebe0e069adec14d50c3a26dc3aacdb (patch) | |
tree | d71dd33e28aeb47dc76408d3e4ef59f6106f4bdd /plat/rockchip/rk3399 | |
parent | ed4cf49020b62fadd994dfa96f74151abb105cf4 (diff) | |
download | trusted-firmware-a-fb83888b61ebe0e069adec14d50c3a26dc3aacdb.tar.gz |
rockchip: Move stdint header to the offending header file
The stdint header was introduced to rk3399's plat_sip_calls.c in order
to fix missing stdint definitions. However, ordering headers
alphabetically caused the fix to be ineffective, as stint was then
included after the offending header file (dfs.h).
Move the stdint include to that header to properly fix the issue.
Change-Id: Ieaad37a7932786971488ab58fc5b169bfa79e197
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'plat/rockchip/rk3399')
-rw-r--r-- | plat/rockchip/rk3399/drivers/dram/dfs.h | 2 | ||||
-rw-r--r-- | plat/rockchip/rk3399/plat_sip_calls.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/drivers/dram/dfs.h b/plat/rockchip/rk3399/drivers/dram/dfs.h index 679216c84c..e847b2e0e1 100644 --- a/plat/rockchip/rk3399/drivers/dram/dfs.h +++ b/plat/rockchip/rk3399/drivers/dram/dfs.h @@ -7,6 +7,8 @@ #ifndef __SOC_ROCKCHIP_RK3399_DFS_H__ #define __SOC_ROCKCHIP_RK3399_DFS_H__ +#include <stdint.h> + struct rk3399_sdram_default_config { unsigned char bl; /* 1:auto precharge, 0:never auto precharge */ diff --git a/plat/rockchip/rk3399/plat_sip_calls.c b/plat/rockchip/rk3399/plat_sip_calls.c index ae74c9c405..3f0f619f26 100644 --- a/plat/rockchip/rk3399/plat_sip_calls.c +++ b/plat/rockchip/rk3399/plat_sip_calls.c @@ -11,7 +11,6 @@ #include <plat_sip_calls.h> #include <rockchip_sip_svc.h> #include <runtime_svc.h> -#include <stdint.h> #define RK_SIP_DDR_CFG 0x82000008 #define DRAM_INIT 0x00 |