[U-Boot] [RFC PATCH 03/13] arm: move SYS_ARCH_TIMER to KConfig

Andre Przywara andre.przywara at arm.com
Fri Dec 8 08:50:30 UTC 2017


Hi Tuomas,

On 08/12/17 06:21, Tuomas Tynkkynen wrote:
> Hi Andre,
> 
> On 11/30/2017 03:25 AM, Andre Przywara wrote:
>> SYS_ARCH_TIMER guards the usage of the ARM Generic Timer (aka arch
>> timer) in U-Boot.
>> At the moment it is mandatory for ARMv8 and used by two ARMv7 boards.
>> Add a proper Kconfig symbol to express this dependency properly,
>> allowing certain board configuration to later disable arch timer in case
>> there are any problems with it.
>>
>> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
>> ---
>>   arch/arm/Kconfig                     | 11 +++++++++++
>>   arch/arm/cpu/armv8/Makefile          |  2 +-
>>   arch/arm/mach-imx/mx7ulp/Kconfig     |  1 +
>>   include/configs/mx7ulp_evk.h         |  1 -
>>   include/configs/ti_armv7_keystone2.h |  1 -
>>   scripts/config_whitelist.txt         |  1 -
>>   6 files changed, 13 insertions(+), 4 deletions(-)
> 
> This patch needs refreshing, as on master there are more usages of the
> symbol that need conversion:
> 
> include/configs/qemu-arm.h:#define CONFIG_SYS_ARCH_TIMER
> include/configs/stm32h743-disco.h:#define CONFIG_SYS_ARCH_TIMER
> include/configs/stm32h743-eval.h:#define CONFIG_SYS_ARCH_TIMER
> 
> Otherwise looks good.

Thanks for the heads up!
Will include this in the next version.

Cheers,
Andre.


More information about the U-Boot mailing list