summaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-06-10 10:00:19 +0000
committerwdenk <wdenk>2005-06-10 10:00:19 +0000
commita87589da74b84031a3db4ddd2e835e1893a90f3b (patch)
tree3f6c7097b0c7bd65ac278b2d667d382536fe2fa7 /common/cmd_jffs2.c
parent51152c173d025551dce4e0097e14e147ad016d3b (diff)
downloadu-boot-imx-a87589da74b84031a3db4ddd2e835e1893a90f3b.zip
u-boot-imx-a87589da74b84031a3db4ddd2e835e1893a90f3b.tar.gz
u-boot-imx-a87589da74b84031a3db4ddd2e835e1893a90f3b.tar.bz2
* Add support for HMI1001 board
* Disable "date" and "sntp" commands on TQM866M which has no RTC
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r--common/cmd_jffs2.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 63fddf6..45713a3 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -175,10 +175,9 @@ do_jffs2_fsload(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int
do_jffs2_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- struct part_info* jffs2_part_info(int);
- int jffs2_1pass_ls(struct part_info *,char *);
-
- char *filename = "/";
+ struct part_info* jffs2_part_info(int);
+ int jffs2_1pass_ls(struct part_info *,char *);
+ char *filename = "/";
int ret;
struct part_info *part;
@@ -235,11 +234,11 @@ do_jffs2_chpart(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
int tmp_part;
char str_part_num[3];
- struct part_info* jffs2_part_info(int);
+ struct part_info* jffs2_part_info(int);
- if (argc >= 2) {
+ if (argc >= 2) {
tmp_part = simple_strtoul(argv[1], NULL, 16);
- }else{
+ } else {
puts ("Need partition number in argument list\n");
return 0;