D Dmitry Osipenko #
Message details and related content
This series adds the most minimal EFI partition support for NVIDIA Tegra
consumer devices, like Android tablets and game consoles, making theirs
eMMC accessible out-of-the-box using downstream bootloader and mainline
Linux kernel. eMMC now works on Acer A500 tablet and Ouya game console
that are already well supported in mainline and internal storage is the
only biggest thing left to support.
Changelog:
v6: - Added comment for the alternative_gpt_sector() callback, which
was asked by Christoph Hellwig.
- Changed alternative_gpt_sector() to take disk for the argument
instead of blkdev. This was asked by Christoph Hellwig.
- Dropped mmc_bdops check as it was suggested by Christoph Hellwig.
- Added missing mmc_blk_put() that was spotted by Christoph Hellwig.
- Moved GPT calculation into MMC core and added MMC_CAP2_ALT_GPT_SECTOR
flag, like it was asked by Ulf Hansson. Me and Thierry have concerns
about whether it's better to have Tegra-specific function in a core
instead of Tegra driver, but it also works, so I decided to try that
variant.
v5: - Implemented alternative_gpt_sector() blk/mmc callback that was
suggested by Christoph Hellwig in a comment to v4.
- mmc_bdev_to_card() now checks blk fops instead of the major number,
like it was suggested by Christoph Hellwig in a comment to v4.
- Emailed Rob Herring, which was asked by Ulf Hansson in a comment
to v4. Although the of-match change is gone now in v5, the matching
is transformed into the new SDHCI quirk of the Tegra driver.
v4: - Rebased on top of recent linux-next.
v3: - Removed unnecessary v1 hunk that was left by accident in efi.c of v2.
v2: - This is continuation of [1] where Davidlohr Bueso suggested that it