Signed-off-by: Renaud Barbier <renaud.barbier@xxxxxx> --- arch/ppc/lib/time.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ppc/lib/time.c b/arch/ppc/lib/time.c index 04c71df..accc548 100644 --- a/arch/ppc/lib/time.c +++ b/arch/ppc/lib/time.c @@ -55,9 +55,9 @@ uint64_t ppc_clocksource_read(void) } static struct clocksource cs = { - .read = ppc_clocksource_read, - .mask = CLOCKSOURCE_MASK(32), - .shift = 15, + .read = ppc_clocksource_read, + .mask = CLOCKSOURCE_MASK(CONFIG_CLOCKSOURCE_MASK), + .shift = CONFIG_CLOCKSOURCE_SHIFT, }; static int clocksource_init (void) -- 1.7.6.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox