public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 16/31] dtt: call dtt_init () conditional in init_sequence
@ 2009-01-28  9:39 Heiko Schocher
  2009-01-28 12:07 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2009-01-28  9:39 UTC (permalink / raw)
  To: u-boot

If CONFIG_SYS_DTT_BOARD_INIT is defined, dtt_init () is
not called in the init_sequence.

Signed-off-by: Heiko Schocher <hs@denx.de>
---
 include/dtt.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/dtt.h b/include/dtt.h
index 399b64a..1c8eda7 100644
--- a/include/dtt.h
+++ b/include/dtt.h
@@ -36,7 +36,9 @@
     defined(CONFIG_DTT_LM75)	|| \
     defined(CONFIG_DTT_LM81)

+#ifndef CONFIG_SYS_DTT_BOARD_INIT
 #define CONFIG_DTT				/* We have a DTT */
+#endif

 #ifndef CONFIG_DTT_ADM1021
 #define DTT_COMMERCIAL_MAX_TEMP	70		/* 0 - +70 C */
-- 
1.6.0.6

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-28 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28  9:39 [U-Boot] [PATCH 16/31] dtt: call dtt_init () conditional in init_sequence Heiko Schocher
2009-01-28 12:07 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox