diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 09:11:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 10:18:30 +0100 |
commit | a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97 (patch) | |
tree | 7a9076c1a20df00baeadca9a07d4c1f5cd0611e2 /commands/dfu.c | |
parent | caa5cec7b1c93d660aa89d24eb160ab18e4eb628 (diff) | |
download | barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.gz barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.xz |
rename U-Boot-v2 project to barebox
This has been done with the following script:
find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
-e 's/u2boot/barebox/g' \
-e 's/U2Boot/barebox/g' \
-e 's/U-boot V2/barebox/g' \
-e 's/u-boot v2/barebox/g' \
-e 's/U-Boot V2/barebox/g' \
-e 's/U-Boot-v2/barebox/g' \
-e 's/U_BOOT/BAREBOX/g' \
-e 's/UBOOT/BAREBOX/g' \
-e 's/uboot/barebox/g' \
-e 's/u-boot/barebox/g' \
-e 's/u_boot/barebox/g' \
-e 's/U-Boot/barebox/g' \
-e 's/U-boot/barebox/g' \
-e 's/U-BOOT/barebox/g'
find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
xargs -0 -r rename 's/u[-_]?boot/barebox/'
It needs some manual fixup following in the next patch
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/dfu.c')
-rw-r--r-- | commands/dfu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/commands/dfu.c b/commands/dfu.c index c8a598c22b..fe865efb90 100644 --- a/commands/dfu.c +++ b/commands/dfu.c @@ -101,7 +101,7 @@ static int do_dfu(cmd_tbl_t *cmdtp, int argc, char *argv[]) struct usb_dfu_pdata pdata; char *endptr, *argstr; struct usb_dfu_dev *dfu_alts = NULL; - char *manufacturer = "U-Boot"; + char *manufacturer = "barebox"; char *productname = CONFIG_BOARDINFO; u16 idVendor = 0, idProduct = 0; @@ -165,7 +165,7 @@ out: static const __maybe_unused char cmd_dfu_help[] = "Usage: dfu [OPTION]... description\n" "start dfu firmware update\n" -" -m <str> Manufacturer string (U-Boot)\n" +" -m <str> Manufacturer string (barebox)\n" " -p <str> product string (" CONFIG_BOARDINFO ")\n" " -V <id> vendor id\n" " -P <id> product id\n" @@ -173,8 +173,8 @@ static const __maybe_unused char cmd_dfu_help[] = "device1(name1)[sr],device2(name2)[sr]\n" "where s is for save mode and r for read back of firmware\n"; -U_BOOT_CMD_START(dfu) +BAREBOX_CMD_START(dfu) .cmd = do_dfu, .usage = "Device firmware update", - U_BOOT_CMD_HELP(cmd_dfu_help) -U_BOOT_CMD_END + BAREBOX_CMD_HELP(cmd_dfu_help) +BAREBOX_CMD_END |