Re: [PATCH] mtd: gpmi: make blockmark swapping optional

From: Huang Shijie
Date: Thu Mar 20 2014 - 06:55:30 EST


ä 2014å03æ20æ 18:09, Lothar WaÃmann åé:
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 disable the
swapping. But you are disabling the swapping in the imx28's DTS file, 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 DISBBM bit.

thanks
Huang Shijie


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/