summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-20 02:45:35 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-24 18:09:06 +0200
commitdc913385dd74e625271482c30aefedd1e5af7b8c (patch)
tree4e9a7960d600179c7799501d4f89de4ebea2c9e1 /block/genhd.c
parentpartitions/efi: Support non-standard GPT location (diff)
downloadlinux-dc913385dd74e625271482c30aefedd1e5af7b8c.tar.xz
linux-dc913385dd74e625271482c30aefedd1e5af7b8c.zip
mmc: block: Support alternative_gpt_sector() operation
Support generic alternative_gpt_sector() block device operation. It calculates location of GPT entry for eMMC of NVIDIA Tegra Android devices. Add new MMC_CAP2_ALT_GPT_TEGRA flag that enables scanning of alternative GPT sector and add raw_boot_mult field to mmc_ext_csd which allows to get size of the boot partitions that is needed for the calculation. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20210820004536.15791-4-digetx@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions