]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/spi/stmicro.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / drivers / mtd / spi / stmicro.c
index c999b125e3ed7476692f4cff148443a5f22484aa..b8b835a3ffe6f8e19886e0ed08a7c648ec2adac8 100644 (file)
@@ -295,7 +295,7 @@ int stmicro_erase(struct spi_flash *flash, u32 offset, size_t len)
                }
 
                /* Up to 2 seconds */
-               ret = stmicro_wait_ready(flash, 2 * CFG_HZ);
+               ret = stmicro_wait_ready(flash, 2 * CONFIG_SYS_HZ);
                if (ret < 0) {
                        debug("SF: STMicro page erase timed out\n");
                        break;