[PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0 partition to 64MB
Tao Ren
rentao.bupt at gmail.com
Sun Jul 20 22:55:19 PDT 2025
Hi Andrew,
On Mon, Jul 21, 2025 at 10:42:03AM +0930, Andrew Jeffery wrote:
> On Sat, 2025-07-05 at 21:23 -0700, rentao.bupt at gmail.com wrote:
> > From: Tao Ren <rentao.bupt at gmail.com>
> >
> > Extend wedge400 BMC flash's data0 partition to 64MB for larger
> > persistent storage.
> >
> > Signed-off-by: Tao Ren <rentao.bupt at gmail.com>
> > ---
> > Changes in v2:
> > - None (the patch is introduced in v2).
> >
> > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > index 3e4d30f0884d..cf6c768cbad5 100644
> > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
> > @@ -92,7 +92,7 @@ tpm at 0 {
> > * Both firmware flashes are 128MB on Wedge400 BMC.
> > */
> > &fmc_flash0 {
> > -#include "facebook-bmc-flash-layout-128.dtsi"
> > +#include "facebook-bmc-flash-layout-128-data64.dtsi"
>
> My preference here is that we maintain two separate DTS for Wedge400:
>
> - aspeed-bmc-facebook-wedge400.dts
> - aspeed-bmc-facebook-wedge400-data64.dts
>
> We do so such that we implement aspeed-bmc-facebook-wedge400.dts like:
>
> > cat aspeed-bmc-facebook-wedge400.dts
> #include "aspeed-bmc-facebook-wedge400-data64.dts"
>
> &fmc_flash0 {
> /delete-node/partitions;
> #include "facebook-bmc-flash-layout-128.dtsi"
> };
>
> aspeed-bmc-facebook-wedge400-data64.dts includes facebook-bmc-flash-
> layout-128-data64.dtsi as usual.
>
> From there we can consider aspeed-bmc-facebook-wedge400.dts to be
> deprecated and can remove it in a future release. At least with this
> arrangement any revert of the (future) patch removing aspeed-bmc-
> facebook-wedge400.dts has no other impact. Further, both layouts will
> be supported in at least one release, making it possible to update the
> kernel without requiring a simultaneous update to the flash layout.
>
> Andrew
Thank you for the detailed explanation. Let me send out v3 after testing
the changes.
Cheers,
Tao
More information about the linux-arm-kernel
mailing list