Re: [PATCH v5 6/6] dt-bindings: mmc: Document support for partition table in mmc-card
From: Rob Herring (Arm)
Date: Wed Oct 02 2024 - 17:07:45 EST
On Wed, 02 Oct 2024 00:18:58 +0200, Christian Marangi wrote:
> Document support for defining a partition table in the mmc-card node.
>
> This is needed if the eMMC doesn't have a partition table written and
> the bootloader of the device load data by using absolute offset of the
> block device. This is common on embedded device that have eMMC installed
> to save space and have non removable block devices.
>
> If an OF partition table is detected, any partition table written in the
> eMMC will be ignored and won't be parsed.
>
> eMMC provide a generic disk for user data and if supported (JEDEC 4.4+)
> also provide two additional disk ("boot1" and "boot2") for special usage
> of boot operation where normally is stored the bootloader or boot info.
> New JEDEC version also supports up to 4 GP partition for other usage
> called "gp1", "gp2", "gp3", "gp4".
>
> Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
> ---
> .../devicetree/bindings/mmc/mmc-card.yaml | 52 +++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>