ARM: tegra: move VPR configuration to a later stage
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 9 Jul 2015 07:33:00 +0000 (16:33 +0900)
committerTom Warren <twarren@nvidia.com>
Thu, 6 Aug 2015 17:50:03 +0000 (10:50 -0700)
commit871d78ed1b906a79d8a6dad96a9f83dea7b9170f
tree73a86ddc08316580ee5a20962ecd84274b93dd0f
parent95486f843b73b1d8588fd304f58997b536b77ac4
ARM: tegra: move VPR configuration to a later stage

U-boot is responsible for enabling the GPU DT node after all necessary
configuration (VPR setup for T124) is performed. In order to be able to
check whether this configuration has been performed right before booting
the kernel, make it happen during board_init().

Also move VPR configuration into the more generic gpu.c file, which will
also host other GPU-related functions, and let boards specify
individually whether they need VPR setup or not.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Warren <twarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/ap.h
arch/arm/include/asm/arch-tegra/gpu.h [new file with mode: 0644]
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/ap.c
arch/arm/mach-tegra/board2.c
arch/arm/mach-tegra/gpu.c [new file with mode: 0644]
arch/arm/mach-tegra/vpr.c [deleted file]
include/configs/tegra124-common.h
include/configs/tegra210-common.h