On Tue, Jun 24, 2014 at 11:45:29AM +0900, Alexandre Courbot wrote: > From: Bryan Wu <pe...@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 <ac...@nvidia.com> > Signed-off-by: Jimmy Zhang <jimmzh...@nvidia.com> > Signed-off-by: Bryan Wu <pe...@nvidia.com> > [acourbot: ensure write went through, vpr.c style changes] > Signed-off-by: Alexandre Courbot <acour...@nvidia.com> > Reviewed-by: Stephen Warren <swar...@nvidia.com> > Cc: Tom Warren <twar...@nvidia.com> > Cc: Stephen Warren <swar...@nvidia.com> > Cc: Terje Bergstrom <tbergst...@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 <tred...@nvidia.com>
pgphvNHD9uVDy.pgp
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot