• R
    [ARM] pxa: separate PXA25x and PXA27x UDC register definitions · 284d115e
    Russell King 提交于
    The PXA25x and PXA27x USB device controller register definitions are
    different.  Currently, they live side by side in pxa-regs.h, but only
    one set is available depending on the setting of PXA25x or PXA27x.
    
    This means that if we build to support both PXA25x and PXA27x, the
    PXA27x definitions are unavailable, even to PXA27x specific code.
    
    Remove these definitions from pxa-regs.h, and place them in separate
    files.  Include these files where appropriate.
    
    Note: according to the dependencies in drivers/usb/gadget/Kconfig,
    we do not support the UDC on PXA27x nor PXA3xx CPUs, so remove the
    platform devices from pxa27x.c and pxa3xx.c.
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    284d115e
pxa27x.c 9.3 KB