Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: dts: aspeed: Add 128M alt flash layout to NVIDIA MSX4

Add a 128M layout for the BMC flash chip we didn't boot from. Including
this allows the user to write to each partition on the alternate spi
chip. This dtsi follows the existing standard of using the same layout
as non alt version and prepending `alt` to each partition's name.

[arj: Update subject, elide test demonstration]

Signed-off-by: Marc Olberding <molberding@nvidia.com>
Link: https://patch.msgid.link/20260120-alt-128-v4-1-0e5c491a532c@nvidia.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

authored by

Marc Olberding and committed by
Andrew Jeffery
62f0fd75 36c1cea2

+33
+1
arch/arm/boot/dts/aspeed/aspeed-bmc-nvidia-msx4-bmc.dts
··· 67 67 spi-tx-bus-width = <1>; 68 68 spi-rx-bus-width = <1>; 69 69 status = "okay"; 70 + #include "openbmc-flash-layout-128-alt.dtsi" 70 71 }; 71 72 }; 72 73
+32
arch/arm/boot/dts/aspeed/openbmc-flash-layout-128-alt.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + 3 + partitions { 4 + compatible = "fixed-partitions"; 5 + #address-cells = <1>; 6 + #size-cells = <1>; 7 + 8 + u-boot@0 { 9 + reg = <0x0 0xe0000>; // 896KB 10 + label = "alt-u-boot"; 11 + }; 12 + 13 + u-boot-env@e0000 { 14 + reg = <0xe0000 0x20000>; // 128KB 15 + label = "alt-u-boot-env"; 16 + }; 17 + 18 + kernel@100000 { 19 + reg = <0x100000 0x900000>; // 9MB 20 + label = "alt-kernel"; 21 + }; 22 + 23 + rofs@a00000 { 24 + reg = <0xa00000 0x5600000>; // 86MB 25 + label = "alt-rofs"; 26 + }; 27 + 28 + rwfs@6000000 { 29 + reg = <0x6000000 0x2000000>; // 32MB 30 + label = "alt-rwfs"; 31 + }; 32 + };