ARM: imx: define gpt register offset per device type
It defines offset of gpt registers TSTAT, TCN and TCMP per device
type in imx_gpt_data, so that these registers can be accessed in an
way without timer_is_v2() checking.
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
Showing
想要评论请 注册 或 登录