Ignore:
Timestamp:
2012-10-17T22:17:29Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
150a2718
Parents:
6454ad47 (diff), 57912af3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge changes from bbxm branch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootamdm37x/cm/usbhost.h

    r6454ad47 rc2b2de7  
    3535#ifndef AMDM37x_USBHOST_CM_H
    3636#define AMDM37x_USBHOST_CM_H
     37#include <macros.h>
    3738#include <sys/types.h>
    3839
     
    4647#define USBHOST_CM_FCLKEN_EN_USBHOST2_FLAG  (1 << 1)
    4748
    48         uint32_t padd0_[3];
     49        PADD32[3];
    4950        ioport32_t iclken;
    5051#define USBHOST_CM_ICLKEN_EN_USBHOST  (1 << 0)
    5152
    52         uint32_t padd1_[3];
     53        PADD32[3];
    5354        const ioport32_t idlest;
    5455#define USBHOST_CM_IDLEST_ST_USBHOST_STDBY_FLAG  (1 << 0)
    5556#define USBHOST_CM_IDLEST_ST_USBHOST_IDLE_FLAG  (1 << 1)
    5657
    57         uint32_t padd2_[3];
     58        PADD32[3];
    5859        ioport32_t autoidle;
    5960#define USBHOST_CM_AUTOIDLE_AUTO_USBHOST_FLAG  (1 << 0)
    6061
    61         uint32_t padd3_[4];
     62        PADD32[4];
    6263        ioport32_t sleepdep;
    6364#define USBHOST_CM_SLEEPDEP_EN_MPU_FLAG  (1 << 1)
     
    6566
    6667        ioport32_t clkstctrl;
    67 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_MASK  0x3
    68 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SHIFT  0
    69 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_DIS  0x0
    70 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_SLEEP  0x1
    71 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_WAKEUP  0x2
    72 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_EN  0x1
     68#define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_MASK  (0x3 << 0)
     69#define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_DIS  (0x0 << 0)
     70#define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_SLEEP  (0x1 << 0)
     71#define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_WAKEUP  (0x2 << 0)
     72#define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_EN  (0x3 << 0)
    7373
    7474        ioport32_t clkstst;
Note: See TracChangeset for help on using the changeset viewer.