diff options
author | Stefan Roese <sr@denx.de> | 2007-03-02 06:58:53 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-03-02 06:58:53 +0100 |
commit | 87ed3bfb4214c4b39a5a642bcd851f60b3898af2 (patch) | |
tree | a0017423e9d07a9e05c07a8a1a6601a2a4d00177 /include/i2c.h | |
parent | 621a7873ef205c4325fc07c646bd1d509763b22f (diff) | |
parent | fdd1d6dcc97c595bd9d598ed3b22a7038781272c (diff) | |
download | u-boot-imx-87ed3bfb4214c4b39a5a642bcd851f60b3898af2.zip u-boot-imx-87ed3bfb4214c4b39a5a642bcd851f60b3898af2.tar.gz u-boot-imx-87ed3bfb4214c4b39a5a642bcd851f60b3898af2.tar.bz2 |
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h index 54c6f9f..d31c72d 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -56,6 +56,14 @@ #define I2C_SET_BUS(a) #endif +/* define the I2C bus number for RTC and DTT if not already done */ +#if !defined(CFG_RTC_BUS_NUM) +#define CFG_RTC_BUS_NUM 0 +#endif +#if !defined(CFG_DTT_BUS_NUM) +#define CFG_DTT_BUS_NUM 0 +#endif + /* * Initialization, must be called once on start up, may be called * repeatedly to change the speed and slave addresses. |