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

mxcmmc.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Helmut Raiger's avatar
    fa47a286
    mmc: access mxcmmc from mx31 boards · fa47a286
    Helmut Raiger authored
    
    This patch modifies mxcmmc.c to be used
    not only by i.MX27 but also by i.MX31 boards.
    Both use the same SD controller, but have different
    clock set-ups.
    The i.MX27 imx_get_XXXclock functions are made static to
    generic.c and a public mxc_get_clock() function
    is provided.  Pins, base address and prototypes for
    an i.MX31 specific board_init_mmc() are provided.
    Some of the i.MX27 clock getters are unused and marked
    as such to avoid warnings (./MAKEALL -s mx27), but
    the code was left in for future use.
    
    Signed-off-by: default avatarHelmut Raiger <helmut.raiger@hale.at>
    Acked-by: default avatarStefano Babic <sbabic@denx.de>
    fa47a286
    History
    mmc: access mxcmmc from mx31 boards
    Helmut Raiger authored
    
    This patch modifies mxcmmc.c to be used
    not only by i.MX27 but also by i.MX31 boards.
    Both use the same SD controller, but have different
    clock set-ups.
    The i.MX27 imx_get_XXXclock functions are made static to
    generic.c and a public mxc_get_clock() function
    is provided.  Pins, base address and prototypes for
    an i.MX31 specific board_init_mmc() are provided.
    Some of the i.MX27 clock getters are unused and marked
    as such to avoid warnings (./MAKEALL -s mx27), but
    the code was left in for future use.
    
    Signed-off-by: default avatarHelmut Raiger <helmut.raiger@hale.at>
    Acked-by: default avatarStefano Babic <sbabic@denx.de>