Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
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
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
Florian Mayer
u-boot
Commits
c855ef67
Commit
c855ef67
authored
19 years ago
by
Markus Klotzbuecher
Committed by
Markus Klotzbcher
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
delta board: fix DA9030 reset procedure.
parent
2770bcb2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/delta/delta.c
+10
-3
10 additions, 3 deletions
board/delta/delta.c
include/configs/delta.h
+2
-3
2 additions, 3 deletions
include/configs/delta.h
with
12 additions
and
6 deletions
board/delta/delta.c
+
10
−
3
View file @
c855ef67
...
...
@@ -89,10 +89,17 @@ static void init_DA9030()
GPIO33
=
0x801
;
/* SDA = Alt. Fkt. 1 */
/* rising Edge on EXTON */
GPIO17
=
0x8800
;
GPIO17
=
0xc800
;
/* enable pullup */
GPDR0
|=
(
1
<<
17
);
/* GPIO17 is output */
GSDR0
=
(
1
<<
17
);
GPCR0
=
(
1
<<
17
);
/* drive GPIO17 low */
udelay
(
5
);
GPIO17
=
0xc800
;
udelay
(
100000
);
/* wait for DA9030 */
GPSR0
=
(
1
<<
17
);
/* drive GPIO17 high */
#if CFG_DA9030_EXTON_DELAY
udelay
((
unsigned
long
)
CFG_DA9030_EXTON_DELAY
);
/* wait for DA9030 */
#endif
GPCR0
=
(
1
<<
17
);
/* drive GPIO17 low */
GPIO17
=
0x8800
;
/* disable pullup */
/* reset the watchdog and go active (0xec) */
val
=
(
SYS_CONTROL_A_HWRES_ENABLE
|
...
...
This diff is collapsed.
Click to expand it.
include/configs/delta.h
+
2
−
3
View file @
c855ef67
...
...
@@ -62,6 +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 CONFIG_HW_WATCHDOG 1 /\* Required for hitting the DA9030 WD *\/ */
/*
...
...
@@ -133,9 +134,7 @@
#define CFG_HZ 3250000
/* incrementer freq: 3.25 MHz */
/* Monahans Core Frequency =
*
*/
/* Monahans Core Frequency */
#define CFG_MONAHANS_RUN_MODE_OSC_RATIO 16
/* valid values: 8, 16, 24, 31 */
#define CFG_MONAHANS_TURBO_RUN_MODE_RATIO 1
/* valid values: 1, 2 */
...
...
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