diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-02-16 18:41:18 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-02-21 22:28:15 +0300 |
commit | bb4059a53bc13615f12b5e21252872bf7e02dce4 (patch) | |
tree | f393e897b998b94f3dd085d7ade5feff459ce497 /board/siemens | |
parent | 0f44d33536a50ef65259c322fa2d4a058585caf9 (diff) | |
download | u-boot-bb4059a53bc13615f12b5e21252872bf7e02dce4.tar.xz |
dfu: Rename _FUNCTION_DFU to DFU_OVER_
Do the following to make the symbol names less confusing.
sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
`git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/siemens')
-rw-r--r-- | board/siemens/common/factoryset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index 81bbb5758d..7fa2673c2b 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_USB_FUNCTION_DFU) +#if defined(CONFIG_DFU_OVER_USB) factory_dat.usb_vendor_id = CONFIG_USB_GADGET_VENDOR_NUM; factory_dat.usb_product_id = CONFIG_USB_GADGET_PRODUCT_NUM; #endif @@ -202,7 +202,7 @@ int factoryset_read_eeprom(int i2c_addr) cp1 += 3; } -#if defined(CONFIG_USB_FUNCTION_DFU) +#if defined(CONFIG_DFU_OVER_USB) /* read vid and pid for dfu mode */ if (0 <= get_factory_record_val(cp, size, (uchar *)"USBD1", (uchar *)"vid", buf, |