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
89f2dfa4
Commit
89f2dfa4
authored
19 years ago
by
Markus Klotzbuecher
Committed by
Markus Klotzbcher
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
delta board: minor update to DA9030 code.
parent
c855ef67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/delta/delta.c
+4
-2
4 additions, 2 deletions
board/delta/delta.c
include/configs/delta.h
+1
-1
1 addition, 1 deletion
include/configs/delta.h
with
5 additions
and
3 deletions
board/delta/delta.c
+
4
−
2
View file @
89f2dfa4
...
...
@@ -106,8 +106,10 @@ static void init_DA9030()
(
0x6
<<
4
)
|
SYS_CONTROL_A_WDOG_ACTION
|
SYS_CONTROL_A_WATCHDOG
);
i2c_reg_write
(
addr
,
SYS_CONTROL_A
,
val
);
if
(
i2c_write
(
addr
,
SYS_CONTROL_A
,
1
,
&
val
,
1
))
{
printf
(
"Error accessing DA9030 via i2c.
\n
"
);
return
;
}
i2c_reg_write
(
addr
,
REG_CONTROL_1_97
,
0xfd
);
/* disable LDO1, enable LDO6 */
i2c_reg_write
(
addr
,
LDO2_3
,
0xd1
);
/* LDO2 =1,9V, LDO3=3,1V */
...
...
This diff is collapsed.
Click to expand it.
include/configs/delta.h
+
1
−
1
View file @
89f2dfa4
...
...
@@ -62,7 +62,7 @@
#define CFG_I2C_SPEED 400000
/* I2C speed */
#define CFG_I2C_SLAVE 1
/* I2C controllers address */
#define DA9030_I2C_ADDR 0x49
/* I2C address of DA9030 */
#define CFG_DA9030_EXTON_DELAY 0
/* wait x us after DA9030 reset via EXTON */
#define CFG_DA9030_EXTON_DELAY
10000
0
/* wait x us after DA9030 reset via EXTON */
/* #define CONFIG_HW_WATCHDOG 1 /\* Required for hitting the DA9030 WD *\/ */
/*
...
...
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