Support EOF to the WriteData in the sdio.c.