blob: a878308baf79e8fabb7d75e51cec5281b366d35e [file] [log] [blame]
Yann Gautier091eab52019-06-04 18:06:34 +02001/*
2 * Copyright (c) 2015-2019, STMicroelectronics - All Rights Reserved
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef STM32MP1_DBGMCU_H
8#define STM32MP1_DBGMCU_H
9
10/*
11 * Freeze watchdog when a debugger is attached, if the security configuration
12 * allows it.
13 * Return 0 on success, a negative error value otherwise.
14 */
15int stm32mp1_dbgmcu_freeze_iwdg2(void);
16
17#endif /* STM32MP1_DBGMCU_H */