[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210119165138.4982ae46@xps13>
Date: Tue, 19 Jan 2021 16:51:38 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Rafał Miłecki <zajec5@...il.com>,
Richard Weinberger <richard@....at>
Cc: Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Boris Brezillon <bbrezillon@...nel.org>,
linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH 3/3] mtd: parsers: ofpart: support BCM4908 fixed
partitions
Hi Rafał,
Rafał Miłecki <zajec5@...il.com> wrote on Fri, 15 Jan 2021 16:39:01
+0100:
> From: Rafał Miłecki <rafal@...ecki.pl>
>
> BCM4908 partitioning is based on fixed layout but allows specifying
> multiple firmware partitions. It requires detecting which firmware
> partition was used for booting current kernel.
>
> To support such cases without duplicating a lot of code (without copying
> most of the ofpart.c code) support for post-parsing callback was added.
>
> BCM4908 callback simply reads offset of currently used firmware
> partition from the DT. Bootloader specifies it using the "brcm_blparms"
> property.
>
> Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
The approach looks fine by me, let's see what other maintainers think.
Cheers,
Miquèl
Powered by blists - more mailing lists