summaryrefslogtreecommitdiff
path: root/plat/mediatek
diff options
context:
space:
mode:
authoryt.lee <yt.lee@mediatek.com>2016-04-07 13:28:57 +0800
committerYidi Lin <yidi.lin@mediatek.com>2016-04-07 18:38:03 +0800
commit3454fdea07ee1b820786b173c5ec3b5df096c68e (patch)
tree877b8b520f7dc769827e07bae7b07aa5ccea2924 /plat/mediatek
parentc29164179588f066c7d07868a5ae3ce7dbc88fca (diff)
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: yt.lee <yt.lee@mediatek.com>
Diffstat (limited to 'plat/mediatek')
-rw-r--r--plat/mediatek/mt8173/drivers/spm/spm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/plat/mediatek/mt8173/drivers/spm/spm.c b/plat/mediatek/mt8173/drivers/spm/spm.c
index f28b2640..75eb61a0 100644
--- a/plat/mediatek/mt8173/drivers/spm/spm.c
+++ b/plat/mediatek/mt8173/drivers/spm/spm.c
@@ -49,10 +49,6 @@
#define SPM_SYSCLK_SETTLE 128 /* 3.9ms */
-#if DEBUG
-static int spm_dormant_sta = CPU_DORMANT_RESET;
-#endif
-
DEFINE_BAKERY_LOCK(spm_lock);
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)
wakesta->raw_sta, wakesta->idle_sta, wakesta->event_reg,
wakesta->isr);
- INFO("dormant state = %d\n", spm_dormant_sta);
return wr;
}