diff options
Diffstat (limited to 'include/plat/arm/css/common/css_def.h')
-rw-r--r-- | include/plat/arm/css/common/css_def.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/plat/arm/css/common/css_def.h b/include/plat/arm/css/common/css_def.h index 6f9d6401..0b74cede 100644 --- a/include/plat/arm/css/common/css_def.h +++ b/include/plat/arm/css/common/css_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -48,6 +48,17 @@ CSS_IRQ_SEC_SYS_TIMER /* + * The lower Non-secure MHU channel is being used for SCMI for ARM Trusted + * Firmware. + * TODO: Move SCMI to Secure channel once the migration to SCMI in SCP is + * complete. + */ +#define MHU_CPU_INTR_L_SET_OFFSET 0x108 +#define MHU_CPU_INTR_H_SET_OFFSET 0x128 +#define CSS_SCMI_PAYLOAD_BASE (NSRAM_BASE + 0x500) +#define CSS_SCMI_MHU_DB_REG_OFF MHU_CPU_INTR_L_SET_OFFSET + +/* * SCP <=> AP boot configuration * * The SCP/AP boot configuration is a 32-bit word located at a known offset from @@ -63,6 +74,11 @@ CSS_DEVICE_SIZE, \ MT_DEVICE | MT_RW | MT_SECURE) +#define CSS_MAP_NSRAM MAP_REGION_FLAT( \ + NSRAM_BASE, \ + NSRAM_SIZE, \ + MT_DEVICE | MT_RW | MT_SECURE) + /* Platform ID address */ #define SSC_VERSION_OFFSET 0x040 |