summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2007-05-09 11:37:56 +0100
committerPeter Pearse <peter.pearse@arm.com>2007-05-09 11:37:56 +0100
commitb0d8f5bf0d215adc9424cb228b2484dbf07f7761 (patch)
treeddb50f27491089e4e270833cd4d9d33c55ced861 /fs/fat
parent29f3be0caf0799ca6b89dfd9824c15619a50000f (diff)
downloadu-boot-imx-b0d8f5bf0d215adc9424cb228b2484dbf07f7761.zip
u-boot-imx-b0d8f5bf0d215adc9424cb228b2484dbf07f7761.tar.gz
u-boot-imx-b0d8f5bf0d215adc9424cb228b2484dbf07f7761.tar.bz2
New board SMN42 branch
Diffstat (limited to 'fs/fat')
-rw-r--r--fs/fat/fat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index a823b5a..084ee44 100644
--- a/fs/fat/fat.c
+++ b/fs/fat/fat.c
@@ -89,8 +89,11 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no)
part_offset=0;
}
else {
-#if (CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
- (CONFIG_COMMANDS & CFG_CMD_USB) || defined(CONFIG_SYSTEMACE)
+#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
+ (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
+ (CONFIG_COMMANDS & CFG_CMD_USB) || \
+ (defined(CONFIG_MMC) && defined(CONFIG_LPC2292)) || \
+ defined(CONFIG_SYSTEMACE) )
disk_partition_t info;
if(!get_partition_info(dev_desc, part_no, &info)) {
part_offset = info.start;