Quellcode durchsuchen

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 vor 12 Jahren
Ursprung
Commit
c14ceb4298
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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>;
 	};