mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
cmd_sf|env_sf: Fix code cleanup
- line over 80 characters - add tabs - CHECK: Alignment should match open parenthesis Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
@@ -262,9 +262,9 @@ static int do_spi_flash_read_write(int argc, char * const argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(argv[0], "update") == 0)
|
if (strcmp(argv[0], "update") == 0) {
|
||||||
ret = spi_flash_update(flash, offset, len, buf);
|
ret = spi_flash_update(flash, offset, len, buf);
|
||||||
else if (strncmp(argv[0], "read", 4) == 0 ||
|
} else if (strncmp(argv[0], "read", 4) == 0 ||
|
||||||
strncmp(argv[0], "write", 5) == 0) {
|
strncmp(argv[0], "write", 5) == 0) {
|
||||||
int read;
|
int read;
|
||||||
|
|
||||||
@@ -470,7 +470,8 @@ static int do_spi_flash_test(int argc, char * const argv[])
|
|||||||
}
|
}
|
||||||
#endif /* CONFIG_CMD_SF_TEST */
|
#endif /* CONFIG_CMD_SF_TEST */
|
||||||
|
|
||||||
static int do_spi_flash(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
static int do_spi_flash(cmd_tbl_t *cmdtp, int flag, int argc,
|
||||||
|
char * const argv[])
|
||||||
{
|
{
|
||||||
const char *cmd;
|
const char *cmd;
|
||||||
int ret;
|
int ret;
|
||||||
|
Reference in New Issue
Block a user