[U-Boot] BUG: Environment is in SPI flash does not even compile (at least for Orange PI PC2

Jagan Teki jagannadh.teki at gmail.com
Mon Oct 9 09:28:25 UTC 2017


On Wed, Sep 27, 2017 at 12:43 PM,  <kope at madnet.sk> wrote:
>
> Hi,
>
> I'm trying to compile u-boot with Environment in SPI flash
> (CONFIG_ENV_IS_IN_SPI_FLASH?) for Orange PI PC2.
>
> Compilation ends with an error:
>   CC      env/sf.o
> env/sf.c: In function ‘env_sf_save’:
> env/sf.c:266:6: error: ‘CONFIG_ENV_SECT_SIZE’ undeclared (first use in this
> function); did you mean ‘CONFIG_ENV_SIZE’?

Need to defined SPI_FLASH and respective VENDOR FLASH configs, better
to send a patch for further discussion if any.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list