Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
vesta
u-boot-2015.04
Commits
1729b92c
Commit
1729b92c
authored
18 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
[PATCH] 4xx: Fix problem with board specific reset code (now for real)
Signed-off-by:
Stefan Roese
<
sr@denx.de
>
parent
cc5ee8a9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cpu/ppc4xx/cpu.c
+2
-1
2 additions, 1 deletion
cpu/ppc4xx/cpu.c
with
2 additions
and
1 deletion
cpu/ppc4xx/cpu.c
+
2
−
1
View file @
1729b92c
...
...
@@ -428,7 +428,7 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
#if defined(CONFIG_BOARD_RESET)
board_reset
();
#else
/* defined(CONFIG_BOARD_RESET) */
#else
#if defined(CFG_4xx_RESET_TYPE)
mtspr
(
dbcr0
,
CFG_4xx_RESET_TYPE
<<
28
);
#else
...
...
@@ -436,6 +436,7 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
* Initiate system reset in debug control register DBCR
*/
mtspr
(
dbcr0
,
0x30000000
);
#endif
/* defined(CFG_4xx_RESET_TYPE) */
#endif
/* defined(CONFIG_BOARD_RESET) */
return
1
;
...
...
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