On Mon, Oct 8, 2018 at 1:17 AM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > > On Sun, Oct 07, 2018 at 11:35:28PM -0700, Andrey Smirnov wrote: > > Port corresponding Linux kernel driver. Currently VFxxx SoC is the > > intended consumer because it doesn't include common i.MX GPT block > > used as clocksource by other i.MX SoCs. > > > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > > --- > > drivers/clocksource/Kconfig | 4 + > > drivers/clocksource/Makefile | 1 + > > drivers/clocksource/arm_global_timer.c | 113 +++++++++++++++++++++++++ > > 3 files changed, 118 insertions(+) > > create mode 100644 drivers/clocksource/arm_global_timer.c > > > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 3d63f7ff1..2be5a76b3 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksource/Kconfig > > @@ -70,3 +70,7 @@ config CLOCKSOURCE_ARMV8_TIMER > > bool > > default y > > depends on ARM && CPU_64v8 > > + > > +config CLOCKSOURCE_ARM_GLOBAL_TIMER > > + def_bool y > > + depends on ARM > > Can you add a 'select' of this option to the VFxxx Kconfig instead? > Having this on all Arm systems is not so nice. > Sure, no problem, will do in v2. Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox