diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-10-12 10:36:56 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:01:49 +0200 |
commit | 6d5e109c04c4f655c48c0e00956c25ab80d5baa5 (patch) | |
tree | 130ccfe3b4b5dd1839bddabc3e776acd75231664 /firmware/keyspan_pda | |
parent | 02da9474428977763aeb9d146391b95c2ce9487f (diff) |
ux500: sw reset: Save SW Reset Reason before reset
Converts the reboot reason string received in SYSCALL_DEFINE4 in
sys.c into a 2 bytes reset reason code. This 16 bit value is
stored in the TCDM Memory at location: tcdm_base + 0xFF8.
The string to code mapping structure has been added in file
reboot_reasons.h and reboot_reasons.c. The code for translation
has been placed in cpu.c.
ST-Ericsson Linux next: Tested and reviewed with 2011-03-28
ST-Ericsson ID: 327863
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5fe83b824c6dbe3f61a3d77671ce845e6f81d87b
Signed-off-by: rickard evertsson <rickard.evertsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19174
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Conflicts:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu.c
Conflicts:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/include/mach/prcmu-fw-api.h
drivers/misc/shrm/shrm_protocol.c
Diffstat (limited to 'firmware/keyspan_pda')
0 files changed, 0 insertions, 0 deletions