diff mbox series

[1/5] ARM: dts: aspeed: Remove flash layout from Facebook AST2500 Common dtsi

Message ID 20200824211948.12852-2-rentao.bupt@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: aspeed: Add Facebook Wedge400 (AST2500) BMC | expand

Commit Message

Tao Ren Aug. 24, 2020, 9:19 p.m. UTC
From: Tao Ren <rentao.bupt@gmail.com>

Remove FMC flash layout from ast2500-facebook-netbmc-common.dtsi because
flash size and layout varies across different Facebook AST2500 OpenBMC
platforms.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 .../boot/dts/ast2500-facebook-netbmc-common.dtsi    | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Patrick Williams Aug. 25, 2020, 2:16 p.m. UTC | #1
On Mon, Aug 24, 2020 at 02:19:44PM -0700, rentao.bupt@gmail.com wrote:
> From: Tao Ren <rentao.bupt@gmail.com>
> 
> Remove FMC flash layout from ast2500-facebook-netbmc-common.dtsi because
> flash size and layout varies across different Facebook AST2500 OpenBMC
> platforms.
> 
> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> ---
>  .../boot/dts/ast2500-facebook-netbmc-common.dtsi    | 13 -------------
>  1 file changed, 13 deletions(-)
> 

Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/ast2500-facebook-netbmc-common.dtsi b/arch/arm/boot/dts/ast2500-facebook-netbmc-common.dtsi
index 7468f102bd76..c0c43b8644ee 100644
--- a/arch/arm/boot/dts/ast2500-facebook-netbmc-common.dtsi
+++ b/arch/arm/boot/dts/ast2500-facebook-netbmc-common.dtsi
@@ -47,25 +47,12 @@ 
 		status = "okay";
 		m25p,fast-read;
 		label = "spi0.0";
-
-#include "facebook-bmc-flash-layout.dtsi"
 	};
 
 	fmc_flash1: flash@1 {
 		status = "okay";
 		m25p,fast-read;
 		label = "spi0.1";
-
-		partitions {
-			compatible = "fixed-partitions";
-			#address-cells = <1>;
-			#size-cells = <1>;
-
-			flash1@0 {
-				reg = <0x0 0x2000000>;
-				label = "flash1";
-			};
-		};
 	};
 };