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’?
After defining CONFIG_ENV_SECT_SIZE in include/configs/sunxi-common.h
linking fails with error:
LD u-boot
env/built-in.o: In function `setup_flash_device':
/root/uboot/u-boot/env/sf.c:71: undefined reference to `spi_flash_probe'
env/built-in.o: In function `env_sf_load':
/root/uboot/u-boot/env/sf.c:342: undefined reference to `spi_flash_free'
Is there a way to have the environment in the SPI?
Thanks. Regards,
Peter Kosa
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot