Re: [PATCH v3 5/8] ARM: at91: move the restart function to the system timer driver

From: Alexandre Belloni
Date: Thu Jan 15 2015 - 12:13:31 EST


On 15/01/2015 at 18:01:34 +0100, Alexandre Belloni wrote :
> > Mmh, I can't clearly explain why but I have a problem with that.
> >
> > Can you explain why restart code falls in the clockevents driver ?
> >
> >
>
> That is a temporary location before getting rid of it by writing a
> proper reset driver that will use the same syscon.
>
> The main goal is to remove mach/at91_st.h and direct accesses to the
> system timer registers.
>

Just to add that it was not because of laziness but to avoid a
depending on an other subsystem...

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/