This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: GPMC access from kernel

Part Number: AM3352


Tool/software: Linux

Hi,

I am using sdk 3.3.0.4. I have a FPGA connected to GPMC and am writing a kernel driver to deal with interrupts from FPGA. 

In user space, I use mmap to access FPGA, starting from offset 0x01000000. 

In kernel, the driver needs to write 0 to some bits in FPGA to clear the interrupt in IRQ Handler. 

Can anybody tell me how can I access the GPMC FPGA in kernel? 

Thanks .