[U-Boot] [PATCH] ARMv7: LS102xA: Move two macros from header files to Kconfig

york sun york.sun at nxp.com
Tue Sep 20 19:31:41 CEST 2016


On 09/19/2016 09:59 PM, macro.wave.z at gmail.com wrote:
> From: Hongbo Zhang <hongbo.zhang at nxp.com>
>
> ARMV7_PSCI depends on ARMV7_NONSEC && ARCH_SUPPORT_PSCI, and ARMV7_NONSEC
> depends on CPU_V7_HAS_NONSEC, LS102XA didn't enable CPU_V7_HAS_NONSEC, but
> defined ARMV7_NONSEC in a internal header file, this cannot be recognized by
> Kconfig, so ARMV7_PSCI isn't defined at last.
> This patch selects CPU_V7_HAS_NONSEC in Kconfig, and remove ARMV7_NONSEC in
> header file, and meanwhile selects CPU_V7_HAS_VIRT in Kconfig and remove
> CONFIG_ARMV7_VIRT in header file too.

Detail explanation in commit message helps us to understand why the 
change. But for this case, it may be too verbose. I would say following 
commits xxxxxx and xxxxxx, these two config options are moved to 
Kconfig, for correctly select ARMV7_PSCI.

York



More information about the U-Boot mailing list