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.

AM335x GPMC_REVISION register read



Hi 

  I'm working on am335x-starter-kit with ti-processor-sdk-linux-am335x-evm-02.00.02.11.

now, I want to try the GPMC register GPMC_REVISION, so I write a simple driver and

use gpmc_read_reg to read that, it's cause segmentation fault.

I try to read the omap-gpmc.c driver, found the gpmc_init was executed, but it's only registed a platform-driver.

I think GPMC must be allocte a part of memory so that I can use it. Then, allocate a memory is in gpmc_probe,

but on my device, there is no module hung on GPMC, which means no module connected with GPMC, so that the

gpmc_probe wouldn't execute, no io memory mapping to GPMC lead to segmentation fault, any suggestion?

I think if I only want to read the GPMC revision no need to set the GPMC configure, right?