summaryrefslogtreecommitdiff
path: root/drivers/block/systemace.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/systemace.c')
-rw-r--r--drivers/block/systemace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c
index bf29cbb..b08715f 100644
--- a/drivers/block/systemace.c
+++ b/drivers/block/systemace.c
@@ -127,6 +127,7 @@ block_dev_desc_t *systemace_get_dev(int dev)
systemace_dev.part_type = PART_TYPE_UNKNOWN;
systemace_dev.type = DEV_TYPE_HARDDISK;
systemace_dev.blksz = 512;
+ systemace_dev.log2blksz = LOG2(systemace_dev.blksz);
systemace_dev.removable = 1;
systemace_dev.block_read = systemace_read;