mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-30 19:11:37 +00:00
- export the function get_bootmode() and reused it in spl code - manage uart instance by alias (prepare v4.19 binding) - solve issue on nand instance - restore console for uart boot Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
17 lines
377 B
C
17 lines
377 B
C
/* 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);
|
|
/* return boot mode */
|
|
u32 get_bootmode(void);
|