[PATCH v2 3/3] ARM: dts: aspeed: mtjade: Add uefi partition

Quan Nguyen quan at os.amperecomputing.com
Tue Oct 19 17:01:55 AEDT 2021


Add SPI NOR partition for uefi.

Signed-off-by: Thang Q. Nguyen <thang at os.amperecomputing.com>
Signed-off-by: Quan Nguyen <quan at os.amperecomputing.com>
---
v2:
  + Introdued in v2

 arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
index 723c7063c223..4c3c3f1a12ea 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
@@ -374,6 +374,15 @@ flash at 0 {
 		m25p,fast-read;
 		label = "pnor";
 		/* spi-max-frequency = <100000000>; */
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			uefi at 400000 {
+				reg = <0x400000 0x1C00000>;
+				label = "pnor-uefi";
+			};
+		};
 	};
 };
 
-- 
2.28.0



More information about the openbmc mailing list