[PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0 partition to 64MB
Andrew Jeffery
andrew at codeconstruct.com.au
Sun Jul 20 18:12:03 PDT 2025
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
More information about the linux-arm-kernel
mailing list