diff options
Diffstat (limited to 'common/cmd_scsi.c')
-rw-r--r-- | common/cmd_scsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_scsi.c b/common/cmd_scsi.c index 8e8e930..fa10751 100644 --- a/common/cmd_scsi.c +++ b/common/cmd_scsi.c @@ -194,11 +194,12 @@ void scsi_init(void) } #endif +#ifdef CONFIG_PARTITIONS block_dev_desc_t * scsi_get_dev(int dev) { return (dev < CONFIG_SYS_SCSI_MAX_DEVICE) ? &scsi_dev_desc[dev] : NULL; } - +#endif /****************************************************************************** * scsi boot command intepreter. Derived from diskboot |