u-boot-brain/arch/arm/mach-stm32mp
Patrick Delaunay 9a2ba2838b stm32mp1: support forced boot mode
The boot mode can be forced by key press
or by TAMP register, requested in kernel by syscon-reboot-mode

tamp: tamp@5c00a000 {
	compatible = "simple-bus", "syscon", "simple-mfd";
	reg = <0x5c00a000 0x400>;

	reboot-mode {
		compatible = "syscon-reboot-mode";
		offset = <0x150>; /* reg20 */
		mask = <0xff>;
		mode-normal = <0>;
		mode-fastboot = <0x1>;
		mode-recovery = <0x2>;
		mode-stm32cubeprogrammer = <0x3>;
		mode-ums_mmc0 = <0x10>;
		mode-ums_mmc1 = <0x11>;
		mode-ums_mmc2 = <0x12>;
	};
};

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2019-04-12 16:09:13 +02:00
..
include/mach stm32mp1: support forced boot mode 2019-04-12 16:09:13 +02:00
bsec.c stm32mp1: bsec: access with SMC for trusted boot 2019-04-12 16:09:13 +02:00
config.mk stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
cpu.c stm32mp1: support forced boot mode 2019-04-12 16:09:13 +02:00
dram_init.c SPDX: Convert all of our multiple license tags to Linux Kernel style 2018-05-07 10:24:31 -04:00
Kconfig stm32mp1: cosmetic cleanup Kconfig 2019-04-12 16:09:13 +02:00
Makefile stm32mp1: add bsec driver 2018-05-26 18:19:18 -04:00
psci.c stm32mp1: cosmetic: add comment on psci_migrate_info_type return value 2019-04-12 16:09:13 +02:00
pwr_regulator.c stm32mp: regulator: add SoC pwr regulator support 2018-05-08 09:07:38 -04:00
spl.c stm32mp1: spl: hang with trace when DDR init failed 2019-04-12 16:09:13 +02:00
syscon.c stm32mp: regulator: add SoC pwr regulator support 2018-05-08 09:07:38 -04:00