]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:18 +0000 (08:17 +0200)
commit7ebcae292be1fcc27908734d68b5e9da9fd151c3
tree6fc960ae71b0decdb363d7e9a993783207b96416
parentc9024d6ee782fb4e842c265a0edcd253c569f7d8
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 [moved from arch/arm/mach-tegra/vpr.c with 80% similarity]
include/configs/tegra124-common.h
include/configs/tegra210-common.h