1. 26 Jul, 2018 4 commits
    • Sughosh Ganu's avatar
      ARM platforms: Allow board specific definition of SP stack base · 2e4a509d
      Sughosh Ganu authored
      
      
      The SGI platforms need to allocate memory for CPER buffers. These
      platform buffers would be placed between the shared reserved memory
      and the per cpu stack memory, thus the need to redefine stack base
      pointer for these platforms. This patch allows each board in ARM
      platform to define the PLAT_SP_IMAGE_STACK_BASE.
      
      Change-Id: Ib5465448b860ab7ab0f645f7cb278a67acce7be9
      Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@arm.com>
      2e4a509d
    • Sughosh Ganu's avatar
      SGI: Include arm_spm_def.h in platform_def.h · d9cc9372
      Sughosh Ganu authored
      
      
      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: default avatarSughosh Ganu <sughosh.ganu@arm.com>
      d9cc9372
    • Sughosh Ganu's avatar
      RAS: ras_common: Add null pointer check for error record probe function · 4576f73c
      Sughosh Ganu authored
      
      
      Add a null pointer check for the error record probe
      function -- avoids a panic in case a platform has not defined it.
      
      Change-Id: I1139fa0df33297a12ec16615cacd07540925f991
      Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@arm.com>
      4576f73c
    • Sughosh Ganu's avatar
      Include board_arm_def.h through the platform's header · 46b69e3d
      Sughosh Ganu authored
      
      
      The board_arm_def.h header file needs to be included via the platform
      definition header. Not doing so, results in a redefinition error of
      PLAT_ARM_MAX_BL31_SIZE macro, if defined in the platform definition
      file.
      
      Change-Id: I1d178f6e8a6a41461e7fbcab9f6813a2faa2d82b
      Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@arm.com>
      46b69e3d
  2. 25 Jul, 2018 5 commits
  3. 24 Jul, 2018 26 commits
  4. 22 Jul, 2018 1 commit
  5. 20 Jul, 2018 4 commits