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.

OMAP GPMC writel

Hi,

I'm having a bit of an issue when using writel to do raw read/writes to the GPMC. 

I can assign a cs_mem_base address using gpmc_cs_request. I then ioremap that using omap_ioremap. Writing to this memory address synchronously using writel works fine when hooked up to a logic analyzer. The data I set in val can be read on the logic analyzer.

__raw_writel(val, cs_mem_base + idx);

However when I mux the address onto the data bus using either AAD or address/data multiplexing all I ever see is 0080 on the logic analyzer for the address phase of the data bus. (The data is then written as expected).

Am I doing something wrong in writing the address using writel?

Thank You