stm32mp1_dbgmcu.h 401 B

12345678910111213141516
  1. /*
  2. * Copyright (c) 2015-2021, STMicroelectronics - All Rights Reserved
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef STM32MP1_DBGMCU_H
  7. #define STM32MP1_DBGMCU_H
  8. #include <stdint.h>
  9. /* Get chip version and ID from DBGMCU registers */
  10. int stm32mp1_dbgmcu_get_chip_version(uint32_t *chip_version);
  11. int stm32mp1_dbgmcu_get_chip_dev_id(uint32_t *chip_dev_id);
  12. #endif /* STM32MP1_DBGMCU_H */