[PATCH] update board config for jupiter Board:
[oweals/u-boot.git] / common / cmd_ace.c
index 54fb9189ff290348994bd91bc4b6c65f6c87251c..b6d61057fdebe10e34a80d9746f0ede1a758c565 100644 (file)
@@ -31,7 +31,7 @@
  * available to cmd_fat.c:get_dev and filling in a block device
  * description that has all the bits needed for FAT support to
  * read sectors.
- * 
+ *
  * According to Xilinx technical support, before accessing the
  * SystemACE CF you need to set the following control bits:
  *     FORCECFGMODE : 1
@@ -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;