kconfig: remove redundant "SPL" from CONFIG_SYS_EXTRA_OPTIONS

CONFIG_SPL is defined as a primary option in Kconfig.
It should not be added to CONFIG_SYS_EXTRA_OPTIONS.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arm: am335x: add Kconfig range attribute to prevent invalid CONS_INDEX

The help message in board/ti/am335x/Kconfig says AM335x has
6 UARTs, so the valid number for CONFIG_CONS_INDEX is from 1 to 6.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Commit-notes:

BTW, why does CONFIG_CONS_INDEX start from 1, not 0.

CONFIG_CONS_INDEX=1 correponds to UART0 ?

END
SPDX: Add ISC SPDX-License-Identifier

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Wolfgang Denk <wd@denx.de>
Series-changes: 2
  - Newly added
tools: Import Kconfiglib

Kconfiglib is the flexible Python Kconfig parser and library
created by Ulf Magnusson.
(https://github.com/ulfalizer/Kconfiglib)

This commit imports kconfiglib.py from
commit ce84c22e58fa59cb93679d4ead03c3cd1387965e,
with ISC SPDX-License-Identifier.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Cc: Ulf Magnusson <ulfalizer@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Series-changes: 2
  - Newly added
tools/genboardscfg.py: improve performance more with Kconfiglib

The idea of using Kconfiglib was given by Tom Rini.
It allows us to scan lots of defconfigs very quickly.
This commit also uses multiprocessing for further acceleration.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Suggested-by: Tom Rini <trini@ti.com>
Series-cc: Tom Rini <trini@ti.com>
Series-cc: sjg
Series-cc: wd
Series-cc: Ulf Magnusson <ulfalizer@gmail.com>
Series-version: 2
Series-changes: 2
  - Do not install Kconfiglib
  - Comments fixes, cleanups based on Simon's review.

Cover-letter:
Add ISC SPDX, import Kconfiglib and improve genboardscfg.py

END
tools: move_config
tools: moveconfig.py
kconfig: add blank Kconfig files

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: add CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig
kconfig: move CONFIG_CMD_BOOTM to Kconfig

Since CONFIG_CMD_BOOTM is defined in include/config_cmd_defaults.h,
it is enabled for all the boards except the ones undefining it
explicitly:
  bf506f-ezkit
  controlcenterd_TRAILBLA
  controlcenterd_TRAILBLAZER_DEVELOP
  controlcenterd_TRAILBLAZER

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
bootm
kconfig: move CONFIG_CMD_CRC32 to Kconfig

Since CONFIG_CMD_CRC32 is defined in include/config_cmd_defaults.h,
it is enabled for all the boards except the ones undefining it
explicitly:
  kwb_defconfig
  tseries_mmc_defconfig
  tseries_nand_defconfig
  tseries_spi_defconfig
  vct_platinum_onenand_small_defconfig
  vct_platinum_small_defconfig
  vct_platinumavc_onenand_small_defconfig
  vct_platinumavc_small_defconfig
  vct_premium_onenand_small_defconfig
  vct_premium_small_defconfig

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
crc32
kconfig: move CONFIG_CMD_EXPORTENV to Kconfig

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
env export

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: move CONFIG_CMD_GO to Kconfig
go command
kconfig: move CONFIG_CMD_IMPORTENV to Kconfig

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
env import