Skip to contentSkip to conversation

ARM: tegra: remove tegra EMC scaling driver

PATCH New Stephen Warren 1 participant 2 messages Feb 18, 2014 – Feb 25, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: remove tegra EMC scaling driver

From: Stephen Warren <[email protected]>

Nothing calls into the Tegra EMC (External Memory Controller) scaling driver any more, so it's dead code. Remove it.

---
 arch/arm/mach-tegra/Makefile     |   1 -
 arch/arm/mach-tegra/tegra2_emc.c | 347 ---------------------------------------
 arch/arm/mach-tegra/tegra2_emc.h |  24 ---
 3 files changed, 372 deletions(-)
 delete mode 100644 arch/arm/mach-tegra/tegra2_emc.c
 delete mode 100644 arch/arm/mach-tegra/tegra2_emc.h
arch/arm/mach-tegra/Makefile +0 -1
index 019bb1758662..6fbfbb77dcd9 100644
@@ -14,7 +14,6 @@ obj-y					+= sleep.o
 obj-y					+= tegra.o
 obj-$(CONFIG_CPU_IDLE)			+= cpuidle.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= tegra20_speedo.o
-obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= tegra2_emc.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= sleep-tegra20.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= pm-tegra20.o
 ifeq ($(CONFIG_CPU_IDLE),y)
arch/arm/mach-tegra/tegra2_emc.c deleted +0 -347

347 lines not on this page · raw message

arch/arm/mach-tegra/tegra2_emc.h deleted +0 -24
deleted file mode 100644
index f61409b54cb7..000000000000
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2011 Google, Inc.
- *
- * Author:
- *	Colin Cross <[email protected]>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __MACH_TEGRA_TEGRA2_EMC_H_
-#define __MACH_TEGRA_TEGRA2_EMC_H
-
-int tegra_emc_set_rate(unsigned long rate);
-long tegra_emc_round_rate(unsigned long rate);
-
-#endif
Signature · 1 line
1.8.1.5
author Applied
#1 lore raw

PATCH 1/1 ARM: tegra: remove tegra EMC scaling driver

Quoted 2 lines · Stephen Warren

Nothing calls into the Tegra EMC (External Memory Controller) scaling driver any more, so it's dead code. Remove it.

I have applied this to Tegra's for-3.15/soc branch.