
On Mon, Aug 5, 2019 at 5:55 PM Kever Yang kever.yang@rock-chips.com wrote:
Hi Jagan,
On 2019/7/29 下午3:46, Jagan Teki wrote:
Few of the rockchip family SoC atleast rk3288, rk3399 are sharing some cru register bits so adding common code between these SoC families would require to include both cru include files that indeed resulting function declarations error.
So, create a common cru include as cru.h then include the arch cru include file and move the common cru register bit definitions into it.
Add code for common register bit definitions is OK, is it able to merge
into clock.h? Or maybe we can use cru.h and do some cleanup for clock.h
Yes true, will do that in separately since the cru is the effected one for redundant, I have managed only this for this series.