summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/include/mach/sys_proto.h
blob: 41d4b40bcb4fccb0975cf4a78285465ec73230b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
/*
 * Copyright (C) 2015-2017, STMicroelectronics - All Rights Reserved
 */

#define CPU_STMP32MP15x	0x500

/* return CPU_STMP32MPxx constants */
u32 get_cpu_type(void);

#define CPU_REVA	0x1000
#define CPU_REVB	0x2000

/* return CPU_REV constants */
u32 get_cpu_rev(void);