From: Antonio Niño Díaz Date: Thu, 25 Oct 2018 13:00:38 +0000 (+0200) Subject: Merge pull request #1638 from chandnich/sgi575-update X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31abc7c45428398a330a3a940fe4dd7efa6c96f2;p=project%2Fbcm63xx%2Fatf.git Merge pull request #1638 from chandnich/sgi575-update Sgi575 update --- 31abc7c45428398a330a3a940fe4dd7efa6c96f2 diff --cc plat/arm/css/sgi/sgi_bl31_setup.c index 3b651f3d,39580767..a16343cf --- a/plat/arm/css/sgi/sgi_bl31_setup.c +++ b/plat/arm/css/sgi/sgi_bl31_setup.c @@@ -7,23 -7,7 +7,22 @@@ #include #include #include - #include #include +#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)