[PATCH 00/11] Add support for SUNIV and F1C100s.
Jesse Taube
mr.bossman075 at gmail.com
Sat Jan 15 22:02:05 CET 2022
On 1/10/22 00:13, Tnze Jdao wrote:
> I tested this patch and tried to run it on my LicheePi Nano. It works, but I found there is WARNINGs when compile the code:
> -------
> include/configs/sunxi-common.h:128:0: warning: "CONFIG_ENV_SECT_SIZE" redefined
> #define CONFIG_ENV_SECT_SIZE 0x1000
Ah I will move this it should be moved to defconfig thx for pointing
this out.
>
> In file included from ././include/linux/kconfig.h:4:0,
> from <command-line>:0:
> include/generated/autoconf.h:296:0: note: this is the location of the previous definition
> #define CONFIG_ENV_SECT_SIZE 0x1
Not entirely sure how it got defined here, it doesn't get defined in my
generated config.
>
> In file included from include/configs/suniv.h:12:0,
> from include/config.h:4,
> from include/common.h:16,
> from lib/slre.c:24:
> --------
> And I think the problem is the CONFIG_ENV_SECT_SIZE should be (and required to) defined in the config file rather than at include/configs/sunxi-common.h:128
Im sorry for the late reply the email got lost.
More information about the U-Boot
mailing list