]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_usb.c
* LWMON extensions:
[karo-tx-uboot.git] / common / cmd_usb.c
index 389f0fc0130652cf14373fb988a45dfafd0c129c..8a3f47113f6d9c84d26d84a0b2e6a2ac65b150ce 100644 (file)
@@ -376,7 +376,8 @@ int do_usbboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                info.size=2880;
                printf("error reading partinfo...try to boot raw\n");
        }
-       if (strncmp(info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) {
+       if ((strncmp(info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) &&
+           (strncmp(info.type, BOOT_PART_COMP, sizeof(info.type)) != 0)) {
                printf ("\n** Invalid partition type \"%.32s\""
                        " (expect \"" BOOT_PART_TYPE "\")\n",
                        info.type);