aboutsummaryrefslogtreecommitdiff
path: root/board/siemens/common/factoryset.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-24 16:39:56 -0400
committerTom Rini <trini@konsulko.com>2015-07-24 16:39:56 -0400
commit6f4e050639241218987541f4729172e4e0e2ff31 (patch)
tree0b7555fa699540dc975d179551211dd95c650a46 /board/siemens/common/factoryset.c
parent5a9749ee12bed44ca4dc7f2412b5a340db666954 (diff)
parent58d6d139c3e7bb923029e7ba18bfec7f420ead0f (diff)
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'board/siemens/common/factoryset.c')
-rw-r--r--board/siemens/common/factoryset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c
index d81f5481a7..6c869ed2b0 100644
--- a/board/siemens/common/factoryset.c
+++ b/board/siemens/common/factoryset.c
@@ -144,7 +144,7 @@ int factoryset_read_eeprom(int i2c_addr)
unsigned char eeprom_buf[0x3c00], hdr[4], buf[MAX_STRING_LENGTH];
unsigned char *cp, *cp1;
-#if defined(CONFIG_DFU_FUNCTION)
+#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;
#endif
@@ -202,7 +202,7 @@ int factoryset_read_eeprom(int i2c_addr)
cp1 += 3;
}
-#if defined(CONFIG_DFU_FUNCTION)
+#if defined(CONFIG_USB_FUNCTION_DFU)
/* read vid and pid for dfu mode */
if (0 <= get_factory_record_val(cp, size, (uchar *)"USBD1",
(uchar *)"vid", buf,