Don't send: sunxi: avoid Ippo error
MAINTAINERS: orphan SPEAr boards

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arm: debug: import debug files from Linux 3.16

U-Boot does not have arch/arm/kernel, include/uapi directories,
This commit copies files as follows:

  Location in Linux               -> Location in U-Boot

  arch/arm/kernel/debug.S         -> arch/arm/lib/debug.S
  arch/arm/include/debug/8250.S   -> arch/arm/include/debug/8250.S
  include/uapi/linux/serial_reg.h -> include/linux/serial_reg.h

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arm: debug: replace license blocks with SPDX

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arm: debug: add Kconfig entries for lowlevel debug

We have not had a good method to debug the early boot stage such as
lowlevel_init function.  I guess developers generally use dedicated
debuggers for that, but it is difficult in some cases.
(For example, my debugger cannot connect to the ARM processor when
it is in the secure state.  It sometimes happens when I need to
debug the early boot stage on ARM SoCs with secure extension.)

The low level debug feature in Linux would be also helpful for U-boot
when we are stucking in nasty problems where the console is not
available yet.

You have to enable CONFIG_DEBUG_LL to use this feature.
For now, only 8250-compatible UART devices are supported.
You can add a header file under arch/arm/include/debug/ directory
to support your UART device if necessary.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Series-version: 3
Series-cc: Stefan Roese <sr@denx.de>
Series-cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cover-letter:
Introduce low-level debug for ARM architecture

I have been in trouble for a while to debug some nasty problem
where neighter a debugger nor printf() function is available.

I found the lowlevel debug feature in ARM Linux can be used as is
in U-Boot too.

I tested this series on our SoCs (32bit ARM, specificly Coretex-A9).
Because I was not sure about aarch64, I have this feature
depend on "! ARM64".

1/6 and 2/6 refactor a bit and move CONFIG_ARM64 to Kconfig.

3/6 imports some source files from Linux 3.16 and
5/6 adds the Kconfig menu.

END
arm: debug: adjust for U-Boot

Because CONFIG_MMU is never defined in U-Boot,
the non-MMU code in debug.S is always used.

Unfortunately, the number of arguments of the addruart macro
in Linux is different between MMU and non-MMU.
This causes a build error when importing some debug macros
using the third argument. (For ex. arch/arm/include/debug/exynos.S)
Pass the third argument to the non-MMU addruart to avoid such a problem.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Przemyslaw Marczak <p.marczak@samsung.com>
Series-changes: 2
  - Newly added
kconfig: arm: select CPU_V7 for some new boards

Marvell DB-MV784MP-GP and maxBCM are pretty new boards and were missed
by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs).

This commit adds "select CPU_V7" for them and remove redundant
"config SYS_CPU" and "string" directives.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Savoundararadj <savoundg@gmail.com>
Series-cc: aaribaud
Series-cc: trini
Series-cc: Savoundararadj <savoundg@gmail.com>
Cover-letter:
Follow-up patches for commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs)
END
kconfig: arm: move "armv8" define to arch/arm/Kconfig

Commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs)
collected the default values of CONFIG_SYS_CPU into arch/arm/Kconfig.

This commit moves "armv8" to there for consistency.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Savoundararadj <savoundg@gmail.com>
Sync defconfig

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

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

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

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>
ARM: UniPhier: move CONFIG_HUSH_PARSER

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

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

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
move CONFIG_SYS_TEXT_BASE

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