diff options
author | Ed Sutter <edsutterjr@gmail.com> | 2015-07-18 11:28:03 -0400 |
---|---|---|
committer | Ed Sutter <edsutterjr@gmail.com> | 2015-07-18 11:28:03 -0400 |
commit | 723a2e2cdacfa874dc24545aa6eceade160eef97 (patch) | |
tree | c0c599228a2e25e6715a6a506da50490c83b0b22 /ports | |
parent | INCLUDE_MEMCMDS eliminates the need for INCLUDE_DM/PM (diff) | |
download | umon-723a2e2cdacfa874dc24545aa6eceade160eef97.tar.bz2 |
fix uninitialized variable issue in mpu_pll_init()
Diffstat (limited to 'ports')
-rw-r--r-- | ports/beagleboneblack/cpuio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/beagleboneblack/cpuio.c b/ports/beagleboneblack/cpuio.c index a06f142..301a065 100644 --- a/ports/beagleboneblack/cpuio.c +++ b/ports/beagleboneblack/cpuio.c @@ -282,7 +282,7 @@ mpu_pll_init(void) while ((CM_WKUP_REG(CM_IDLEST_DPLL_MPU) & 0x00000101) != 0x00000100); // Set the ARM core frequency to 1 GHz - cm_clkmode_dpll_mpu = CM_WKUP_REG(CM_CLKSEL_DPLL_MPU); + cm_clksel_dpll_mpu = CM_WKUP_REG(CM_CLKSEL_DPLL_MPU); cm_clksel_dpll_mpu &= ~0x0007FF7F; cm_clksel_dpll_mpu |= 1000 << 8; cm_clksel_dpll_mpu |= 23; |