[U-Boot] [PATCH 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

Andy Pont andy.pont at sdcsystems.com
Mon Jun 30 12:46:06 CEST 2014


Hi Bo,

> >> +#ifdef CONFIG_CMD_FLASH
> >> +#define CONFIG_SYS_FLASH_CFI
> >> +#define CONFIG_FLASH_CFI_DRIVER
> >> +#define CONFIG_SYS_FLASH_BASE		0x10000000
> >> +#define CONFIG_SYS_MAX_FLASH_SECT	0x20000

Is this the correct value for CONFIG_SYS_MAX_FLASH_SECT?  Shouldn't it be
127 (if we ignore the top boot block) or 131 if they are included?

Regards,

Andy.



More information about the U-Boot mailing list