Merge pull request #1638 from chandnich/sgi575-update
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>
Thu, 25 Oct 2018 13:00:38 +0000 (15:00 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Oct 2018 13:00:38 +0000 (15:00 +0200)
Sgi575 update

1  2 
plat/arm/css/sgi/sgi_bl31_setup.c

index 3b651f3dcb4b7e8fb56bf9b335173f3829ffcf35,395807675d0bb400a4005ece1d19a7fd26d49af9..a16343cf0b653319a95eb5ed85409e89ca420212
@@@ -7,23 -7,7 +7,22 @@@
  #include <bl_common.h>
  #include <debug.h>
  #include <plat_arm.h>
- #include <sgi_plat_config.h>
  #include <sgi_ras.h>
 +#include "../../css/drivers/scmi/scmi.h"
 +#include "../../css/drivers/mhu/css_mhu_doorbell.h"
 +
 +static scmi_channel_plat_info_t sgi575_scmi_plat_info = {
 +              .scmi_mbx_mem = CSS_SCMI_PAYLOAD_BASE,
 +              .db_reg_addr = PLAT_CSS_MHU_BASE + CSS_SCMI_MHU_DB_REG_OFF,
 +              .db_preserve_mask = 0xfffffffe,
 +              .db_modify_mask = 0x1,
 +              .ring_doorbell = &mhu_ring_doorbell,
 +};
 +
 +scmi_channel_plat_info_t *plat_css_get_scmi_info()
 +{
 +      return &sgi575_scmi_plat_info;
 +}
  
  void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
                                u_register_t arg2, u_register_t arg3)