diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-02-27 17:01:12 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-04-12 16:09:13 +0200 |
commit | 7f63c1e687ce833d0ef12778ff46868c5458d08d (patch) | |
tree | f0bcda75e55bc989532d6ad11e2a06d53738e96f /arch/arm/mach-stm32mp/include/mach/sys_proto.h | |
parent | b4ae34b66b2d5447e0422e03bf88dd0fde31dea0 (diff) |
stm32mp1: update boot mode management
- 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>
Diffstat (limited to 'arch/arm/mach-stm32mp/include/mach/sys_proto.h')
-rw-r--r-- | arch/arm/mach-stm32mp/include/mach/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h index 41d4b40bcb..8b426c08f6 100644 --- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h +++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h @@ -13,3 +13,5 @@ u32 get_cpu_type(void); /* return CPU_REV constants */ u32 get_cpu_rev(void); +/* return boot mode */ +u32 get_bootmode(void); |