[#5257] Build usb gadget driver with DMA mode will fail

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5257] Build usb gadget driver with DMA mode will fail

Submitted By: Vivi Li

Open Date

2009-06-16 04:29:01     Close Date

2009-06-17 01:20:00

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1-rc7

App binary format:

N/A     

Summary: Build usb gadget driver with DMA mode will fail

Details:

 

Build usb gadget driver with DMA mode will fail.

 

Bellow is the log:

--

  CC      drivers/usb/musb/blackfin.o^M

drivers/usb/musb/blackfin.c: In function ‘musb_read_fifo’:^M

drivers/usb/musb/blackfin.c:106: error: implicit declaration of function ‘USB_DMA_REG’^M

drivers/usb/musb/blackfin.c:106: error: ‘USB_DMAx_ADDR_LOW’ undeclared (first use in this function)^M

drivers/usb/musb/blackfin.c:106: error: (Each undeclared identifier is reported only once^M

drivers/usb/musb/blackfin.c:106: error: for each function it appears in.)^M

drivers/usb/musb/blackfin.c:110: error: ‘USB_DMAx_ADDR_HIGH’ undeclared (first use in this function)^M

drivers/usb/musb/blackfin.c:114: error: ‘USB_DMAx_COUNT_LOW’ undeclared (first use in this function)^M

drivers/usb/musb/blackfin.c:115: error: ‘USB_DMAx_COUNT_HIGH’ undeclared (first use in this function)^M

drivers/usb/musb/blackfin.c:120: error: ‘USB_DMAx_CTRL’ undeclared (first use in this function)^M

make[3]: *** [drivers/usb/musb/blackfin.o] Error 1

--

 

Follow-ups

 

--- Cliff Cai                                                2009-06-16 04:43:33

fixed now

 

--- Vivi Li                                                  2009-06-17 01:19:59

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes