[nrf52840] don't reinitialize cc310 during pseudo reset (#2897)

The device hangs when reinitialize cc310.
This commit is contained in:
Shu Chen
2018-07-19 16:47:50 -05:00
committed by Jonathan Hui
parent 758e647d91
commit c863a35662
+2 -2
View File
@@ -78,12 +78,12 @@ void PlatformInit(int argc, char *argv[])
if (!gPlatformPseudoResetWasRequested)
{
nrf5UartInit();
nrf5CryptoInit();
}
#ifndef SPIS_TRANSPORT_DISABLE
nrf5SpiSlaveInit();
#endif
nrf5MiscInit();
nrf5CryptoInit();
nrf5RadioInit();
nrf5TempInit();
@@ -94,13 +94,13 @@ void PlatformDeinit(void)
{
nrf5TempDeinit();
nrf5RadioDeinit();
nrf5CryptoDeinit();
nrf5MiscDeinit();
#ifndef SPIS_TRANSPORT_DISABLE
nrf5SpiSlaveDeinit();
#endif
if (!gPlatformPseudoResetWasRequested)
{
nrf5CryptoDeinit();
nrf5UartDeinit();
}
nrf5RandomDeinit();