• Nicolas Pitre's avatar
    [ARM PATCH] 2458/1: prevent PXA2xx defines from clashing with SA1111's · c90911a9
    Nicolas Pitre authored
    Patch from Nicolas Pitre
    
    A more elegant solution could be applied which would require more work.
    However there is only one platform using both chips (Lubbock) and half
    of the SA1111 features are unusable due to botched DMA support at the
    PCB level anyway.  Therefore this solution should be sufficient for
    now.
    Also removed the SADIV defines which use would not constitute good
    programming practice. Divisors should be computed directly in the code
    especially since different PXA2xx versions have different clock source
    frequencies.  No in-tree driver uses them so this is low impact..
    Finally changed alignment to fit rest of file.
    
    Signed-off-by: Nicolas Pitre
    Signed-off-by: Russell King
    c90911a9
pxa-regs.h 115 KB