[PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST

Sergei Antonov saproj at gmail.com
Sat Sep 3 16:49:50 CEST 2022


On Sat, 3 Sept 2022 at 17:31, Tom Rini <trini at konsulko.com> wrote:
>
> On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote:
>
> > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c
> > driver. It allows to specify a range of protected eraseblocks on flash memory.
> >
> > Fixes build error:
> > Error: You must add new CONFIG options using Kconfig
> > The following new ad-hoc CONFIG options were detected:
> > CONFIG_SYS_FLASH_AUTOPROTECT_LIST
> >
> > Signed-off-by: Sergei Antonov <saproj at gmail.com>
> > ---
> >  scripts/config_whitelist.txt | 1 +
> >  1 file changed, 1 insertion(+)
>
> Please move this to Kconfig so that it can be enabled, thanks.

What type must it be in Kconfig? Note, it is an array initializer
similar to CONFIG_SYS_BAUDRATE_TABLE.


More information about the U-Boot mailing list