Ignore:
Timestamp:
2012-11-20T23:15:22Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf815c8
Parents:
4b2c7a88
Message:

rootamdm37x: Fix MPU DPLL divisor value parsing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootamdm37x/rootamdm37x.c

    r4b2c7a88 r7ca042f1  
    173173                                >> MPU_CM_CLKSEL1_PLL_MPU_DPLL_MULT_SHIFT;
    174174                        const unsigned divisor =
    175                             (reg & MPU_CM_CLKSEL1_PLL_MPU_DPLL_MULT_MASK)
    176                                 >> MPU_CM_CLKSEL1_PLL_MPU_DPLL_MULT_SHIFT;
     175                            (reg & MPU_CM_CLKSEL1_PLL_MPU_DPLL_DIV_MASK)
     176                                >> MPU_CM_CLKSEL1_PLL_MPU_DPLL_DIV_SHIFT;
    177177                        const unsigned divisor2 =
    178178                            (pio_read_32(&mpu->clksel2_pll)
Note: See TracChangeset for help on using the changeset viewer.