Merge git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git] / board / siemens / common / factoryset.c
index 4e5ad58d44cc2038acd90cc83fea0180242dab0d..81bbb5758d0b0d1bf70ea24dd6ddf800f85d4f0c 100644 (file)
@@ -145,8 +145,8 @@ int factoryset_read_eeprom(int i2c_addr)
        unsigned char *cp, *cp1;
 
 #if defined(CONFIG_USB_FUNCTION_DFU)
-       factory_dat.usb_vendor_id = CONFIG_G_DNL_VENDOR_NUM;
-       factory_dat.usb_product_id = CONFIG_G_DNL_PRODUCT_NUM;
+       factory_dat.usb_vendor_id = CONFIG_USB_GADGET_VENDOR_NUM;
+       factory_dat.usb_product_id = CONFIG_USB_GADGET_PRODUCT_NUM;
 #endif
        if (i2c_probe(i2c_addr))
                goto err;
@@ -292,7 +292,7 @@ static int factoryset_mac_env_set(void)
                }
        }
 
-       eth_setenv_enetaddr("ethaddr", mac_addr);
+       eth_env_set_enetaddr("ethaddr", mac_addr);
        return 0;
 }