/*******************************************************************************
Copyright (C) 2016 Marvell International Ltd.

Marvell BSD License Option

If you received this File from Marvell, you may opt to use, redistribute and/or
modify this File under the following licensing terms.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

        * Redistributions of source code must retain the above copyright notice,
          this list of conditions and the following disclaimer.

        * Redistributions in binary form must reproduce the above copyright
          notice, this list of conditions and the following disclaimer in the
          documentation and/or other materials provided with the distribution.

        * Neither the name of Marvell nor the names of its contributors may be
          used to endorse or promote products derived from this software without
          specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

*******************************************************************************/

/=#

#langdef   en-US "english"

#string STR_GET_HELP_FUPDATE          #language en-US ""
".TH fupdate 0 "Firmware Update command."\r\n"
".SH NAME\r\n"
"Update firmware with image file.\r\n"
".SH SYNOPSIS\r\n"
" \r\n"
"fupdate <LocalFilePath> [-p] [Device]\r\n"
".SH OPTIONS\r\n"
" \r\n"
"  LocalFilePath    - path to local firmware image file\r\n"
"  -p               - When flag is selected Device is interpreted\r\n"
"                     as device path, not device handle.\r\n"
"  Device           - Select device which will be flashed.\r\n"
"                     Supported devices can be listed using \"fupdate list\"\r\n"
"                     command. Device is represented by its handle.\r\n"
"                     The default value is spi.\r\n"
" \r\n"
".SH EXAMPLES\r\n"
" \r\n"
"EXAMPLES:\r\n"
" * Update firmware in SPI flash from file fs2:flash-image.bin\r\n"
"     fupdate fs2:flash-image.bin\r\n"
" * Update firmware in device with handle 5F from file flash-image.bin\r\n"
"     fupdate flash-image.bin 5F\r\n"
" * Update firmware in device with selected path from file flash.bin\r\n"
"     fupdate flash.bin -p VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000078F20000000000)/SD(0x0)\r\n"
" * List supported devices\r\n"
"     fupdate list\r\n"
".SH RETURNVALUES\r\n"
" \r\n"
"RETURN VALUES:\r\n"
"  SHELL_SUCCESS             The action was completed as requested.\r\n"
"  SHELL_ABORTED             Error while processing command\r\n"
