platform: thulium: Enable crypto engine
Enable crypto engine for kernel authentication
Change-Id: I552220cf19f02de6995668d7ce63b0e595baed8d
diff --git a/platform/thulium/acpuclock.c b/platform/thulium/acpuclock.c
index 03e1490..83cf722 100644
--- a/platform/thulium/acpuclock.c
+++ b/platform/thulium/acpuclock.c
@@ -123,6 +123,20 @@
*/
static void ce_async_reset(uint8_t instance)
{
+ if (instance == 1)
+ {
+ /* Start the block reset for CE */
+ writel(1, GCC_CE1_BCR);
+ udelay(2);
+ /* Take CE block out of reset */
+ writel(0, GCC_CE1_BCR);
+ udelay(2);
+ }
+ else
+ {
+ dprintf(CRITICAL, "Unsupported CE instance: %u\n", instance);
+ ASSERT(0);
+ }
}
void clock_ce_enable(uint8_t instance)