
9 Oct
2017
9 Oct
'17
11:28 a.m.
On Wed, Sep 27, 2017 at 12:43 PM, kope@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.