[U-Boot] [PATCH v3] ARM: tegra: Disable VPR
Thierry Reding
thierry.reding at gmail.com
Fri Jun 27 18:21:47 CEST 2014
On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote:
> From: Bryan Wu <pengw at nvidia.com>
>
> On Tegra114 and Tegra124 platforms, certain display-related registers cannot
> be accessed unless the VPR registers are programmed. For bootloader, we
> probably don't care about VPR, so we disable it (which counts as programming
> it, and allows those display-related registers to be accessed.
>
> This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c
> in Chromium OS U-Boot project.
>
> Signed-off-by: Andrew Chew <achew at nvidia.com>
> Signed-off-by: Jimmy Zhang <jimmzhang at nvidia.com>
> Signed-off-by: Bryan Wu <pengw at nvidia.com>
> [acourbot: ensure write went through, vpr.c style changes]
> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
> Reviewed-by: Stephen Warren <swarren at nvidia.com>
> Cc: Tom Warren <TWarren at nvidia.com>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Terje Bergstrom <tbergstrom at nvidia.com>
> ---
> Changes since v2:
> - Remove useless switch case
>
> Changes since v1:
> - Use proper defines for fields values
> - Move MC layout to T124 arch as it is exclusive to it
> - Only compile VPR support if T124 is enabled
>
> arch/arm/cpu/tegra-common/Makefile | 1 +
> arch/arm/cpu/tegra-common/ap.c | 3 ++
> arch/arm/cpu/tegra-common/vpr.c | 35 +++++++++++++++++++++++
> arch/arm/include/asm/arch-tegra/ap.h | 9 ++++++
> arch/arm/include/asm/arch-tegra124/mc.h | 49 +++++++++++++++++++++++++++++++++
> 5 files changed, 97 insertions(+)
> create mode 100644 arch/arm/cpu/tegra-common/vpr.c
> create mode 100644 arch/arm/include/asm/arch-tegra124/mc.h
Tested-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140627/13b13c9d/attachment.pgp>
More information about the U-Boot
mailing list