Commit 3d0d0a1b authored by Etienne Carriere's avatar Etienne Carriere
Browse files

drivers/stm32_hash: register resources as secure or not



Register in the shared resources driver the secure or non-secure state
of the HASH instances. Note that only BL32 needs to register the
shared peripheral because BL2 does not embed the shared resources
driver.

Change-Id: I7f78fa8e47da71d48ef8b1dfe4d6f040fe918d8b
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
parent 66de6f3c
......@@ -300,7 +300,9 @@ int stm32_hash_register(void)
break;
}
#else
/* BL32 uses hash if it is assigned only to secure world */
if (hash_info.status == DT_SECURE) {
stm32mp_register_secure_periph_iomem(hash_info.base);
break;
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment