fs/driver/mtd: Check CRC of duplicate sectors to confirm active sector
fs/driver/mtd: Check CRC of duplicate sectors to confirm active sector

In the illegal case by power-loss,
when the multiple logical sectors are duplicated,
we compare the sequence number of each sector and select the newer sector.
Just in case, add CRC check for the newer sector.
If the newer sector has CRC error, then we use the older sector.

junmin-kim/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,an4967/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,jsdosa/TizenRT,Samsung/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,jeongarmy/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,an4967/TizenRT,pillip8282/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT