#include <common.h>
#include <command.h>
-#include <cmd_boot.h>
#include <asm/processor.h>
#include <scsi.h>
#include <image.h>
-#include <cmd_disk.h>
#include <pci.h>
}
-
void scsi_init(void)
{
int busdevfunc;
}
-
/******************************************************************************
* scsi boot command intepreter. Derived from diskboot
*/
printf("error reading partinfo\n");
return 1;
}
- 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);
}
-
/* Trim trailing blanks, and NUL-terminate string
*/
void scsi_trim_trail (unsigned char *str, unsigned int len)
}
#endif /* #if (CONFIG_COMMANDS & CFG_CMD_SCSI) */
-
-