blob: 3663bce67f830ff2b3b15aed7935bd9603f3012c [file] [log] [blame]
Yann Gautier091eab52019-06-04 18:06:34 +02001/*
Yann Gautier076c5942021-09-15 14:49:48 +02002 * Copyright (c) 2015-2021, STMicroelectronics - All Rights Reserved
Yann Gautier091eab52019-06-04 18:06:34 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef STM32MP1_DBGMCU_H
8#define STM32MP1_DBGMCU_H
9
Yann Gautierc7374052019-06-04 18:02:37 +020010#include <stdint.h>
11
12/* Get chip version and ID from DBGMCU registers */
13int stm32mp1_dbgmcu_get_chip_version(uint32_t *chip_version);
14int stm32mp1_dbgmcu_get_chip_dev_id(uint32_t *chip_dev_id);
15
Yann Gautier091eab52019-06-04 18:06:34 +020016#endif /* STM32MP1_DBGMCU_H */