2020-08-24 21:21:13

by Tao Ren

[permalink] [raw]
Subject: [PATCH 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout

From: Tao Ren <[email protected]>

Set 32MB FMC flash layout in Yamp device tree explicitly because flash
layout settings were removed from "ast2500-facebook-netbmc-common.dtsi".

Signed-off-by: Tao Ren <[email protected]>
---
arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
index fe2e11c2da15..5e6105874217 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
@@ -108,3 +108,20 @@
&i2c13 {
status = "okay";
};
+
+&fmc_flash0 {
+#include "facebook-bmc-flash-layout.dtsi"
+};
+
+&fmc_flash1 {
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ flash1@0 {
+ reg = <0x0 0x2000000>;
+ label = "flash1";
+ };
+ };
+};
--
2.17.1


2020-08-25 14:19:04

by Patrick Williams

[permalink] [raw]
Subject: Re: [PATCH 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout

On Mon, Aug 24, 2020 at 02:19:46PM -0700, [email protected] wrote:
> From: Tao Ren <[email protected]>
>
> Set 32MB FMC flash layout in Yamp device tree explicitly because flash
> layout settings were removed from "ast2500-facebook-netbmc-common.dtsi".
>
> Signed-off-by: Tao Ren <[email protected]>
> ---
> arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>

Reviewed-by: Patrick Williams <[email protected]>

--
Patrick Williams


Attachments:
(No filename) (521.00 B)
signature.asc (849.00 B)
Download all attachments