Changeset af60409 in mainline for uspace/drv/platform/amdm37x/cm/mpu.h


Ignore:
Timestamp:
2018-03-26T20:04:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb748a0
Parents:
b752a31
Message:

Modify PADDn macros so that their use is easier to parse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/cm/mpu.h

    rb752a31 raf60409  
    4444
    4545typedef struct {
    46         PADD32;
     46        PADD32(1);
    4747        ioport32_t clken_pll;
    4848#define MPU_CM_CLKEN_PLL_EN_MPU_DPLL_LP_MODE_FLAG   (1 << 10)
     
    5252#define MPU_CM_CLKEN_PLL_EN_MPU_DPLL_EN_MPU_DPLL_LOCKED   (0x7)
    5353
    54         PADD32[6];
     54        PADD32(6);
    5555        const ioport32_t idlest;
    5656#define MPU_CM_IDLEST_ST_MPU_STANDBY_FLAG   (1 << 0)
     
    5959#define MPU_CM_IDLEST_PLL_ST_MPU_CLK_LOCKED_FLAG   (1 << 0)
    6060
    61         PADD32[3];
     61        PADD32(3);
    6262        ioport32_t autoidle_pll;
    6363#define MPU_CM_AUTOIDLE_PLL_AUTO_MPU_DPLL_MASK   (0x7)
     
    6565#define MPU_CM_AUTOIDLE_PLL_AUTO_MPU_DPLL_ENABLED   (0x1)
    6666
    67         PADD32[2];
     67        PADD32(2);
    6868        ioport32_t clksel1_pll;
    6969#define MPU_CM_CLKSEL1_PLL_MPU_CLK_SRC_MASK   (0x7 << 19)
Note: See TracChangeset for help on using the changeset viewer.