Message ID | 20210127105602.2350-1-pali@kernel.org |
---|---|
State | Accepted |
Commit | 32771530e656762dbdf5174cb01506ef65129d50 |
Delegated to: | Stefan Roese |
Headers | show |
Series | cmd: mvebu/bubt: Fix default options in help | expand |
On 27.01.21 11:56, Pali Rohár wrote: > Default options depends on compile time defines. > > Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Thanks, Stefan > --- > cmd/mvebu/bubt.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c > index 4c58fd3c2e..b64996320c 100644 > --- a/cmd/mvebu/bubt.c > +++ b/cmd/mvebu/bubt.c > @@ -874,9 +874,9 @@ U_BOOT_CMD( > bubt, 4, 0, do_bubt_cmd, > "Burn a u-boot image to flash", > "[file-name] [destination [source]]\n" > - "\t-file-name The image file name to burn. Default = flash-image.bin\n" > - "\t-destination Flash to burn to [spi, nand, mmc]. Default = active boot device\n" > - "\t-source The source to load image from [tftp, usb, mmc]. Default = tftp\n" > + "\t-file-name The image file name to burn. Default = " CONFIG_MVEBU_UBOOT_DFLT_NAME "\n" > + "\t-destination Flash to burn to [spi, nand, mmc]. Default = " DEFAULT_BUBT_DST "\n" > + "\t-source The source to load image from [tftp, usb, mmc]. Default = " DEFAULT_BUBT_SRC "\n" > "Examples:\n" > "\tbubt - Burn flash-image.bin from tftp to active boot device\n" > "\tbubt flash-image-new.bin nand - Burn flash-image-new.bin from tftp to NAND flash\n" > Viele Grüße, Stefan
On 27.01.21 11:56, Pali Rohár wrote: > Default options depends on compile time defines. > > Signed-off-by: Pali Rohár <pali@kernel.org> Applied to u-boot-marvell/master Thanks, Stefan
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index 4c58fd3c2e..b64996320c 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -874,9 +874,9 @@ U_BOOT_CMD( bubt, 4, 0, do_bubt_cmd, "Burn a u-boot image to flash", "[file-name] [destination [source]]\n" - "\t-file-name The image file name to burn. Default = flash-image.bin\n" - "\t-destination Flash to burn to [spi, nand, mmc]. Default = active boot device\n" - "\t-source The source to load image from [tftp, usb, mmc]. Default = tftp\n" + "\t-file-name The image file name to burn. Default = " CONFIG_MVEBU_UBOOT_DFLT_NAME "\n" + "\t-destination Flash to burn to [spi, nand, mmc]. Default = " DEFAULT_BUBT_DST "\n" + "\t-source The source to load image from [tftp, usb, mmc]. Default = " DEFAULT_BUBT_SRC "\n" "Examples:\n" "\tbubt - Burn flash-image.bin from tftp to active boot device\n" "\tbubt flash-image-new.bin nand - Burn flash-image-new.bin from tftp to NAND flash\n"
Default options depends on compile time defines. Signed-off-by: Pali Rohár <pali@kernel.org> --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)