From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Fri, 8 Dec 2017 08:50:30 +0000 Subject: [U-Boot] [RFC PATCH 03/13] arm: move SYS_ARCH_TIMER to KConfig In-Reply-To: <1e0c1f57-f869-46d7-c621-dead9ccdbe9d@iki.fi> References: <20171130012511.16333-1-andre.przywara@arm.com> <20171130012511.16333-4-andre.przywara@arm.com> <1e0c1f57-f869-46d7-c621-dead9ccdbe9d@iki.fi> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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 >> --- >>   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.