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

ARM: dts: aspeed: wedge400: Use common flash layout

Simplify wedge400 flash layout by using the common layout defined in
"facebook-bmc-flash-layout-128.dtsi".

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210805222818.8391-3-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Tao Ren and committed by
Joel Stanley
2cbc1474 b74759f7

+1 -47
+1 -47
arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts
··· 91 91 * Both firmware flashes are 128MB on Wedge400 BMC. 92 92 */ 93 93 &fmc_flash0 { 94 - partitions { 95 - compatible = "fixed-partitions"; 96 - #address-cells = <1>; 97 - #size-cells = <1>; 98 - 99 - /* 100 - * u-boot partition: 384KB. 101 - */ 102 - u-boot@0 { 103 - reg = <0x0 0x60000>; 104 - label = "u-boot"; 105 - }; 106 - 107 - /* 108 - * u-boot environment variables: 128KB. 109 - */ 110 - u-boot-env@60000 { 111 - reg = <0x60000 0x20000>; 112 - label = "env"; 113 - }; 114 - 115 - /* 116 - * FIT image: 123.5 MB. 117 - */ 118 - fit@80000 { 119 - reg = <0x80000 0x7b80000>; 120 - label = "fit"; 121 - }; 122 - 123 - /* 124 - * "data0" partition (4MB) is reserved for persistent 125 - * data store. 126 - */ 127 - data0@7c00000 { 128 - reg = <0x7c00000 0x400000>; 129 - label = "data0"; 130 - }; 131 - 132 - /* 133 - * "flash0" partition (covering the entire flash) is 134 - * explicitly created to avoid breaking legacy applications. 135 - */ 136 - flash0@0 { 137 - reg = <0x0 0x8000000>; 138 - label = "flash0"; 139 - }; 140 - }; 94 + #include "facebook-bmc-flash-layout-128.dtsi" 141 95 }; 142 96 143 97 &fmc_flash1 {