mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 13:55:56 +00:00
feat(mt8188): enable MTK_PUBEVENT_ENABLE
Enable MTK_PUBEVENT_ENABLE for subscribing CPUPM events. This patch also corrects the header file naming. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: Iabd89a4ead21ccafa833390367484bfea5d351f6
This commit is contained in:
parent
797d7446a0
commit
0b1186a3e6
4 changed files with 4 additions and 2 deletions
|
@ -12,6 +12,7 @@ $(eval $(call add_defined_option,MTK_BL31_AS_BL2))
|
||||||
$(eval $(call add_defined_option,MTK_BL33_IS_64BIT))
|
$(eval $(call add_defined_option,MTK_BL33_IS_64BIT))
|
||||||
$(eval $(call add_defined_option,PLAT_XLAT_TABLES_DYNAMIC))
|
$(eval $(call add_defined_option,PLAT_XLAT_TABLES_DYNAMIC))
|
||||||
$(eval $(call add_defined_option,MTK_ADAPTED))
|
$(eval $(call add_defined_option,MTK_ADAPTED))
|
||||||
|
$(eval $(call add_defined_option,MTK_PUBEVENT_ENABLE))
|
||||||
$(eval $(call add_defined_option,MTK_SOC))
|
$(eval $(call add_defined_option,MTK_SOC))
|
||||||
$(eval $(call add_defined_option,UART_CLOCK))
|
$(eval $(call add_defined_option,UART_CLOCK))
|
||||||
$(eval $(call add_defined_option,UART_BAUDRATE))
|
$(eval $(call add_defined_option,UART_BAUDRATE))
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <lib/psci/psci.h>
|
#include <lib/psci/psci.h>
|
||||||
#include <lib/utils.h>
|
#include <lib/utils.h>
|
||||||
#ifdef MTK_PUBEVENT_ENABLE
|
#ifdef MTK_PUBEVENT_ENABLE
|
||||||
#include <mtk_event/mtk_pubsub_events.h>
|
#include <vendor_pubsub_events.h>
|
||||||
#endif
|
#endif
|
||||||
#include <plat/arm/common/plat_arm.h>
|
#include <plat/arm/common/plat_arm.h>
|
||||||
#include <plat/common/platform.h>
|
#include <plat/common/platform.h>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include <lib/psci/psci.h>
|
#include <lib/psci/psci.h>
|
||||||
|
|
||||||
#if MTK_PUBEVENT_ENABLE
|
#if MTK_PUBEVENT_ENABLE
|
||||||
#include <mtk_event/mtk_pubsub_events.h>
|
#include <vendor_pubsub_events.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MTK_CPUPM_E_OK (0)
|
#define MTK_CPUPM_E_OK (0)
|
||||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_MTK_CPU_PM_ARCH := 3_2
|
||||||
CONFIG_MTK_SMP_EN := y
|
CONFIG_MTK_SMP_EN := y
|
||||||
CONFIG_MTK_CPU_SUSPEND_EN := y
|
CONFIG_MTK_CPU_SUSPEND_EN := y
|
||||||
CPU_PM_TINYSYS_SUPPORT := y
|
CPU_PM_TINYSYS_SUPPORT := y
|
||||||
|
MTK_PUBEVENT_ENABLE := y
|
||||||
|
|
||||||
MACH_MT8188 := 1
|
MACH_MT8188 := 1
|
||||||
$(eval $(call add_define,MACH_MT8188))
|
$(eval $(call add_define,MACH_MT8188))
|
||||||
|
|
Loading…
Add table
Reference in a new issue