summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c4
-rw-r--r--disk/part_dos.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/disk/part.c b/disk/part.c
index 97ed9186532..7bd48e0706e 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -33,7 +33,9 @@
#define PRINTF(fmt,args...)
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI)
+#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
+ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
+ (CONFIG_COMMANDS & CFG_CMD_USB) )
/* ------------------------------------------------------------------------- */
/*
diff --git a/disk/part_dos.c b/disk/part_dos.c
index db2c23bc593..32333c7978c 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -35,7 +35,9 @@
#include <ide.h>
#include "part_dos.h"
-#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI)) && defined(CONFIG_DOS_PARTITION)
+#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
+ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
+ (CONFIG_COMMANDS & CFG_CMD_USB) ) && defined(CONFIG_DOS_PARTITION)
/* Convert char[4] in little endian format to the host format integer
*/