Ignore:
Timestamp:
2012-10-15T19:50:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
71d09d6e
Parents:
52fc805
Message:

rootamdm37x: Use PADD macro.

remove count parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootamdm37x/core_cm.h

    r52fc805 ra5a73c0  
    3636#define AMDM37x_CORE_CM_H
    3737#include <sys/types.h>
     38#include <macros.h>
    3839
    3940/* AM/DM37x TRM p.447 */
     
    6162#define CORE_CM_FCLKEN1_EN_MMC3_FLAG  (1 << 30)
    6263
    63         uint32_t padd0_;
     64        PADD32;
    6465        ioport32_t fclken3;
    6566#define CORE_CM_FCLKEN3_EN_TS_FLAG  (1 << 1)
    6667#define CORE_CM_FCLKEN3_EN_USBTLL_FLAG  (1 << 2)
    6768
    68         uint32_t padd1_;
     69        PADD32;
    6970        ioport32_t iclken1;
    7071#define CORE_CM_ICLKEN1_EN_SDRC_FLAG  (1 << 1)
     
    9596#define CORE_CM_ICLKEN3_EN_USBTLL_FLAG  (1 << 2)
    9697
    97         uint32_t padd2_;
     98        PADD32;
    9899        const ioport32_t idlest1;
    99100#define CORE_CM_IDLEST1_ST_SDRC_FLAG  (1 << 1)
     
    126127#define CORE_CM_IDLEST3_ST_USBTLL_FLAG  (1 << 2)
    127128
    128         uint32_t padd3_;
     129        PADD32;
    129130        ioport32_t autoidle1;
    130131#define CORE_CM_AUTOIDLE1_AUTO_HSOTGUSB_FLAG  (1 << 4)
     
    154155#define CORE_CM_AUTOIDLE3_AUTO_USBTLL_FLAG  (1 << 2)
    155156
    156         uint32_t padd4_;
     157        PADD32;
    157158        ioport32_t clksel;
    158159#define CORE_CM_CLKSEL_CLKSEL_L3_MASK  (0x3 << 0)
     
    168169#define CORE_CM_CLKSEL_CLKSEL_GPT11_FLAG (1 << 7)
    169170
    170         uint32_t padd5_;
     171        PADD32;
    171172        ioport32_t clkstctrl;
    172173#define CORE_CM_CLKCTRL_CLKCTRL_L3_MASK  (0x3 << 0)
Note: See TracChangeset for help on using the changeset viewer.