]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00209059-1 MX6: reboot: add reboot to special function
authorZhang Jiejing <jiejing.zhang@freescale.com>
Mon, 14 May 2012 06:22:11 +0000 (14:22 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:47 +0000 (14:11 +0200)
commitc85469c74b73203533d77f39f070f7be45ffc54e
treec727b34dfbf07c0fa7a33b72732f340a84b96606
parent31bdc354d821a74c2c2d175200e3f33841c37e9c
ENGR00209059-1 MX6: reboot: add reboot to special function

add reboot to special function like mfg download mode,
android fastboot, recovery mode.

It use ASRC register to enter mfgtool download mode and other function.
For android fastboot, recovery function it use ASRC_GPR10 bit 7-8 bit,
it will checked in uboot and clear after read.

Add this feature to improve recovery function, to avoid infinit looping
enter recovery mode if some thing goes wrong in fastboot mode.
Also add convient function for developer.

usage:

download mode: "reboot download"
fastboot     : "reboot fastboot"
recovery mode: "reboot recovery"

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
arch/arm/mach-mx6/system.c
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/include/mach/mx6.h
arch/arm/plat-mxc/system.c