21.08.2021 01:41, Michał Mirosław пишет:
On Thu, Aug 19, 2021 at 01:19:15AM +0300, Dmitry Osipenko wrote:
quoted
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.
[...]
Could we provide the GPT sector via DT? As I understand this is for
non-removable eMMC storage. It would remove the need for a cap bit and
hardcoded calculations instead just checking if DT node of the controller
contains a magic entry with a number.
The same device model usually comes in different flavors that have a
different eMMC unit and size. So no, it can't be hardcoded in DT.