public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] ARM: tegra: Disable VPR
Date: Fri, 27 Jun 2014 18:21:47 +0200	[thread overview]
Message-ID: <20140627162146.GA14273@ulmo> (raw)
In-Reply-To: <1403577929-4198-1-git-send-email-acourbot@nvidia.com>

On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote:
> From: Bryan Wu <pengw@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@nvidia.com>
> Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
> Signed-off-by: Bryan Wu <pengw@nvidia.com>
> [acourbot: ensure write went through, vpr.c style changes]
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> Reviewed-by: Stephen Warren <swarren@nvidia.com>
> Cc: Tom Warren <TWarren@nvidia.com>
> Cc: Stephen Warren <swarren@nvidia.com>
> Cc: Terje Bergstrom <tbergstrom@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@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>

  reply	other threads:[~2014-06-27 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24  2:45 [U-Boot] [PATCH v3] ARM: tegra: Disable VPR Alexandre Courbot
2014-06-27 16:21 ` Thierry Reding [this message]
2014-07-02  2:17   ` Alexandre Courbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140627162146.GA14273@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox