forked from openkylin/platform_build
Revert "Fix the case BOARD_FLASH_BLOCK_SIZE smaller than BOARD_NAND_PAGE_SIZE, eg generic_x86"
This reverts commit 279f3084bb
.
Change-Id: I27069190503e586d3d77a933d92459a34eb55cb8
This commit is contained in:
parent
9a0c36af91
commit
bfaf531e05
|
@ -1833,10 +1833,8 @@ endif
|
|||
# spare area for each page).
|
||||
# $(1): the partition data size
|
||||
define image-size-from-data-size
|
||||
$(strip $(eval _isfds_value := $(shell echo $$(($(1) / $(BOARD_NAND_PAGE_SIZE) * \
|
||||
($(BOARD_NAND_PAGE_SIZE)+$(BOARD_NAND_SPARE_SIZE))))))\
|
||||
$(if $(filter 0, $(_isfds_value)),$(shell echo $$(($(BOARD_NAND_PAGE_SIZE)+$(BOARD_NAND_SPARE_SIZE)))),$(_isfds_value))\
|
||||
$(eval _isfds_value :=))
|
||||
$(shell echo $$(($(1) / $(BOARD_NAND_PAGE_SIZE) * \
|
||||
($(BOARD_NAND_PAGE_SIZE)+$(BOARD_NAND_SPARE_SIZE)))))
|
||||
endef
|
||||
|
||||
# $(1): The file(s) to check (often $@)
|
||||
|
|
Loading…
Reference in New Issue