usbd: remove wrong checking for u-boot binary
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 28 Dec 2010 04:14:29 +0000 (13:14 +0900)
committerMinkyu 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

index 2db9f64..4cd6804 100644 (file)
@@ -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);