summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq/common.h
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2013-10-31 20:10:15 +0400
committerMichal Simek <michal.simek@xilinx.com>2013-12-10 17:17:55 +0400
commit6a37ff388a0b5f39062b883ae2a0f5c742c2492b (patch)
tree1dbce0d979b08ee077fe83b9e48961b8f14b495d /arch/arm/mach-zynq/common.h
parent11e031308ba660b31ffaf31f0295a2c1c358b574 (diff)
downloadlinux-6a37ff388a0b5f39062b883ae2a0f5c742c2492b.tar.xz
arm: zynq: Invalidate L1 in secondary boot
During boot, Linux initiates a clean-invalidate operation only, resulting in faulty data to be written to the memory system during resume. Therefore invalidate the L1 in the secondary boot path to avoid these issues. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/common.h')
-rw-r--r--arch/arm/mach-zynq/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/mach-zynq/common.h
index 3040d219570f..c22c92cea8cb 100644
--- a/arch/arm/mach-zynq/common.h
+++ b/arch/arm/mach-zynq/common.h
@@ -17,6 +17,8 @@
#ifndef __MACH_ZYNQ_COMMON_H__
#define __MACH_ZYNQ_COMMON_H__
+void zynq_secondary_startup(void);
+
extern int zynq_slcr_init(void);
extern void zynq_slcr_system_reset(void);
extern void zynq_slcr_cpu_stop(int cpu);