diff options
author | wdenk <wdenk> | 2005-06-10 10:00:19 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-06-10 10:00:19 +0000 |
commit | a87589da74b84031a3db4ddd2e835e1893a90f3b (patch) | |
tree | 3f6c7097b0c7bd65ac278b2d667d382536fe2fa7 /common | |
parent | 51152c173d025551dce4e0097e14e147ad016d3b (diff) | |
download | u-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')
-rw-r--r-- | common/cmd_jffs2.c | 13 |
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; |