]> git.sur5r.net Git - u-boot/blobdiff - board/esd/plu405/plu405.c
powerpc/p2041rdb: add more ddr frequencies support
[u-boot] / board / esd / plu405 / plu405.c
index 3a8a4cff34799cbe0bf212353e211bdeb58b38f0..109d2dcfdf087729795deb5c1f8a1b3b7a99dc66 100644 (file)
@@ -32,7 +32,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 extern void lxt971_no_sleep(void);
 
 /* fpga configuration data - gzip compressed and generated by bin2c */
@@ -240,7 +239,7 @@ int misc_init_r(void)
 int checkboard(void)
 {
        char str[64];
-       int i = getenv_r("serial#", str, sizeof(str));
+       int i = getenv_f("serial#", str, sizeof(str));
 
        puts("Board: ");