]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc8323erdb/mpc8323erdb.c
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
[u-boot] / board / freescale / mpc8323erdb / mpc8323erdb.c
index f30a1510ee406c1537d2368e4fbff30089777f08..772688186b50bbe2a0da0e776db0b3771592dc3e 100644 (file)
@@ -15,7 +15,7 @@
 #include <i2c.h>
 #include <miiphy.h>
 #include <command.h>
-#include <libfdt.h>
+#include <linux/libfdt.h>
 #if defined(CONFIG_PCI)
 #include <pci.h>
 #endif
@@ -216,7 +216,7 @@ int mac_read_from_eeprom(void)
                                                buf[i * 6 + 4], buf[i * 6 + 5]);
                                        sprintf((char *)enetvar,
                                                i ? "eth%daddr" : "ethaddr", i);
-                                       setenv((char *)enetvar, str);
+                                       env_set((char *)enetvar, str);
                                }
                        }
                }