From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <532BCFCC.4080205@freescale.com> Date: Fri, 21 Mar 2014 13:36:12 +0800 From: Huang Shijie MIME-Version: 1.0 To: Subject: Re: [PATCH] mtd: gpmi: make blockmark swapping optional References: <1395235406-13449-1-git-send-email-y> In-Reply-To: <1395235406-13449-1-git-send-email-y> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Fabio Estevam , Mark Rutland , Russell King , Pawel Moll , Arnd Bergmann , Ian Campbell , Artem Bityutskiy , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Rob Landley , Kumar Gala , Brian Norris , David Woodhouse , Sascha Hauer , Shawn Guo , =?UTF-8?B?TG90aGFyIFdhw59tYW5u?= List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , =E4=BA=8E 2014=E5=B9=B403=E6=9C=8819=E6=97=A5 21:23, y@karo-electronics.d= e =E5=86=99=E9=81=93: > + /* Set up swap_block_mark, must be set before the gpmi_set_geometry()= */ > + if (!of_property_read_bool(this->dev->of_node, "fsl,no-blockmark-swap= ")) > + this->swap_block_mark =3D !GPMI_IS_MX23(this); Our ROM guy had confirmed that the Rom will disable the swapping if we=20 set the DISBBM bit. But please do not change any logic for imx23/imx28. I really do not know what's the benefit we can get from this patch. Please send the new version about this patch if you want this feature. thanks Huang Shijie