From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Fri, 27 Jun 2014 18:21:47 +0200 Subject: [U-Boot] [PATCH v3] ARM: tegra: Disable VPR In-Reply-To: <1403577929-4198-1-git-send-email-acourbot@nvidia.com> References: <1403577929-4198-1-git-send-email-acourbot@nvidia.com> Message-ID: <20140627162146.GA14273@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote: > From: Bryan Wu > > 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 > Signed-off-by: Jimmy Zhang > Signed-off-by: Bryan Wu > [acourbot: ensure write went through, vpr.c style changes] > Signed-off-by: Alexandre Courbot > Reviewed-by: Stephen Warren > Cc: Tom Warren > Cc: Stephen Warren > Cc: Terje Bergstrom > --- > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: