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
bb1ff049
Commit
bb1ff049
authored
19 years ago
by
Markus Klotzbcher
Committed by
Markus Klotzbcher
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since
there are 0)
parent
481911c7
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
board/delta/nand.c
+5
-2
5 additions, 2 deletions
board/delta/nand.c
with
5 additions
and
2 deletions
board/delta/nand.c
+
5
−
2
View file @
bb1ff049
...
...
@@ -69,8 +69,11 @@ static void delta_read_buf(struct mtd_info *mtd, u_char* const buf, int len)
/* if there are any, first copy multiple of 4 bytes */
if
(
num_words
)
{
for
(
i
=
0
;
i
<
num_words
;
i
+=
4
)
buf
[
i
]
=
NDDB
;
for
(
i
=
0
;
i
<
num_words
;
i
+=
4
)
{
unsigned
long
*
long_buf
=
&
buf
[
i
];
/* ((unsigned long *) &buf[i]) = NDDB; */
*
long_buf
=
NDDB
;
}
}
/* ...then the rest */
...
...
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