03eb06150b
When checking *.img size with the partition size, the build system reserves additional bits for spare bits and spare bad blocks. However, for emmc and ufs, the space bits and blocks are entirely managed by the underlying controller and thus not visible from outside of the controller. In fact the check routine was made for legacy MTD storages where raw flash blocks are directly exposed. This makes the size checking a little bit conservative in modern devices. Builds were failed even though the *.img can actually fit into the partition. To handle this problem, the additional size is no longer reserved when checking *.img size with the partition size. This change also removes following build flags that are meaningful only for devices having MTD storages: BOARD_NAND_PAGE_SIZE BOARD_NAND_SPARE_SIZE Further use of them breaks the build Bug: 35790399 Bug: 66399382 Test: build Merged-In: I954bf261441b53844e75d05788866f1692a2ad43 Change-Id: I954bf261441b53844e75d05788866f1692a2ad43 |
||
---|---|---|
.. | ||
BoardConfig.mk | ||
system.prop |