// Get NAND flash data bytes per sector.
//
if (!FMD_GetInfo(&flashInfo))
{
EdbgOutputDebugString("ERROR: Unable to get NAND flash information.\r\n");
return(FALSE);
}
// Calculate the physical block range for the NK image
dwStartBlock = IMAGE_BOOT_RECOVERY_NAND_OFFSET / flashInfo.dwBytesPerBlock;
dwNumBlocks = flashInfo.dwNumBlocks - dwStartBlock;
KITLOutputDebugString("\r\nReserving System Blocks... (Block ID: 0 - 0x%x) \r\n", dwStartBlock);