Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

DWC_OTG to run on bare metal firmware?

Status
Not open for further replies.

db_07

Newbie level 2
Joined
Sep 8, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
DWC_OTG question

Hi,
I am trying to strip down this code to run on an OS-less platform. So all the linux related code has to go. Can someone tell me what the following does and what is a LM_dEVICE and a PCI_DEV?

My question is should one of them be defined or can I get rid of both?

#ifdef LM_INTERFACE
struct lm_device *lmdev;
#elif defined(PCI_INTERFACE)
struct pci_dev *pcidev;

/** Start address of a PCI region */
resource_size_t rsrc_start;

/** Length address of a PCI region */
resource_size_t rsrc_len;
#endif
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top