blob: 8b426c08f691730ca1afd67ebbd86b4dbdbf4c50 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
Patrick Delaunay01e3afe2018-03-19 19:09:21 +01002/*
3 * Copyright (C) 2015-2017, STMicroelectronics - All Rights Reserved
Patrick Delaunay01e3afe2018-03-19 19:09:21 +01004 */
5
6#define CPU_STMP32MP15x 0x500
7
8/* return CPU_STMP32MPxx constants */
9u32 get_cpu_type(void);
10
11#define CPU_REVA 0x1000
12#define CPU_REVB 0x2000
13
14/* return CPU_REV constants */
15u32 get_cpu_rev(void);
Patrick Delaunay18660a62019-02-27 17:01:12 +010016/* return boot mode */
17u32 get_bootmode(void);