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
59de2ed6
Commit
59de2ed6
authored
21 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Patch by Christophe Lindheimer, 20 May 2003:
allow the use of CFG_LOADS when CFG_NO_FLASH is set
parent
86d82762
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
common/cmd_boot.c
+4
-1
4 additions, 1 deletion
common/cmd_boot.c
with
7 additions
and
1 deletion
CHANGELOG
+
3
−
0
View file @
59de2ed6
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
Changes since U-Boot 0.3.1:
Changes since U-Boot 0.3.1:
======================================================================
======================================================================
* Patch by Christophe Lindheimer, 20 May 2003:
allow the use of CFG_LOADS when CFG_NO_FLASH is set
* Fix SDRAM timing on Purple board
* Fix SDRAM timing on Purple board
* Add support for CompactFlash on ATC board
* Add support for CompactFlash on ATC board
...
...
This diff is collapsed.
Click to expand it.
common/cmd_boot.c
+
4
−
1
View file @
59de2ed6
...
@@ -332,6 +332,7 @@ load_serial (ulong offset)
...
@@ -332,6 +332,7 @@ load_serial (ulong offset)
case
SREC_DATA3
:
case
SREC_DATA3
:
case
SREC_DATA4
:
case
SREC_DATA4
:
store_addr
=
addr
+
offset
;
store_addr
=
addr
+
offset
;
#ifndef CFG_NO_FLASH
if
(
addr2info
(
store_addr
))
{
if
(
addr2info
(
store_addr
))
{
int
rc
;
int
rc
;
...
@@ -340,7 +341,9 @@ load_serial (ulong offset)
...
@@ -340,7 +341,9 @@ load_serial (ulong offset)
flash_perror
(
rc
);
flash_perror
(
rc
);
return
(
~
0
);
return
(
~
0
);
}
}
}
else
{
}
else
#endif
{
memcpy
((
char
*
)(
store_addr
),
binbuf
,
binlen
);
memcpy
((
char
*
)(
store_addr
),
binbuf
,
binlen
);
}
}
if
((
store_addr
)
<
start_addr
)
if
((
store_addr
)
<
start_addr
)
...
...
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