Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
c14ceb4298
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>;
 	};