summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-10-19 13:57:01 +0900
committerTom Warren <twarren@nvidia.com>2015-11-12 09:21:07 -0700
commit36e5f7ce1c64b4fa0a12c82f84086f5be560b706 (patch)
treeac63d1fa07fbc47c795139d3905d5013dcff5633 /arch/arm
parentf35cb12511f5e0fe608adfab38ed44a29e9578ab (diff)
downloadu-boot-36e5f7ce1c64b4fa0a12c82f84086f5be560b706.tar.gz
u-boot-36e5f7ce1c64b4fa0a12c82f84086f5be560b706.tar.xz
u-boot-36e5f7ce1c64b4fa0a12c82f84086f5be560b706.zip
ARM: tegra: remove vpr_configured() function
There is no justification for this function, especially in exported form. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-tegra/gpu.h6
-rw-r--r--arch/arm/mach-tegra/gpu.c7
2 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/include/asm/arch-tegra/gpu.h b/arch/arm/include/asm/arch-tegra/gpu.h
index 52280f40ce..2fdb2c5049 100644
--- a/arch/arm/include/asm/arch-tegra/gpu.h
+++ b/arch/arm/include/asm/arch-tegra/gpu.h
@@ -11,7 +11,6 @@
#if defined(CONFIG_TEGRA_GPU)
void config_gpu(void);
-bool gpu_configured(void);
#else /* CONFIG_TEGRA_GPU */
@@ -19,11 +18,6 @@ static inline void config_gpu(void)
{
}
-static inline bool gpu_configured(void)
-{
- return false;
-}
-
#endif /* CONFIG_TEGRA_GPU */
#if defined(CONFIG_OF_LIBFDT)
diff --git a/arch/arm/mach-tegra/gpu.c b/arch/arm/mach-tegra/gpu.c
index 4ea046d3e5..dc29b79e01 100644
--- a/arch/arm/mach-tegra/gpu.c
+++ b/arch/arm/mach-tegra/gpu.c
@@ -41,18 +41,13 @@ void config_gpu(void)
_configured = true;
}
-bool vpr_configured(void)
-{
- return _configured;
-}
-
#if defined(CONFIG_OF_LIBFDT)
int gpu_enable_node(void *blob, const char *gpupath)
{
int offset;
- if (vpr_configured()) {
+ if (_configured) {
offset = fdt_path_offset(blob, gpupath);
if (offset > 0) {
fdt_status_okay(blob, offset);