diff options
author | wdenk <wdenk> | 2003-09-10 18:20:28 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-10 18:20:28 +0000 |
commit | 149dded2b178bc0fb62cb6f61b87968d914b580a (patch) | |
tree | 6322023840b11a7210e3030262dc5e6ee42953f0 /disk | |
parent | 7152b1d0b3f8beec8c297d64664e41b4c4ef610a (diff) | |
download | u-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.zip u-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.tar.gz u-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.tar.bz2 |
* Add support for USB Mass Storage Devices (BBB)
(tested with USB memory sticks only)
* Avoid flicker on TRAB's VFD
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 */ |