summaryrefslogtreecommitdiff
path: root/common/cmd_usb.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-04-27 22:52:51 +0000
committerwdenk <wdenk>2003-04-27 22:52:51 +0000
commit4532cb696eb717419022dbaa8d408e7df7df7b68 (patch)
tree2b791870499676f1c93b1e8bcc94ace26787ad8e /common/cmd_usb.c
parent02c9bed451b36f3b1f11d5fe617da4fe4b9f9ab7 (diff)
downloadu-boot-imx-4532cb696eb717419022dbaa8d408e7df7df7b68.zip
u-boot-imx-4532cb696eb717419022dbaa8d408e7df7df7b68.tar.gz
u-boot-imx-4532cb696eb717419022dbaa8d408e7df7df7b68.tar.bz2
* LWMON extensions:
- Splashscreen support - modem support - sysmon support - temperature dependend enabling of LCD * Allow booting from old "PPCBoot" disk partitions * Add support for TQM8255 Board / MPC8255 CPU
Diffstat (limited to 'common/cmd_usb.c')
-rw-r--r--common/cmd_usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index 389f0fc..8a3f471 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -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);