pxa-dt and multiple platforms support
Robert Jarzmik
robert.jarzmik at free.fr
Sat Sep 27 12:43:40 PDT 2014
Arnd Bergmann <arnd at arndb.de> writes:
> I think it should be easy enough to move the function declarations you need out of
> mach/pxa3xx.h and mach/pxa27x.h into a file that is shared between the platforms,
> and that is included by both. The DT file won't need the register definitions
> or a lot of the other things that are provided by mach/pxa3xx.h.
Yes, I had thought of that, and generic.h would be a good candidate.
I have not mentioned it because there is one thing I'm afraid of : should we
discover that any pxa variant initialization requires one register to be
accessed, then the pxa-dt should be split into several pxaXXX-dt.c anyway.
It is not the case AFAIK. I'm pondering the risk against having 2 split apart
files ...
--
Robert
More information about the linux-arm-kernel
mailing list