smart.c: fix fs corruption when power off while erasing the flash
smart.c: fix fs corruption when power off while erasing the flash

If the power of the board suddenly goes off while erasing the flash
block, the garbage data remains in the block. It generates error file
I/O in the block. This patch adds crc to the sector header to recover
if the sector is corrupted during block erase.

Change-Id: Ia2809dd6a3ab48910dad795f8ce8e5beb865ebc2
Signed-off-by: Heuisam Kwag <2145cbb01e90577cd4983eccc3b7d9a9dfba6875@samsung.com>

JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT