Issues About Reading Some Values in Some Address

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issues About Reading Some Values in Some Address

738件の閲覧回数
tony_l_cai
Contributor III

Hi,all

     Now we are in Android 5.0 on MX6DL, Before this ,we can read somes values in some specific addr by readl(). But now I dont know how to access into some specific addr to read the values. Because I cannot find the file conaining the addr macros. So should we get the value by DTS? Can you help me?

     Thank you ~

ラベル(3)
0 件の賞賛
返信
1 返信

665件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi tony

in mach-imx directory, mach-imx6q.c, cpu.c files one can find examples: readl_relaxed, __raw_read

https://www.kernel.org/doc/htmldocs/deviceiobook/accessing_the_device.html

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信