mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
stm32mp: add check of cpu identifier
Add support of DBGMCU_IDC for cpu identifier and revision Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Tom Rini
parent
cda3dcb670
commit
96583cdc2d
16
arch/arm/mach-stm32mp/include/mach/sys_proto.h
Normal file
16
arch/arm/mach-stm32mp/include/mach/sys_proto.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2015-2017, STMicroelectronics - All Rights Reserved
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause
|
||||
*/
|
||||
|
||||
#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);
|
Reference in New Issue
Block a user