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/core.h

    rb752a31 raf60409  
    6363#define CORE_CM_FCLKEN1_EN_MMC3_FLAG  (1 << 30)
    6464
    65         PADD32;
     65        PADD32(1);
    6666        ioport32_t fclken3;
    6767#define CORE_CM_FCLKEN3_EN_TS_FLAG  (1 << 1)
    6868#define CORE_CM_FCLKEN3_EN_USBTLL_FLAG  (1 << 2)
    6969
    70         PADD32;
     70        PADD32(1);
    7171        ioport32_t iclken1;
    7272#define CORE_CM_ICLKEN1_EN_SDRC_FLAG  (1 << 1)
     
    9797#define CORE_CM_ICLKEN3_EN_USBTLL_FLAG  (1 << 2)
    9898
    99         PADD32;
     99        PADD32(1);
    100100        const ioport32_t idlest1;
    101101#define CORE_CM_IDLEST1_ST_SDRC_FLAG  (1 << 1)
     
    128128#define CORE_CM_IDLEST3_ST_USBTLL_FLAG  (1 << 2)
    129129
    130         PADD32;
     130        PADD32(1);
    131131        ioport32_t autoidle1;
    132132#define CORE_CM_AUTOIDLE1_AUTO_HSOTGUSB_FLAG  (1 << 4)
     
    156156#define CORE_CM_AUTOIDLE3_AUTO_USBTLL_FLAG  (1 << 2)
    157157
    158         PADD32;
     158        PADD32(1);
    159159        ioport32_t clksel;
    160160#define CORE_CM_CLKSEL_CLKSEL_L3_MASK  (0x3 << 0)
     
    170170#define CORE_CM_CLKSEL_CLKSEL_GPT11_FLAG (1 << 7)
    171171
    172         PADD32;
     172        PADD32(1);
    173173        ioport32_t clkstctrl;
    174174#define CORE_CM_CLKCTRL_CLKCTRL_L3_MASK  (0x3 << 0)
Note: See TracChangeset for help on using the changeset viewer.