Initial commit
Initial commit.
This commit is contained in:
24
bootloader/mcuboot/boot/zephyr/include/nrf_cleanup.h
Normal file
24
bootloader/mcuboot/boot/zephyr/include/nrf_cleanup.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
||||
*/
|
||||
|
||||
#ifndef H_NRF_CLEANUP_
|
||||
#define H_NRF_CLEANUP_
|
||||
|
||||
/**
|
||||
* Perform cleanup on some peripheral resources used by MCUBoot prior chainload
|
||||
* the application.
|
||||
*
|
||||
* This function disables all RTC instances and UARTE instances.
|
||||
* It Disables their interrupts signals as well.
|
||||
*/
|
||||
void nrf_cleanup_peripheral(void);
|
||||
|
||||
/**
|
||||
* Perform cleanup of non-secure RAM that may have been used by MCUBoot.
|
||||
*/
|
||||
void nrf_cleanup_ns_ram(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user