Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
8c12045a
Commit
8c12045a
authored
Mar 01, 2007
by
Stefan Roese
Browse files
[PATCH] I2C: Add missing default CFG_RTC_BUS_NUM & CFG_DTT_BUS_NUM
Signed-off-by:
Stefan Roese
<
sr@denx.de
>
parent
74357114
Changes
1
Show whitespace changes
Inline
Side-by-side
include/i2c.h
View file @
8c12045a
...
@@ -56,6 +56,14 @@
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment