[U-Boot] [PATCH 2/2] tegra: enable lp0 on paz00

Marc Dietrich marvin24 at gmx.de
Mon Sep 10 21:53:11 CEST 2012


On Monday 10 September 2012 13:07:43 Stephen Warren wrote:
> On 09/10/2012 12:51 PM, Marc Dietrich wrote:
> > This enables LP0 to support suspend / resume on PAZ00.
> 
> Ooh. Did you test this out with the AC100 kernel, and have it work?
> That'd be pretty cool...

yeah, it would.

Unfortunately, I failed to boot a nvidia 3.1 kernel with uboot (hangs 
somewhere in usb code), so I couldn't test it so far. But I'll retry soon.
 
> > diff --git a/board/compal/paz00/Makefile b/board/compal/paz00/Makefile
> > 
> > -COBJS	:= $(BOARD).o
> > -COBJS	+= ../../nvidia/common/board.o
> > +COBJS-y	:= $(BOARD).o
> > +COBJS-y	+= ../../nvidia/common/board.o
> > +COBJS-$(CONFIG_TEGRA_CLOCK_SCALING) += ../../nvidia/common/emc.o
> 
> Hmmm. That's odd. I'd expect that to be part of the core Tegra code,
> rather than something boards have to pull in manually.

Correct, will kill it in the next try.

> > diff --git a/include/configs/paz00.h b/include/configs/paz00.h
> > 
> > +/* LP0 suspend / resume */
> > +#define CONFIG_TEGRA20_LP0
> 
> That's been renamed CONFIG_TEGRA_LP0 in u-boot-tegra/next.

Thanks for the hint. At least I have a better chance to test it now ;-)

Marc



More information about the U-Boot mailing list