increase reserved blocks from 5 to 8

Our yaffs filesystems reserve 5 blocks, use 1 for a checkpoint, and
may use 1 or 2 more for caching.  Take these all into account when
computing the max image size.
This commit is contained in:
Doug Zongker
2009-09-14 17:46:41 -07:00
committed by Android Git Automerger
parent 2f7cfd2a52
commit fe0602f60b

View File

@@ -1590,7 +1590,7 @@ $(if $(2), \
echo "$$printname total size is $$total"; \
img_blocksize=$(call image-size-from-data-size,$(BOARD_FLASH_BLOCK_SIZE)); \
if [ "$(3)" == "yaffs" ]; then \
reservedblocks=5; \
reservedblocks=8; \
else \
reservedblocks=0; \
fi; \