/* Default function to write a byte to I/O on a 16-bit wide chip.  */
static void nand_write_byte16(struct mtd_info *mtd, uint8_t byte)
/* Default function to write a byte to I/O on a 16-bit wide chip.  */
static void nand_write_byte16(struct mtd_info *mtd, uint8_t byte)
{
	struct nand_chip *chip = mtd_to_nand(mtd);
	uint16_t word = byte;
	chip->write_buf(mtd, (uint8_t *)&word, 2);
}