mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
[PATCH] I2C: Add missing default CFG_RTC_BUS_NUM & CFG_DTT_BUS_NUM
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
743571145b
commit
8c12045a3b
1 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,14 @@
|
||||||
#define I2C_SET_BUS(a)
|
#define I2C_SET_BUS(a)
|
||||||
#endif
|
#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
|
* Initialization, must be called once on start up, may be called
|
||||||
* repeatedly to change the speed and slave addresses.
|
* repeatedly to change the speed and slave addresses.
|
||||||
|
|
Loading…
Reference in a new issue