/* Returns the number of bits used by the data bus of a NAND Flash device.  */
uint32_t nand_flash_model_get_data_bus_width(const struct nand_flash_model *model)
/* Returns the number of bits used by the data bus of a NAND Flash device.  */
uint32_t nand_flash_model_get_data_bus_width(const struct nand_flash_model *model)
{
	return (model->options & NAND_FLASH_MODEL_DATA_BUS_16) ? 16 : 8;
}