ARM: remove unused CPU directory

There is no board with CPU "arm_intcm".

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
FIT: add some FIT configurations to Kconfig

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cover-letter:
Add more boolean configs to Kconfig

We need to move configs although it is a very tedious work.
First, we have to create entries in Kconfig.

 1/4: add some FIT options
 2/4: add Hush option
 3/4: add various commands options

I know there is still more to work on, but I believe every big work
is done step by step.

I am not an expert of all the areas of U-Boot, so I need your help.

 - Please check if the added Kconfig options (prompt, help message,
   categorization) are reasonable
 - Add more options in follow-up patches

END
hush: add CONFIG_HUSH_PARSER to Kconfig

The README file states that the macros beginning with "CONFIG_SYS_"
depend on the hardware etc. and should not be meddled with if you do
not what you're doing.
We have already screwed up with this policy; we have given the prefix
"CONFIG_SYS_" to many user-selectable configurations.
Here, "CONFIG_SYS_HUSH_PARSER" is one of them.  Users can enable it
if they want to use a more powerful command line parser, or disable it
if they only need a simple one.

This commit attempts to rename CONFIG_SYS_HUSH_PARSER to
CONFIG_HUSH_PARSER and move it to Kconfig.

Every board maintainer is expected to enable CONFIG_HUSH_PARSER
(= add "CONFIG_HUSH_PARSER=y" to his defconfig file) and remove
"#define CONFIG_SYS_HUSH_PARSER" from his header file.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
commands: add more command entries in Kconfig

This commit adds some of command entries (CONFIG_CMD_*) to
cover include/config_cmd_default.h and a little extra.

Because U-Boot supports lots of commands, they should be categorized
according to their usage.

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

I know lots of commands are missing.
Since I am not familiar with all the commands, volunteers are very very
welcome.

 - Please check if the added Kconfig options (prompt, help message,
   categorization) are reasonable.

 - Please send patches to add more.

END
spl: fix descending condition to drivers/mtd/nand/

SPL should not reference CONFIG_CMD_NAND to decide whether or not
it should build drivers/mtd/nand.  CONFIG_CMD_NAND should be only
used to select the NAND utility command on the command parser.

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>