]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm: pxa: move init functions into generic.h
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 28 Sep 2014 11:59:41 +0000 (13:59 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 19 Nov 2014 22:53:14 +0000 (23:53 +0100)
commit4508f7751728980873c0368dedb298fc6f550b50
treef042c810e94b09fc8616d8f0cb40988eebf12278
parentef6dbda600ecf037c539c7f4c7f8fe93fb66ef3e
arm: pxa: move init functions into generic.h

In order to have a unique .c file for all pxa variants device-tree
definitions, all the initialization functions for MACHINE_START and
DT_MACHINE_START have been put together into generic.h.

The alternative would have been one pxaXXX-dt.c file per variant.

The move is necessary because each include/mach/pxaXXX.h includes the
variant register descriptions which intersects and conflicts one with
each other.

The change is a preparation for pxa-dt.c to support multiple pxa,
ie. pxa3xx and pxa27x.

The machine files including mach/pxaXXX.h all include generic.h, which
guarantees no regression should be introduced.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/generic.h
arch/arm/mach-pxa/include/mach/pxa25x.h
arch/arm/mach-pxa/include/mach/pxa27x.h
arch/arm/mach-pxa/include/mach/pxa3xx.h