forked from msm8916-mainline/qhypstub
-
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.
Bring RPM out of reset on initial boot-up
Looking closer at the Linux kernel log I notice that all RPM regulators seem to be suddenly broken: adv7511 3-0039: failed to init regulators Poking some registers it looks like RPM is still in reset, because 0x1860000 (GCC_APSS_MISC) still has the reset bit set. Apparently, the HYP firmware is also responsible for bringing RPM out of reset on the initial boot-up. Implementing this isn't that hard, so add some additional assembly to store if this is the initial boot and clear the reset bit if necessary. This makes the RPM regulators work again! :)
- Loading branch information
1 parent
830f754
commit 2aa3d61
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ SECTIONS { | |
. = 0x86400000; | ||
|
||
.text : { *(.text) } | ||
.data : { *(.data) } | ||
} |
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