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

2017-10-09 Thread Jagan Teki
On Wed, Sep 27, 2017 at 12:43 PM, 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:

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

2017-09-27 Thread kope
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);