projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6a51c
)
Changed target for ubpar.c to directly write to mtd device
author
Hamish Guthrie
<hcg@openwrt.org>
Tue, 5 Jun 2007 04:34:38 +0000
(
04:34
+0000)
committer
Hamish Guthrie
<hcg@openwrt.org>
Tue, 5 Jun 2007 04:34:38 +0000
(
04:34
+0000)
SVN-Revision: 7502
target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c
patch
|
blob
|
history
diff --git
a/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c
b/target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c
index 103d4fd217bfc9bac9118d8f57f79219b8aee3d6..228a578a6145706c3eeed49dd7061261b94a3591 100644
(file)
--- a/
target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c
+++ b/
target/linux/at91-2.6/image/u-boot/ubclient/ubpar.c
@@
-115,7
+115,7
@@
int main(int argc, char *argv[]) {
envptr->crc = crc32(0, envptr->data, ENV_SIZE);
- params = fopen("
params
", "w");
+ params = fopen("
/dev/mtd1
", "w");
fwrite(envptr, CFG_ENV_SIZE, 1, params);
fclose(params);