summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/bootmgr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/bootmgr/main.c')
-rw-r--r--cc3200/bootmgr/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c
index 32210e6de9..ecf6de99b4 100644
--- a/cc3200/bootmgr/main.c
+++ b/cc3200/bootmgr/main.c
@@ -171,7 +171,7 @@ static void bootmgr_board_init(void) {
mperror_init0();
// clear the safe boot flag, since we can't trust its content after reset
- PRCMClearSafeBootRequest();
+ PRCMClearSpecialBit(PRCM_SAFE_BOOT_BIT);
}
//*****************************************************************************
@@ -287,7 +287,7 @@ static void wait_for_safe_boot (sBootInfo_t *psBootInfo) {
// turn off the system led
MAP_GPIOPinWrite(MICROPY_SYS_LED_PORT, MICROPY_SYS_LED_PORT_PIN, 0);
// request a safe boot to the application
- PRCMRequestSafeBoot();
+ PRCMSetSpecialBit(PRCM_SAFE_BOOT_BIT);
}
// deinit the safe boot pin
mperror_deinit_sfe_pin();