forked from ARM-software/SCP-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
product/sgm776: Improve transport module init sequence
At present, the transport module delays the initialization of the shared memory channel due to dependency on the power domain responsible for the shared memory. The transport module registers a notification for the status of this power domain and waits for powered on notification, it will then initialize the channel once it receives power on notification from the power domain module. However, for some platforms power domain can be initialized early using default_power_on = true setting in respective platform-specific config_ppu*.c as many platforms have its shared memory in the SYSTOP power domain which is usually enabled by default. The reason we need above early initialization because few other modules would not be proceeding without the transport module channel initialization which would further interact with the transport module using notifications, thus deferring its initialization. If we can initialize the transport module early we can also initialize other modules early too. This change includes modifications to 1. ppu configuration that sets default_power_on = true for SYSTOP 2. Relevant modification to clock configurations, as we are enabling the required clocks before all modules are started. 3. Change the order of module initialisation in cmake file Note, this change depends on the following commits clock: allow the initial rate to be set during initialization transport: add condition to check power domain is valid Change-Id: I7d176d4c58ada0e944bb14a635efb7a3ffae3ad8 Signed-off-by: Girish Pathak <[email protected]>
- Loading branch information
1 parent
d3aae1e
commit 8851d49
Showing
10 changed files
with
39 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters