target: msm8996: Uninitialize RPMB when SET_ROT_ONLY is enabled
QSEECOM and RPMB features are enabled when VERIFIED_BOOT or SET_ROT_ONLY
features are enabled.
Yet, the RPMB is not uninitialized beofre loading HLOS, if only
SET_ROT_ONLY is enabled.
This leads to TZ not accepting HLOS request to register the RPMB
listener.
This fix uninitializes RPMB, if SET_ROT_ONLY feature is enabled,
even without VERIFIED_BOOT feature enabled.
Change-Id: I3e6067db906ed8b889b4753e6d001388804f5036
Signed-off-by:
Amit Blay <ablay@codeaurora.org>
Loading
Please sign in to comment