diff mbox series

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

Message ID 20211019060155.945-4-quan@os.amperecomputing.com (mailing list archive)
State New, archived
Headers show
Series Update gpios, nvme i2c busses and uefi partition | expand

Commit Message

Quan Nguyen Oct. 19, 2021, 6:01 a.m. UTC
Add SPI NOR partition for uefi.

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

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

Comments

Joel Stanley Oct. 19, 2021, 6:46 a.m. UTC | #1
On Tue, 19 Oct 2021 at 06:02, Quan Nguyen <quan@os.amperecomputing.com> wrote:
>
> Add SPI NOR partition for uefi.
>
> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
> Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>

> ---
> 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@0 {
>                 m25p,fast-read;
>                 label = "pnor";
>                 /* spi-max-frequency = <100000000>; */
> +               partitions {
> +                       compatible = "fixed-partitions";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       uefi@400000 {
> +                               reg = <0x400000 0x1C00000>;
> +                               label = "pnor-uefi";
> +                       };
> +               };
>         };
>  };
>
> --
> 2.28.0
>
diff mbox series

Patch

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@0 {
 		m25p,fast-read;
 		label = "pnor";
 		/* spi-max-frequency = <100000000>; */
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			uefi@400000 {
+				reg = <0x400000 0x1C00000>;
+				label = "pnor-uefi";
+			};
+		};
 	};
 };