Commit 3454fdea authored by yt.lee's avatar yt.lee Committed by Yidi Lin
Browse files

mt8173: fix spm driver build errors



To fix build errors in following build conditions,
DEBUG=1 LOG_LEVEL<40
DEBUG=0 LOG_LEVEL>=40

Change-Id: Ib34aed07b2ae0abd8a3a46948adc9fbeaae715aa
Signed-off-by: default avataryt.lee <yt.lee@mediatek.com>
parent c2916417
...@@ -49,10 +49,6 @@ ...@@ -49,10 +49,6 @@
#define SPM_SYSCLK_SETTLE 128 /* 3.9ms */ #define SPM_SYSCLK_SETTLE 128 /* 3.9ms */
#if DEBUG
static int spm_dormant_sta = CPU_DORMANT_RESET;
#endif
DEFINE_BAKERY_LOCK(spm_lock); DEFINE_BAKERY_LOCK(spm_lock);
static int spm_hotplug_ready __section("tzfw_coherent_mem"); static int spm_hotplug_ready __section("tzfw_coherent_mem");
...@@ -378,7 +374,6 @@ enum wake_reason_t spm_output_wake_reason(struct wake_status *wakesta) ...@@ -378,7 +374,6 @@ enum wake_reason_t spm_output_wake_reason(struct wake_status *wakesta)
wakesta->raw_sta, wakesta->idle_sta, wakesta->event_reg, wakesta->raw_sta, wakesta->idle_sta, wakesta->event_reg,
wakesta->isr); wakesta->isr);
INFO("dormant state = %d\n", spm_dormant_sta);
return wr; return wr;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment