diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 22:56:07 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 14:33:08 -0500 |
commit | 2f334a3896714b47e24cc4cd08eed11d1a7f0d8e (patch) | |
tree | b9698fae56bb2f5bdcadd35667ef59669d76cf7d /arch/arm/mach-omap2/Makefile | |
parent | baa689b8b2e9a6ae1eb7aa49246276d838345a39 (diff) |
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 <hvaibhav@ti.com> identified an unused prototype in
the first version of this patch - now removed. Tony Lindgren
<tony@atomide.com> noted a compile problem with some RMK Kconfigs;
resolved in this patch.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index ae87a3ea53ae..1988810c9de7 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -50,6 +50,11 @@ AFLAGS_sram242x.o :=-Wa,-march=armv6 | |||
50 | AFLAGS_sram243x.o :=-Wa,-march=armv6 | 50 | AFLAGS_sram243x.o :=-Wa,-march=armv6 |
51 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a | 51 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a |
52 | 52 | ||
53 | # Restart code (OMAP4/5 currently in omap4-common.c) | ||
54 | obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o | ||
55 | obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o | ||
56 | obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o | ||
57 | |||
53 | # Pin multiplexing | 58 | # Pin multiplexing |
54 | obj-$(CONFIG_SOC_OMAP2420) += mux2420.o | 59 | obj-$(CONFIG_SOC_OMAP2420) += mux2420.o |
55 | obj-$(CONFIG_SOC_OMAP2430) += mux2430.o | 60 | obj-$(CONFIG_SOC_OMAP2430) += mux2430.o |