Merge pull request #1663 from sudeep-holla/scpi_build_fix

plat: juno: fix build for !CSS_USE_SCMI_DRIVER
This commit is contained in:
Antonio Niño Díaz 2018-11-02 11:15:56 +01:00 committed by GitHub
commit dd756c9895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
#if CSS_USE_SCMI_SDS_DRIVER
static scmi_channel_plat_info_t juno_scmi_plat_info = {
.scmi_mbx_mem = CSS_SCMI_PAYLOAD_BASE,
.db_reg_addr = PLAT_CSS_MHU_BASE + CSS_SCMI_MHU_DB_REG_OFF,
@ -25,6 +26,7 @@ scmi_channel_plat_info_t *plat_css_get_scmi_info()
return &juno_scmi_plat_info;
}
#endif
/*
* On Juno, the system power level is the highest power level.
* The first entry in the power domain descriptor specifies the