summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra186/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/tegra186/cache.c')
-rw-r--r--arch/arm/mach-tegra/tegra186/cache.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-tegra/tegra186/cache.c b/arch/arm/mach-tegra/tegra186/cache.c
deleted file mode 100644
index adaed89..0000000
--- a/arch/arm/mach-tegra/tegra186/cache.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0
- */
-
-#include <common.h>
-#include <asm/system.h>
-
-#define SMC_SIP_INVOKE_MCE 0x82FFFF00
-#define MCE_SMC_ROC_FLUSH_CACHE 11
-
-int __asm_flush_l3_cache(void)
-{
- struct pt_regs regs = {0};
-
- isb();
-
- regs.regs[0] = SMC_SIP_INVOKE_MCE | MCE_SMC_ROC_FLUSH_CACHE;
- smc_call(&regs);
-
- return 0;
-}