Include arm_spm_def.h in the platform_def.h file. Without this inclusion, we get build errors like In file included from services/std_svc/spm/sp_setup.c:12:0: services/std_svc/spm/sp_setup.c: In function 'spm_sp_setup': services/std_svc/spm/sp_setup.c:61:57: error: 'PLAT_SPM_BUF_BASE' undeclared (first use in this function) write_ctx_reg(get_gpregs_ctx(ctx), CTX_GPREG_X0, PLAT_SPM_BUF_BASE); Now that the platform_def.h includes arm_spm_def.h, remove inclusion of platform_def.h in arm_spm_def.h to remove the circular dependency. Change-Id: I5225c8ca33fd8d288849524395e436c3d56daf17 Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com> |
||
---|---|---|
.. | ||
aarch64 | ||
fdts | ||
include | ||
sgi-common.mk | ||
sgi_bl1_setup.c | ||
sgi_bl31_setup.c | ||
sgi_image_load.c | ||
sgi_interconnect.c | ||
sgi_plat.c | ||
sgi_plat_config.c | ||
sgi_security.c | ||
sgi_topology.c |