2010-06-14 Arnout Vandecappelle <arnout@mind.be>

PR 1557/misc
	* libchip/i2c/spi-sd-card.c: Fixed low capacity special case.
This commit is contained in:
Sebastian Huber
2010-06-14 16:09:23 +00:00
parent 9257060300
commit 559affa638
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2010-06-14 Arnout Vandecappelle <arnout@mind.be>
PR 1557/misc
* libchip/i2c/spi-sd-card.c: Fixed low capacity special case.
2010-06-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-cpu-subdirs.m4: Remove nios2.

View File

@@ -914,6 +914,7 @@ static rtems_status_code sd_card_init( sd_card_driver_entry *e)
*/
e->block_size_shift = 9;
e->block_size = 512;
e->block_number *= 2;
}
/* Set read block size */