Re: [PATCH 09/18] AT91: Call at91_register_devices in the board files

From: Maxime Ripard
Date: Tue Jul 08 2014 - 04:11:53 EST


On Mon, Jul 07, 2014 at 08:42:39PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:52 Thu 03 Jul , Maxime Ripard wrote:
> > Hi,
> >
> > On Thu, Jul 03, 2014 at 10:29:58PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > no do this at SoC level
> >
> > Since it has to be done at init_machine, I don't see any other easy
> > way to do this at the SoC level.
> >
> > What is your suggestion?
>
> do it earlier as there is not driver it will not change anything

My question remains. When should I do so?

at91_initialize is too early to register any devices.

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature