Changeset 426fc71 in umon


Ignore:
Timestamp:
Aug 4, 2015, 6:03:28 PM (4 years ago)
Author:
Jarielle Catbagan <jcatbagan93@…>
Branches:
master
Children:
ad25184
Parents:
0511e58
git-author:
Jarielle Catbagan <jcatbagan93@…> (08/04/15 18:03:28)
git-committer:
Ed Sutter <edsutterjr@…> (08/04/15 22:45:34)
Message:

BBB: Migrate MMC1 clock enable from am335x_mmc.c:mmcInit() to cpuio.c:initCPUio()

Location:
ports/beagleboneblack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ports/beagleboneblack/am335x_mmc.c

    r0511e58 r426fc71  
    136136        uint32_t cmd, arg, resp[4];
    137137
    138         /* Enable MMC1 clocks */
    139         CM_PER_REG(CM_PER_MMC1_CLKCTRL) |= CM_PER_MMC1_CLKCTRL_MODULEMODE_ENABLE;
    140         while (CM_PER_REG(CM_PER_MMC1_CLKCTRL) & CM_PER_MMC0_CLKCTRL_IDLEST);
    141 
    142138        /* Reset the MMC1 Controller */
    143139        MMC1_REG(SD_SYSCONFIG) = SD_SYSCONFIG_SOFTRESET;
  • ports/beagleboneblack/cpuio.c

    r0511e58 r426fc71  
    241241        CM_PER_REG(CM_PER_MMC0_CLKCTRL) |= CM_PER_MMC0_CLKCTRL_MODULEMODE_ENABLE;
    242242        while (CM_PER_REG(CM_PER_MMC0_CLKCTRL) & CM_PER_MMC0_CLKCTRL_IDLEST);
     243
     244        /* Enable MMC1 clocks */
     245        CM_PER_REG(CM_PER_MMC1_CLKCTRL) |= CM_PER_MMC1_CLKCTRL_MODULEMODE_ENABLE;
     246        while (CM_PER_REG(CM_PER_MMC1_CLKCTRL) & CM_PER_MMC0_CLKCTRL_IDLEST);
    243247
    244248        pinMuxInit();
Note: See TracChangeset for help on using the changeset viewer.