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 |
---|
|
docs/getting_started/porting-guide.rst |
---|
drivers/partition/gpt.c |
---|
drivers/partition/partition.c |
---|
include/drivers/partition/gpt.h |
---|
include/drivers/partition/partition.h |
---|