]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_fat.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / common / cmd_fat.c
index 9576cdf389df838323d32d3c005cc0fdb0d96e3f..ebe9e090ccf8f03d692a926a40769293a7e48fcc 100644 (file)
@@ -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");