/* Returns the size of the whole device in Mega bytes (this does not include the size of the spare zones).  */
uint16_t nand_flash_model_get_device_size_in_megabytes(const struct nand_flash_model *model)
/* Returns the size of the whole device in Mega bytes (this does not include the size of the spare zones).  */
uint16_t nand_flash_model_get_device_size_in_megabytes(const struct nand_flash_model *model)
{
	return (model->device_size_in_megabytes);
}