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

Marc Dietrich marvin24 at gmx.de
Mon Sep 10 20:51:19 CEST 2012


This enables LP0 to support suspend / resume on PAZ00.

Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
---
 board/compal/paz00/Makefile |    6 ++++--
 include/configs/paz00.h     |    8 ++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/board/compal/paz00/Makefile b/board/compal/paz00/Makefile
index 7f7287e..fbe28b3 100644
--- a/board/compal/paz00/Makefile
+++ b/board/compal/paz00/Makefile
@@ -20,9 +20,11 @@ $(shell mkdir -p $(obj)../../nvidia/common)
 
 LIB	= $(obj)lib$(BOARD).o
 
-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
 
+COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
 
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index 7e21e66..1c96f1c 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -18,6 +18,14 @@
 #define __CONFIG_H
 
 #include <asm/sizes.h>
+
+/* LP0 suspend / resume */
+#define CONFIG_TEGRA20_LP0
+#define CONFIG_AES
+#define CONFIG_TEGRA_PMU
+#define CONFIG_TPS6586X_POWER
+#define CONFIG_TEGRA_CLOCK_SCALING
+
 #include "tegra20-common.h"
 
 /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */
-- 
1.7.9.5



More information about the U-Boot mailing list