[U-Boot] [PATCH] ARMv7: LS102xA: Move two macros from header files to Kconfig
Hongbo Zhang
macro.wave.z at gmail.com
Wed Sep 21 12:32:36 CEST 2016
On Wed, Sep 21, 2016 at 1:31 AM, york sun <york.sun at nxp.com> wrote:
> 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.
>
Thanks.
I've sent a v2 with commit comments updated.
> York
>
More information about the U-Boot
mailing list