All NVIDIA Tegra devices use a special partition table format for the internal storage partitioning. Most of Tegra devices have GPT partition in addition to TegraPT, but some older Android consumer-grade devices do not or GPT is placed in a wrong sector, and thus, the TegraPT is needed in order to support these devices properly by the upstream kernel. This patch adds support for NVIDIA Tegra Partition Table format that is used at least by all NVIDIA Tegra20 and Tegra30 devices. Tested-by: Nils Östlund <nils@naltan.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
14 lines
295 B
C
14 lines
295 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* linux/include/linux/mmc/blkdev.h
|
|
*/
|
|
#ifndef LINUX_MMC_BLOCK_DEVICE_H
|
|
#define LINUX_MMC_BLOCK_DEVICE_H
|
|
|
|
struct block_device;
|
|
struct mmc_card;
|
|
|
|
struct mmc_card *mmc_bdev_to_card(struct block_device *bdev);
|
|
|
|
#endif /* LINUX_MMC_BLOCK_DEVICE_H */
|