]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/hh405/hh405.c
Rename getenv_r() into getenv_f()
[karo-tx-uboot.git] / board / esd / hh405 / hh405.c
index ca7868cbd84ce0f532410f4a40675ed1f968637f..c5e9514bee495e9ce7339ea2247eed4216b0cd33 100644 (file)
@@ -650,7 +650,7 @@ int misc_init_r (void)
 int checkboard (void)
 {
        char str[64];
-       int i = getenv_("serial#", str, sizeof(str));
+       int i = getenv_f("serial#", str, sizeof(str));
 
        puts ("Board: ");
 
@@ -660,7 +660,7 @@ int checkboard (void)
                puts(str);
        }
 
-       if (getenv_r("bd_type", str, sizeof(str)) != -1) {
+       if (getenv_f("bd_type", str, sizeof(str)) != -1) {
                printf(" (%s", str);
        } else {
                puts(" (Missing bd_type!");
@@ -780,7 +780,7 @@ void video_get_info_str (int line_number, char *info)
 {
        char str[64];
        char str2[64];
-       int i = getenv_r("serial#", str2, sizeof(str));
+       int i = getenv_f("serial#", str2, sizeof(str));
 
        if (line_number == 1) {
                sprintf(str, " Board: ");
@@ -791,7 +791,7 @@ void video_get_info_str (int line_number, char *info)
                        strcat(str, str2);
                }
 
-               if (getenv_r("bd_type", str2, sizeof(str2)) != -1) {
+               if (getenv_f("bd_type", str2, sizeof(str2)) != -1) {
                        strcat(str, " (");
                        strcat(str, str2);
                } else {