diff options
Diffstat (limited to 'disk')
-rw-r--r-- | disk/part.c | 4 | ||||
-rw-r--r-- | disk/part_dos.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/disk/part.c b/disk/part.c index 97ed918..7bd48e0 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 db2c23b..32333c7 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 */ |