summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-05 00:25:17 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-05 00:25:17 +0200
commit29ca46c4453c41e0617b76248cae3be628e03cc2 (patch)
tree73ae3cdc3d160331d15984adc7ca410a4037eb88 /common
parent99b0d2851a137453f4aca5f0a3d301b776bda28b (diff)
downloadu-boot-imx-29ca46c4453c41e0617b76248cae3be628e03cc2.zip
u-boot-imx-29ca46c4453c41e0617b76248cae3be628e03cc2.tar.gz
u-boot-imx-29ca46c4453c41e0617b76248cae3be628e03cc2.tar.bz2
Fix device partition intialization for SystemACE disks.
Patch by Stephen Williams, 28 Apr 2005
Diffstat (limited to 'common')
-rw-r--r--common/cmd_ace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_ace.c b/common/cmd_ace.c
index fb4d358..b6d6105 100644
--- a/common/cmd_ace.c
+++ b/common/cmd_ace.c
@@ -131,6 +131,7 @@ block_dev_desc_t * systemace_get_dev(int dev)
not yet initialized. In that case, fill it in. */
if (systemace_dev.blksz == 0) {
systemace_dev.if_type = IF_TYPE_UNKNOWN;
+ systemace_dev.dev = 0;
systemace_dev.part_type = PART_TYPE_UNKNOWN;
systemace_dev.type = DEV_TYPE_HARDDISK;
systemace_dev.blksz = 512;