summaryrefslogtreecommitdiff
path: root/dtt
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-05 15:10:02 +0200
committerStefan Roese <sr@denx.de>2007-10-31 21:20:49 +0100
commit4f2e92c11f6e2392fc8187829211a5ca7f0c1e12 (patch)
tree7a6774567c84320f530fd9d5ca44f4ef50f198af /dtt
parent19e93b1e16d267220440d827b920fbad8abfa70f (diff)
downloadu-boot-imx-4f2e92c11f6e2392fc8187829211a5ca7f0c1e12.zip
u-boot-imx-4f2e92c11f6e2392fc8187829211a5ca7f0c1e12.tar.gz
u-boot-imx-4f2e92c11f6e2392fc8187829211a5ca7f0c1e12.tar.bz2
DTT: Prepare DS1775 driver for use of different I2C addresses
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'dtt')
-rw-r--r--dtt/ds1775.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtt/ds1775.c b/dtt/ds1775.c
index e44cee3..0fbb0b4 100644
--- a/dtt/ds1775.c
+++ b/dtt/ds1775.c
@@ -25,7 +25,7 @@
#include <i2c.h>
#include <dtt.h>
-#define DTT_I2C_DEV_CODE 0x49 /* Dallas Semi's DS1775 device code */
+#define DTT_I2C_DEV_CODE CFG_I2C_DTT_ADDR /* Dallas Semi's DS1775 device code */
int dtt_read(int sensor, int reg)
{