Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44574
b: refs/heads/master
c: 9fddda2
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Dec 8, 2006
1 parent 618808d commit 3d35673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94b1e96d9dfbb8cc19b09b68a3621243752c0586
refs/heads/master: 9fddda232ca2de4d40ba9c3890e27bdb4f4f8bbd
7 changes: 3 additions & 4 deletions trunk/include/asm-arm/arch-s3c2410/regs-udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#ifndef __ASM_ARCH_REGS_UDC_H
#define __ASM_ARCH_REGS_UDC_H


#define S3C2410_USBDREG(x) ((x) + S3C24XX_VA_USBDEV)
#define S3C2410_USBDREG(x) (x)

#define S3C2410_UDC_FUNC_ADDR_REG S3C2410_USBDREG(0x0140)
#define S3C2410_UDC_PWR_REG S3C2410_USBDREG(0x0144)
Expand Down Expand Up @@ -136,8 +135,8 @@
#define S3C2410_UDC_OCSR2_ISO (1<<6) // R/W
#define S3C2410_UDC_OCSR2_DMAIEN (1<<5) // R/W

#define S3C2410_UDC_SETIX(x) \
__raw_writel(S3C2410_UDC_INDEX_ ## x, S3C2410_UDC_INDEX_REG);
#define S3C2410_UDC_SETIX(base,x) \
writel(S3C2410_UDC_INDEX_ ## x, base+S3C2410_UDC_INDEX_REG);


#define S3C2410_UDC_EP0_CSR_OPKRDY (1<<0)
Expand Down

0 comments on commit 3d35673

Please sign in to comment.