X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fcmd_fat.c;h=ebe9e090ccf8f03d692a926a40769293a7e48fcc;hb=6d0f6bcf337c5261c08fabe12982178c2c489d76;hp=9576cdf389df838323d32d3c005cc0fdb0d96e3f;hpb=71edc271816ec82cf0550dd6980be2da3cc2ad9e;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/cmd_fat.c b/common/cmd_fat.c index 9576cdf..ebe9e09 100644 --- a/common/cmd_fat.c +++ b/common/cmd_fat.c @@ -188,7 +188,7 @@ int find_fat_partition (void) unsigned char *part_table; unsigned char buffer[ATA_BLOCKSIZE]; - for (i = 0; i < CFG_IDE_MAXDEVICE; i++) { + for (i = 0; i < CONFIG_SYS_IDE_MAXDEVICE; i++) { dev_desc = ide_get_dev (i); if (!dev_desc) { debug ("couldn't get ide device!\n");