[U-Boot] [PATCH 5/5] cmd_sf: Fix code cleanup

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Mon May 27 21:57:28 CEST 2013


- line over 80 characters
- add tabs

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
---
 common/cmd_sf.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/cmd_sf.c b/common/cmd_sf.c
index 0a17782..1daff70 100644
--- a/common/cmd_sf.c
+++ b/common/cmd_sf.c
@@ -468,7 +468,8 @@ static int do_spi_flash_test(int argc, char * const argv[])
 }
 #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;
 	int ret;
@@ -524,7 +525,7 @@ U_BOOT_CMD(
 	"SPI flash sub-system",
 	"probe [[bus:]cs] [hz] [mode]	- init flash device on given SPI bus\n"
 	"				  and chip select\n"
-	"sf read addr offset len 	- read `len' bytes starting at\n"
+	"sf read addr offset len	- read `len' bytes starting at\n"
 	"				  `offset' to memory at `addr'\n"
 	"sf write addr offset len	- write `len' bytes from memory\n"
 	"				  at `addr' to flash at `offset'\n"
-- 
1.7.4




More information about the U-Boot mailing list