mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 22:35:42 +00:00
Merge "morello: Add changes to fix build of Morello Platform" into integration
This commit is contained in:
commit
14bac449fa
3 changed files with 11 additions and 5 deletions
|
@ -93,4 +93,7 @@
|
||||||
#define PLAT_ARM_GICC_BASE UL(0x2C000000)
|
#define PLAT_ARM_GICC_BASE UL(0x2C000000)
|
||||||
#define PLAT_ARM_GICR_BASE UL(0x300C0000)
|
#define PLAT_ARM_GICR_BASE UL(0x300C0000)
|
||||||
|
|
||||||
|
/* Number of SCMI channels on the platform */
|
||||||
|
#define PLAT_ARM_SCMI_CHANNEL_COUNT U(1)
|
||||||
|
|
||||||
#endif /* PLATFORM_DEF_H */
|
#endif /* PLATFORM_DEF_H */
|
||||||
|
|
|
@ -48,7 +48,7 @@ static scmi_channel_plat_info_t morello_scmi_plat_info = {
|
||||||
.ring_doorbell = &mhu_ring_doorbell
|
.ring_doorbell = &mhu_ring_doorbell
|
||||||
};
|
};
|
||||||
|
|
||||||
scmi_channel_plat_info_t *plat_css_get_scmi_info()
|
scmi_channel_plat_info_t *plat_css_get_scmi_info(int channel_id)
|
||||||
{
|
{
|
||||||
return &morello_scmi_plat_info;
|
return &morello_scmi_plat_info;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,15 @@ PLAT_INCLUDES := -I${MORELLO_BASE}/include
|
||||||
|
|
||||||
MORELLO_CPU_SOURCES := lib/cpus/aarch64/rainier.S
|
MORELLO_CPU_SOURCES := lib/cpus/aarch64/rainier.S
|
||||||
|
|
||||||
MORELLO_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
|
# GIC-600 configuration
|
||||||
drivers/arm/gic/v3/gicv3_main.c \
|
GICV3_SUPPORT_GIC600 := 1
|
||||||
drivers/arm/gic/v3/gicv3_helpers.c \
|
|
||||||
|
# Include GICv3 driver files
|
||||||
|
include drivers/arm/gic/v3/gicv3.mk
|
||||||
|
|
||||||
|
MORELLO_GIC_SOURCES := ${GICV3_SOURCES} \
|
||||||
plat/common/plat_gicv3.c \
|
plat/common/plat_gicv3.c \
|
||||||
plat/arm/common/arm_gicv3.c \
|
plat/arm/common/arm_gicv3.c \
|
||||||
drivers/arm/gic/v3/gic600.c
|
|
||||||
|
|
||||||
PLAT_BL_COMMON_SOURCES := ${MORELLO_BASE}/morello_plat.c \
|
PLAT_BL_COMMON_SOURCES := ${MORELLO_BASE}/morello_plat.c \
|
||||||
${MORELLO_BASE}/aarch64/morello_helper.S
|
${MORELLO_BASE}/aarch64/morello_helper.S
|
||||||
|
|
Loading…
Add table
Reference in a new issue