projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7683fcc
)
usbd: remove wrong checking for u-boot binary
author
Minkyu Kang
<mk7.kang@samsung.com>
Tue, 28 Dec 2010 04:14:29 +0000
(13:14 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Tue, 28 Dec 2010 04:14:29 +0000
(13:14 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
common/cmd_usbd.c
patch
|
blob
|
history
diff --git
a/common/cmd_usbd.c
b/common/cmd_usbd.c
index
2db9f64
..
4cd6804
100644
(file)
--- a/
common/cmd_usbd.c
+++ b/
common/cmd_usbd.c
@@
-886,19
+886,6
@@
static int write_mtd_image(struct usbd_ops *usbd, int img_type,
}
}
#endif
-#ifdef CONFIG_SBOOT
- /* Only u-boot.bin is allowed */
- {
- long *img_header = (long *)down_ram_addr;
-
- if (*img_header != 0xea000018) {
- printf("\n!!! ERROR !!!\n"
- "Please download the u-boot.bin.\n"
- "Other images are not allowed.\n\n");
- return -1;
- }
- }
-#endif
erase_env_area(usbd);