From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <532AC950.6070108@freescale.com> Date: Thu, 20 Mar 2014 18:56:16 +0800 From: Huang Shijie MIME-Version: 1.0 To: =?UTF-8?B?TG90aGFyIFdhw59tYW5u?= Subject: Re: [PATCH] mtd: gpmi: make blockmark swapping optional References: <1395235406-13449-1-git-send-email-y> <532AB1A2.9010702@freescale.com> <20140320102153.7106f915@ipc1.ka-ro> <532AB94D.1050406@freescale.com> <20140320110914.731db7cf@ipc1.ka-ro> In-Reply-To: <20140320110914.731db7cf@ipc1.ka-ro> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Fabio Estevam , Mark Rutland , b47714@freescale.com, Russell King , Pawel Moll , Arnd Bergmann , Ian Campbell , Artem Bityutskiy , y@KARO-electronics.de, 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 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=8820=E6=97=A5 18:09, Lothar Wa=C3=9Fmann = =E5=86=99=E9=81=93: > This can be disabled by parameter in the FCB (at least according to > the i.MX6 reference Manual): from imx28's reference manual, there is not such bit in the FCB to=20 disable the swapping. But you are disabling the swapping in the imx28's DTS file,=20 isn't it? I think it is dangerous. > |DISBBM 172 4 If 0 ROM will swap BadBlockMarkerByte with > | metadata[0] after reading a page using BCH40. > | If the value set is 1 then ROM will not do > | swapping > > I will consult with our ROM colleague about this DISBBM bit. I am not sure if the ROM still do the swapping for the uboot when we set=20 DISBBM bit. thanks Huang Shijie