soc: qcom: eud: Fix enable status for secure mode
Currently, the EUD driver performs the check if bootloaders
have already enabled the EUD hardware by doing a logical OR
of EUD_CSR_EUD_EN (non-secure) and EUD_EUD_EN2 (secure), even
if the driver is configured to work in secure mode, which is
incorrect. Hence, check the status of the EUD hardware by only
looking at the respective register for that particular mode.
Change-Id: I9f005557ddb10e304fa5da723b13c1f1108d1a6f
Signed-off-by:
Raghavendra Rao Ananta <rananta@codeaurora.org>
Loading
Please register or sign in to comment