[U-Boot] [PATCH 10/10] arm: mvebu: Add Armada A38x DB-88F6820-GP board support

Kevin Smith kevin.smith at elecsyscorp.com
Thu Mar 19 01:15:17 CET 2015


Hi Stefan,

On 03/18/2015 02:54 AM, Stefan Roese wrote:
> +/* Environment in SPI NOR flash */
> +#define CONFIG_ENV_IS_IN_SPI_FLASH
> +#define CONFIG_ENV_OFFSET		(1 << 20) /* 1MiB in */
> +#define CONFIG_ENV_SIZE			(64 << 10) /* 64KiB */
> +#define CONFIG_ENV_SECT_SIZE		(64 << 10) /* 64KiB sectors */
>
The M25P128 SPI flash chip on the DB-88F6820-GP board has 1024-page 
sectors, so these will need to be 256KiB instead of 64.  Otherwise the 
SF driver complains when trying to "saveenv".

Regards,
Kevin


More information about the U-Boot mailing list