drivers: partition: support different block size
The block size of some storage device is 4096-byte long, such as UFS. But
PARTITION_BLOCK_SIZE is defined as 512-byte long. So replace it by
PLAT_PARTITION_BLOCK_SIZE. Make it configurable in platform.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Change-Id: Iada05f7c646d0a0f2c0d3b8545540b3cb7153de3
1 parent 6129e9a commit f8631f51392f0688c70cfd53dc66422404e00e16
@Haojian Zhuang Haojian Zhuang authored on 14 Sep 2019
Showing 5 changed files
View
docs/getting_started/porting-guide.rst
View
drivers/partition/gpt.c
View
drivers/partition/partition.c
View
include/drivers/partition/gpt.h
View
include/drivers/partition/partition.h