toradex: configblock: avoid line continuations
Fix issue as reported by checkpatch.pl. Leave long lines as line continuation in text output is not recommended. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
This commit is contained in:
parent
9d63c7d85c
commit
9d364ebd05
@ -511,8 +511,7 @@ static int do_cfgblock_create(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
* On NAND devices, recreation is only allowed if the page is
|
* On NAND devices, recreation is only allowed if the page is
|
||||||
* empty (config block invalid...)
|
* empty (config block invalid...)
|
||||||
*/
|
*/
|
||||||
printf("NAND erase block %d need to be erased before creating" \
|
printf("NAND erase block %d need to be erased before creating a Toradex config block\n",
|
||||||
" a Toradex config block\n",
|
|
||||||
CONFIG_TDX_CFG_BLOCK_OFFSET /
|
CONFIG_TDX_CFG_BLOCK_OFFSET /
|
||||||
get_nand_dev_by_index(0)->erasesize);
|
get_nand_dev_by_index(0)->erasesize);
|
||||||
goto out;
|
goto out;
|
||||||
@ -521,8 +520,7 @@ static int do_cfgblock_create(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
* On NOR devices, recreation is only allowed if the sector is
|
* On NOR devices, recreation is only allowed if the sector is
|
||||||
* empty and write protection is off (config block invalid...)
|
* empty and write protection is off (config block invalid...)
|
||||||
*/
|
*/
|
||||||
printf("NOR sector at offset 0x%02x need to be erased and " \
|
printf("NOR sector at offset 0x%02x need to be erased and unprotected before creating a Toradex config block\n",
|
||||||
"unprotected before creating a Toradex config block\n",
|
|
||||||
CONFIG_TDX_CFG_BLOCK_OFFSET);
|
CONFIG_TDX_CFG_BLOCK_OFFSET);
|
||||||
goto out;
|
goto out;
|
||||||
#else
|
#else
|
||||||
@ -633,9 +631,8 @@ static int do_cfgblock(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
return CMD_RET_USAGE;
|
return CMD_RET_USAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(cfgblock, 4, 0, do_cfgblock,
|
||||||
cfgblock, 4, 0, do_cfgblock,
|
"Toradex config block handling commands",
|
||||||
"Toradex config block handling commands",
|
"create [-y] [barcode] - (Re-)create Toradex config block\n"
|
||||||
"create [-y] [barcode] - (Re-)create Toradex config block\n"
|
"cfgblock reload - Reload Toradex config block from flash"
|
||||||
"cfgblock reload - Reload Toradex config block from flash"
|
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user