summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-05-14 14:22:11 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:37:20 +0800
commita1c0e62f7d4a270924762fda1f5753a05416c7d9 (patch)
treec727b34dfbf07c0fa7a33b72732f340a84b96606 /arch/arm/plat-mxc/include
parentb3743135efb7fffffb864e468a922afa537222d9 (diff)
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>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx6.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx6.h b/arch/arm/plat-mxc/include/mach/mx6.h
index 79093aad6477..3424c5485b71 100644
--- a/arch/arm/plat-mxc/include/mach/mx6.h
+++ b/arch/arm/plat-mxc/include/mach/mx6.h
@@ -269,6 +269,9 @@
#define AIPS2_SIZE SZ_1M
#define ARM_PERIPHBASE_SIZE (SZ_8K + SZ_4K)
+#define SRC_GPR9 0x40
+#define SRC_GPR10 0x44
+
/* GPC offsets */
#define MXC_GPC_CNTR_OFFSET 0x0