summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/gpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-11-12 15:59:35 -0500
committerTom Rini <trini@konsulko.com>2015-11-12 19:32:51 -0500
commitbc80109b117abe4ed2cd4d12c8dc188561bc298e (patch)
treec51f0fcaa1bcc0c17a1119f7d47a0b943b063c7f /arch/arm/mach-tegra/gpu.c
parent42d1b818a866840a5009309b4901b5ce28572467 (diff)
parente1cf5278024eb5c72abd69d6bda266ffc5832941 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'arch/arm/mach-tegra/gpu.c')
-rw-r--r--arch/arm/mach-tegra/gpu.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/gpu.c b/arch/arm/mach-tegra/gpu.c
index 4ea046d3e5..c7d705d8ef 100644
--- a/arch/arm/mach-tegra/gpu.c
+++ b/arch/arm/mach-tegra/gpu.c
@@ -25,7 +25,7 @@
static bool _configured;
-void config_gpu(void)
+void tegra_gpu_config(void)
{
struct mc_ctlr *mc = (struct mc_ctlr *)NV_PA_MC_BASE;
@@ -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 tegra_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);