Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
u-boot-stm32
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
a8109dfe
Commit
a8109dfe
authored
Jan 18, 2016
by
Vladimir Khusainov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RM174: Make fw_setenv work faster in uClinux
parent
73dbfe00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/env/fw_env.c
tools/env/fw_env.c
+2
-1
No files found.
tools/env/fw_env.c
View file @
a8109dfe
...
...
@@ -884,7 +884,8 @@ static int flash_write_buf (int dev, int fd, void *buf, size_t count,
#ifdef DEBUG
printf
(
"Write 0x%x bytes at 0x%llx
\n
"
,
erasesize
,
blockstart
);
#endif
if
(
write
(
fd
,
data
+
processed
,
erasesize
)
!=
erasesize
)
{
if
(
write
(
fd
,
data
+
processed
,
CONFIG_ENV_SIZE
)
!=
CONFIG_ENV_SIZE
)
{
fprintf
(
stderr
,
"Write error on %s: %s
\n
"
,
DEVNAME
(
dev
),
strerror
(
errno
));
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment