Browse Source

ARM: dts: imx27-phytec-phycore-rdk: Add MTD name for NOR flash

This patch adds name for NOR flash. This keeps compatibility for
commandline partitions parsing from old bootloaders and make name
of device same for DT and non-DT boot.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Alexander Shiyan 12 năm trước cách đây
mục cha
commit
c14ceb4298
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/arm/boot/dts/imx27-phytec-phycore-som.dts

+ 1 - 0
arch/arm/boot/dts/imx27-phytec-phycore-som.dts

@@ -57,6 +57,7 @@
 		compatible = "cfi-flash";
 		bank-width = <2>;
 		reg = <0xc0000000 0x02000000>;
+		linux,mtd-name = "physmap-flash.0";
 		#address-cells = <1>;
 		#size-cells = <1>;
 	};