aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_disk.c')
-rw-r--r--common/cmd_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_disk.c b/common/cmd_disk.c
index 8df93444df0..ee4e21551b1 100644
--- a/common/cmd_disk.c
+++ b/common/cmd_disk.c
@@ -54,7 +54,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
bootstage_mark(BOOTSTAGE_ID_IDE_BOOT_DEVICE);
part = get_device_and_partition(intf, (argc == 3) ? argv[2] : NULL,
- &dev_desc, &info);
+ &dev_desc, &info, 1);
if (part < 0) {
bootstage_error(BOOTSTAGE_ID_IDE_TYPE);
return 1;