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:
Rex-BC Chen 2022-10-14 16:19:25 +08:00 committed by Liju-Clr Chen
parent 797d7446a0
commit 0b1186a3e6
4 changed files with 4 additions and 2 deletions

View file

@ -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,PLAT_XLAT_TABLES_DYNAMIC))
$(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,UART_CLOCK))
$(eval $(call add_defined_option,UART_BAUDRATE))

View file

@ -12,7 +12,7 @@
#include <lib/psci/psci.h>
#include <lib/utils.h>
#ifdef MTK_PUBEVENT_ENABLE
#include <mtk_event/mtk_pubsub_events.h>
#include <vendor_pubsub_events.h>
#endif
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>

View file

@ -9,7 +9,7 @@
#include <lib/psci/psci.h>
#if MTK_PUBEVENT_ENABLE
#include <mtk_event/mtk_pubsub_events.h>
#include <vendor_pubsub_events.h>
#endif
#define MTK_CPUPM_E_OK (0)

View file

@ -42,6 +42,7 @@ CONFIG_MTK_CPU_PM_ARCH := 3_2
CONFIG_MTK_SMP_EN := y
CONFIG_MTK_CPU_SUSPEND_EN := y
CPU_PM_TINYSYS_SUPPORT := y
MTK_PUBEVENT_ENABLE := y
MACH_MT8188 := 1
$(eval $(call add_define,MACH_MT8188))