Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
78953f2f
Commit
78953f2f
authored
20 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Patch by Paul Ruhland, 11 Jun 2004:
Remove debug code from 'board/lpd7a40x/flash.c'
parent
e55ca7e2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
board/lpd7a40x/flash.c
+2
-7
2 additions, 7 deletions
board/lpd7a40x/flash.c
with
5 additions
and
7 deletions
CHANGELOG
+
3
−
0
View file @
78953f2f
...
...
@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.1:
======================================================================
* Patch by Paul Ruhland, 11 Jun 2004:
Remove debug code from 'board/lpd7a40x/flash.c'
* Patch by Andrea Marson, 11 Jun 2004:
Update for PPChameleon board:
- support for SysClk @ 25MHz
...
...
This diff is collapsed.
Click to expand it.
board/lpd7a40x/flash.c
+
2
−
7
View file @
78953f2f
...
...
@@ -284,25 +284,20 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
sect
,
info
->
start
[
sect
]);
/* arm simple, non interrupt dependent timer */
reset_timer
();
reset_timer
_masked
();
if
(
info
->
protect
[
sect
]
==
0
)
{
/* not protected */
vu_long
*
addr
=
(
vu_long
*
)
(
info
->
start
[
sect
]);
ulong
bsR7
,
bsR7_2
,
bsR5
,
bsR5_2
;
ulong
tstart
;
/* *addr = CMD_STATUS_RESET; */
*
addr
=
CMD_ERASE_SETUP
;
*
addr
=
CMD_ERASE_CONFIRM
;
/* wait until flash is ready */
tstart
=
get_timer
(
0
);
do
{
ulong
now
;
/* check timeout */
/*if (get_timer_masked () > CFG_FLASH_ERASE_TOUT) { */
if
((
now
=
get_timer
(
tstart
))
>
CFG_FLASH_ERASE_TOUT
)
{
printf
(
"tstart = 0x%08lx, now = 0x%08lx
\n
"
,
tstart
,
now
);
if
(
get_timer_masked
()
>
CFG_FLASH_ERASE_TOUT
)
{
*
addr
=
CMD_STATUS_RESET
;
result
=
BIT_TIMEOUT
;
break
;
...
...
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