diff options
author | wdenk <wdenk> | 2005-02-04 15:02:06 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-02-04 15:02:06 +0000 |
commit | 20a80418f9201f81b718aeb6c872b83bd8e929c0 (patch) | |
tree | 0261a799b44e9b6029b1e7bb7620cba2ceb88ac6 /common/cmd_ext2.c | |
parent | 1a344f298d9d334f7bec631432c10c0666d04757 (diff) | |
download | u-boot-imx-20a80418f9201f81b718aeb6c872b83bd8e929c0.zip u-boot-imx-20a80418f9201f81b718aeb6c872b83bd8e929c0.tar.gz u-boot-imx-20a80418f9201f81b718aeb6c872b83bd8e929c0.tar.bz2 |
* Patch by Cajus Hahn, 04 Feb 2005:
- don't insist on leading '/' for filename in ext2load
- set default partition to useful value (1) in ext2load
* Patch by Andrew Dyer, 08 Jan 2005:
fix wrong return codes in ext2 code
Diffstat (limited to 'common/cmd_ext2.c')
-rw-r--r-- | common/cmd_ext2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c index f8e04ed..75afb32 100644 --- a/common/cmd_ext2.c +++ b/common/cmd_ext2.c @@ -161,7 +161,7 @@ int do_ext2load (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { char *filename = NULL; char *ep; - int dev, part = 0; + int dev, part = 1; ulong addr = 0, part_length, filelen; disk_partition_t info; block_dev_desc_t *dev_desc = NULL; |