diff options
author | Peter Pearse <peter.pearse@arm.com> | 2007-05-09 11:37:56 +0100 |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-05-09 11:37:56 +0100 |
commit | b0d8f5bf0d215adc9424cb228b2484dbf07f7761 (patch) | |
tree | ddb50f27491089e4e270833cd4d9d33c55ced861 /fs/fat/fat.c | |
parent | 29f3be0caf0799ca6b89dfd9824c15619a50000f (diff) | |
download | u-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/fat.c')
-rw-r--r-- | fs/fat/fat.c | 7 |
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; |