Kconfig: move EXPERT option under "General setup" menu

Make it a sub-menu of "General setup" like Linux Kernel.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
lib: bzip2: move bzip2 code to lib/bzip2/ directory

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
libfdt: descend from lib/ to lib/libfdt/

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
libfdt: move CONFIG_OF_LIBFDT and CONFIG_FIT to lib/Makefile

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
libfdt: introduce CONFIG_LIBFDT

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
MAINTAINERS: orphan SPEAr boards

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
ppc: 4xx: make CONFIG_CMD_SETGETDCR depend on CONFIG_4xx

CONFIG_CMD_SETGETDCR is meaningful only when CONFIG_4xx is defined.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
ppc: 4xx: move CONFIG_CMD_SETGETDCR to Makefile

The while code of arch/powerpc/cpu/ppc4xx/dcr.S is surrounded
by #if defined(CONFIG_CMD_SETGETDCR) .. #endif.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
ARM: UniPhier: move configs to Kconfig

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

We are moving various config options to Kconfig.  One of our next
targets is CONFIG_SYS_TEXT_BASE.

Historically, TEXT_BASE used to be defined in makefiles (config.mk)
and renamed to CONFIG_SYS_TEXT_BASE.

New boards define it in their header files (include/configs/<board>.h),
whereas some old boards still have it in their config.mk.

This commit moves CONFIG_SYS_TEXT_BASE from config.mk to Kconfig.
Eventually we can remove many board-specific config.mk.

Moving CONFIG_SYS_TEXT_BASE in C header files will be followed-up lator.

To avoid conflicts between Kconfig and board header files, a temporary
option CONFIG_TEXT_BASE_IN_KCONFIG needs to be introduced; it will be
removed after all the definitions of CONFIG_SYS_TEXT_BASE are moved to
Kconfig.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
readd tool
kbuild: remove CONFIG_SYS_TEXT_BASE handling from top Makefile

This code has been here to pass CONFIG_SYS_TEXT_BASE defined
in config.mk to C source code.

Since all the definitions in config.mk were removed in the previous
commit, let's remove unnecessary lines.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kbuild: descend into drivers/ for SPL build

This patch allows the SPL build to descend into scripts/
(but no lines in drivers/Makefile are parsed for SPL for now).

This patch actually has no impact.  It is just the preparation
of upcoming refactoring.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
moveconfig: add dryrun option
common: add CONFIG_PROMPT to Kconfig

This option specifies the string printed on the console to prompt for
user input.  We have use CONFIG_SYS_PROMPT but the prefix CONFIG_SYS_
seems unsuitable for this configuration because users are allowed to
choose their favorate prompt.

This commit attempts to rename CONFIG_SYS_PROMPT to CONFIG_PROMPT
and to move it to Kconfig.  Each board maintainer is expected to add
CONFIG_PROMPT to his defconfig file if he needs to use a non-default
prompt and then remove a CONFIG_SYS_PROMPT define from his header file.

If CONFIG_SYS_PROMPT is defined in the board header file, it takes
precedence over CONFIG_PROMPT defined in Kconfig.

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