diff mbox series

ARM: dts: aspeed: yosemite4: adjust secondary flash name

Message ID 20241218212458.3050775-1-patrick@stwcx.xyz
State New
Headers show
Series ARM: dts: aspeed: yosemite4: adjust secondary flash name | expand

Commit Message

Patrick Williams Dec. 18, 2024, 9:24 p.m. UTC
Meta (Facebook) has a preference for all of our secondary flash
chips to be labelled "alt-bmc" for consistency of userspace tools
deal with updates.  Bletchley, Harma, Minerva, and Catalina all
follow this convention but for some reason Yosemite4 is different.

Adjust the label in the dts to match the other platforms.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Jeffery Jan. 7, 2025, 5:14 a.m. UTC | #1
Hi Patrick,

On Wed, 2024-12-18 at 16:24 -0500, Patrick Williams wrote:
> Meta (Facebook) has a preference for all of our secondary flash
> chips to be labelled "alt-bmc" for consistency of userspace tools
> deal with updates.  Bletchley, Harma, Minerva, and Catalina all
> follow this convention but for some reason Yosemite4 is different.
> 
> Adjust the label in the dts to match the other platforms.
> 
> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> ---
>  arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-
> yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-
> yosemite4.dts
> index 98477792aa00..e20816d9e077 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
> @@ -112,7 +112,7 @@ flash@0 {
>         flash@1 {
>                 status = "okay";
>                 m25p,fast-read;
> -               label = "bmc2";
> +               label = "alt-bmc";
>                 spi-rx-bus-width = <4>;
>                 spi-max-frequency = <50000000>;
>         };

I'm hitting conflicts (?) when I apply this on top of[1]. Do you mind
rebasing it?

[1]: https://github.com/amboar/linux/tree/for/bmc/aspeed/dt

Andrew
Patrick Williams Jan. 7, 2025, 4:24 p.m. UTC | #2
On Tue, Jan 07, 2025 at 03:44:04PM +1030, Andrew Jeffery wrote:
> 
> >                 status = "okay";
> >                 m25p,fast-read;
> > -               label = "bmc2";
> > +               label = "alt-bmc";
> >                 spi-rx-bus-width = <4>;
> >                 spi-max-frequency = <50000000>;
> >         };
> 
> I'm hitting conflicts (?) when I apply this on top of[1]. Do you mind
> rebasing it?
> 
> [1]: https://github.com/amboar/linux/tree/for/bmc/aspeed/dt

Sure.  It looks like someone elsewhere changed the spi-rx-bus-width
which is causing the conflict.  I'll resent a rebase.

I'd like this backported to the openbmc tree also.  Not sure which
version is best for that tree right now.
Andrew Jeffery Jan. 8, 2025, 12:30 a.m. UTC | #3
On Tue, 2025-01-07 at 11:24 -0500, Patrick Williams wrote:
> On Tue, Jan 07, 2025 at 03:44:04PM +1030, Andrew Jeffery wrote:
> > 
> > >                 status = "okay";
> > >                 m25p,fast-read;
> > > -               label = "bmc2";
> > > +               label = "alt-bmc";
> > >                 spi-rx-bus-width = <4>;
> > >                 spi-max-frequency = <50000000>;
> > >         };
> > 
> > I'm hitting conflicts (?) when I apply this on top of[1]. Do you
> > mind
> > rebasing it?
> > 
> > [1]: https://github.com/amboar/linux/tree/for/bmc/aspeed/dt
> 
> Sure.  It looks like someone elsewhere changed the spi-rx-bus-width
> which is causing the conflict.  I'll resent a rebase.
> 
> I'd like this backported to the openbmc tree also.  Not sure which
> version is best for that tree right now.
> 

I've applied the rebased patch to both (the backport didn't conflict).

Andrew
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index 98477792aa00..e20816d9e077 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -112,7 +112,7 @@  flash@0 {
 	flash@1 {
 		status = "okay";
 		m25p,fast-read;
-		label = "bmc2";
+		label = "alt-bmc";
 		spi-rx-bus-width = <4>;
 		spi-max-frequency = <50000000>;
 	};