• R
    Video: ARM CLCD: Better fix for swapped IENB and CNTL registers · 3f17522c
    Russell King 提交于
    On PL111, as found on Realview and other platforms, these registers are
    always arranged as CNTL then IENB.  On PL110, these registers are IENB
    then CNTL, except on Versatile platforms.
    
    Re-arrange the handling of these register swaps so that PL111 always
    gets it right without resorting to ifdefs, leaving the only case needing
    special handling being PL110 on Versatile.
    
    Fill out amba/clcd.h with the PL110/PL111 register definition
    differences in case someone tries to use the PL110 specific definitions
    on PL111.
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    3f17522c
clcd.h 6.5 KB