• Marek Vasut's avatar
    usb: mv_udc: Improve allocation of qTD items · 8a095a68
    Marek Vasut authored
    
    
    Allocate the qTD items all at once instead of allocating them
    separately. Moreover, make sure each qTD is properly aligned
    to 32-bytes boundary and that cache can be safely flushed over
    each qTD touple.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Fabio Estevam <fabio.estevam@freescale.com>
    Cc: Lei Wen <leiwen@marvell.com>
    Cc: Otavio Salvador <otavio@ossystems.com.br>
    Cc: Stefano Babic <sbabic@denx.de>
    8a095a68
mv_udc.c 14.4 KB