Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

mxs_spi.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    14e26bcf
    mxs: ssp: Pull out the SSP bus to regs conversion · 14e26bcf
    Marek Vasut authored
    
    Create function which converts SSP bus number to SSP register pointer.
    This functionality is reimplemented multiple times in the code, thus
    make one common implementation. Moreover, make it a switch(), since the
    SSP ports are not mapped in such nice linear fashion on MX23, therefore
    having it a switch will simplify things there.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Andy Fleming <afleming@freescale.com>
    Cc: Fabio Estevam <fabio.estevam@freescale.com>
    Cc: Stefano Babic <sbabic@denx.de>
    14e26bcf
    History
    mxs: ssp: Pull out the SSP bus to regs conversion
    Marek Vasut authored
    
    Create function which converts SSP bus number to SSP register pointer.
    This functionality is reimplemented multiple times in the code, thus
    make one common implementation. Moreover, make it a switch(), since the
    SSP ports are not mapped in such nice linear fashion on MX23, therefore
    having it a switch will simplify things there.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Andy Fleming <afleming@freescale.com>
    Cc: Fabio Estevam <fabio.estevam@freescale.com>
    Cc: Stefano Babic <sbabic@denx.de>