Merge branch '2018-12-06-master-imports'
[oweals/u-boot.git] / arch / arm / mach-stm32mp / include / mach / sys_proto.h
1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
2 /*
3  * Copyright (C) 2015-2017, STMicroelectronics - All Rights Reserved
4  */
5
6 #define CPU_STMP32MP15x 0x500
7
8 /* return CPU_STMP32MPxx constants */
9 u32 get_cpu_type(void);
10
11 #define CPU_REVA        0x1000
12 #define CPU_REVB        0x2000
13
14 /* return CPU_REV constants */
15 u32 get_cpu_rev(void);