Skip to content
Commit 896a0f36 authored by Shriram's avatar Shriram Committed by Girish Pathak
Browse files

module/smt: allow smt mailbox init without power domain module



This patch enables smt mailbox to be initialized without the power
domain module included in the firmware. This can be used by mcp ramfw
which does not include power domain module but uses smt module. Hence
BUILD_HAS_MOD_POWER_DOMAIN macro is used to conditionally compile the
code that subscribes to power domain state transition notifications
and initializes the mailbox based on the notification from power domain
module. Also add a condition such that the shared mailbox can be
initialized by the completer type smt channels only.

If the power domain module is not included in the firmware build then
the smt module initializes the smt mailbox during the start phase.

Signed-off-by: Shriram's avatarShriram K <shriram.k@arm.com>
Change-Id: I56531f635c55f1414be548594778f0c9c6a2deb9
parent 51b33e0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment