summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2016-02-22 11:09:41 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2017-02-23 10:50:31 -0800
commit9f1c5dd19b7596db74db84e2ac58c31794fb20b5 (patch)
treef9f81bd0b270df39ac71e8d5bb077d6c56765b1e /include/lib
parent990c1e0113bdcbd17bab2954d2c216001503c509 (diff)
cpus: denver: disable DCO operations from platform code
This patch moves the code to disable DCO operations out from common CPU files. This allows the platform code to call thsi API as and when required. There are certain CPU power down states which require the DCO to be kept ON and platforms can decide selectively now. Change-Id: Icb946fe2545a7d8c5903c420d1ee169c4921a2d1 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/cpus/aarch64/denver.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/lib/cpus/aarch64/denver.h b/include/lib/cpus/aarch64/denver.h
index 0de094a4..e0835337 100644
--- a/include/lib/cpus/aarch64/denver.h
+++ b/include/lib/cpus/aarch64/denver.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,4 +44,11 @@
/* CPU state ids - implementation defined */
#define DENVER_CPU_STATE_POWER_DOWN 0x3
+#ifndef __ASSEMBLY__
+
+/* Disable Dynamic Code Optimisation */
+void denver_disable_dco(void);
+
+#endif
+
#endif /* __DENVER_H__ */