From: Paul Walmsley Date: Tue, 30 Oct 2012 02:56:07 +0000 (-0600) Subject: ARM: OMAP2+: PRCM: create SoC-specific chip restart functions X-Git-Tag: omap-for-v3.8/fixes-non-critical-v2-signed~1^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f334a3896714b47e24cc4cd08eed11d1a7f0d8e;p=pandora-kernel.git ARM: OMAP2+: PRCM: create SoC-specific chip restart functions Split omap_prcm_restart() from mach-omap2/prcm.c into SoC-specific variants. These functions need to be able to save the reboot reason into the scratchpad RAM. This implies a dependency on both the PRM and SCM IP blocks, so they've been moved into their own file. This will eventually call functions in the PRM and SCM drivers, once those are created. Vaibhav Hiremath identified an unused prototype in the first version of this patch - now removed. Tony Lindgren noted a compile problem with some RMK Kconfigs; resolved in this patch. Signed-off-by: Paul Walmsley Cc: Vaibhav Hiremath Tested-by: Vaibhav Hiremath Cc: Tony Lindgren --- Reading git-diff-tree failed