summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/psci.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-06-14 21:21:00 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-18 08:59:04 +0200
commit969c08c4232181a1e93b80c3570d6a381a24e28d (patch)
tree0002e5c9aae4bf3d2e15e9cbb56f68fd69fdd20a /arch/arm/cpu/psci.c
parentfe040e0977fab29216f5039e8f9b04e6dbec859a (diff)
downloadbarebox-969c08c4232181a1e93b80c3570d6a381a24e28d.tar.gz
barebox-969c08c4232181a1e93b80c3570d6a381a24e28d.tar.xz
ARM: psci: Remove unused code in psci_entry()
Remove what looks like a leftover code that doesn't appear to be referenced anywhere. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/psci.c')
-rw-r--r--arch/arm/cpu/psci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/psci.c b/arch/arm/cpu/psci.c
index 0a7e48f8fe..1c8197aa3f 100644
--- a/arch/arm/cpu/psci.c
+++ b/arch/arm/cpu/psci.c
@@ -159,12 +159,6 @@ static unsigned long psci_system_reset(void)
void psci_entry(u32 r0, u32 r1, u32 r2, u32 r3, u32 r4, u32 r5, u32 r6,
struct arm_smccc_res *res)
{
- int mmuon;
- unsigned long ttb;
-
- mmuon = get_cr() & CR_M;
- asm volatile ("mrc p15, 0, %0, c2, c0, 0" : "=r"(ttb));
-
psci_printf("%s entry, function: 0x%08x\n", __func__, r0);
switch (r0) {