• Robert Jarzmik's avatar
    arm: pxa: move init functions into generic.h · 4508f775
    Robert Jarzmik authored
    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: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    4508f775
pxa25x.h 188 Bytes