Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
4f2e92c1
Commit
4f2e92c1
authored
17 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
DTT: Prepare DS1775 driver for use of different I2C addresses
Signed-off-by:
Stefan Roese
<
sr@denx.de
>
parent
19e93b1e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
dtt/ds1775.c
+1
-1
1 addition, 1 deletion
dtt/ds1775.c
include/configs/taihu.h
+1
-0
1 addition, 0 deletions
include/configs/taihu.h
with
2 additions
and
1 deletion
dtt/ds1775.c
+
1
−
1
View file @
4f2e92c1
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include
<i2c.h>
#include
<i2c.h>
#include
<dtt.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
)
int
dtt_read
(
int
sensor
,
int
reg
)
{
{
...
...
This diff is collapsed.
Click to expand it.
include/configs/taihu.h
+
1
−
0
View file @
4f2e92c1
...
@@ -244,6 +244,7 @@ unsigned char spi_read(void);
...
@@ -244,6 +244,7 @@ unsigned char spi_read(void);
/* standard dtt sensor configuration */
/* standard dtt sensor configuration */
#define CONFIG_DTT_DS1775 1
#define CONFIG_DTT_DS1775 1
#define CONFIG_DTT_SENSORS { 0 }
#define CONFIG_DTT_SENSORS { 0 }
#define CFG_I2C_DTT_ADDR 0x49
/*-----------------------------------------------------------------------
/*-----------------------------------------------------------------------
* PCI stuff
* PCI stuff
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment