]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_nvedit.c
rename CFG_ENV macros to CONFIG_ENV
[karo-tx-uboot.git] / common / cmd_nvedit.c
index f449715ca29fa00de399f40a44e3b9008bfbd45b..637d6c948d5f26bde36e00010a62b8014c3ee1fd 100644 (file)
@@ -503,7 +503,7 @@ char *getenv (char *name)
                int val;
 
                for (nxt=i; env_get_char(nxt) != '\0'; ++nxt) {
-                       if (nxt >= CFG_ENV_SIZE) {
+                       if (nxt >= CONFIG_ENV_SIZE) {
                                return (NULL);
                        }
                }
@@ -523,7 +523,7 @@ int getenv_r (char *name, char *buf, unsigned len)
                int val, n;
 
                for (nxt=i; env_get_char(nxt) != '\0'; ++nxt) {
-                       if (nxt >= CFG_ENV_SIZE) {
+                       if (nxt >= CONFIG_ENV_SIZE) {
                                return (-1);
                        }
                }