• Mark A. Greer's avatar
    crypto: omap-sham - Add OMAP4/AM33XX SHAM Support · 0d373d60
    Mark A. Greer authored
    Add support for the OMAP4 version of the SHAM module
    that is present on OMAP4 and AM33xx SoCs.
    
    The modules have several differences including register
    offsets, hardware XORing, and how DMA is triggered.
    To handle these differences, a platform_data structure
    is defined and contains routine pointers, register offsets,
    bit shifts within registers, and flags to indicate whether
    the hardware supports XORing and provides SHA1 results in
    big or little endian.  OMAP2/OMAP3-specific routines are
    suffixed with '_omap2' and OMAP4/AM33xx routines are suffixed
    with '_omap4'.
    
    Note: The code being integrated is from the TI AM33xx SDK
    and was written by Greg Turner <gkmturner@gmail.com> and
    Herman Schuurman (current email unknown) while at TI.
    
    CC: Greg Turner <gkmturner@gmail.com>
    CC: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
    Signed-off-by: default avatarMark A. Greer <mgreer@animalcreek.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    0d373d60
omap-sham.c 40.3 KB