[U-Boot-Users] [PATCH] ppc4xx: Fix W7OLMG compile problems by adding missing LM75 defines

Stefan Roese sr at denx.de
Wed Jul 30 10:21:01 CEST 2008


Signed-off-by: Stefan Roese <sr at denx.de>
---
 board/w7o/post2.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/board/w7o/post2.c b/board/w7o/post2.c
index e590128..6ee33eb 100644
--- a/board/w7o/post2.c
+++ b/board/w7o/post2.c
@@ -29,6 +29,12 @@
 #include "errors.h"
 #include "dtt.h"
 
+/* for LM75 DTT POST test */
+#define DTT_READ_TEMP		0x0
+#define DTT_CONFIG		0x1
+#define DTT_TEMP_HYST		0x2
+#define DTT_TEMP_SET		0x3
+
 #if defined(CONFIG_RTC_M48T35A)
 void rtctest(void)
 {
-- 
1.5.6.4





More information about the U-Boot mailing list