[U-Boot] [PATCH 01/15] arm: rockchip: Add common cru.h

Jagan Teki jagan at amarulasolutions.com
Sun Aug 25 17:25:01 UTC 2019


On Mon, Aug 5, 2019 at 5:55 PM Kever Yang <kever.yang at 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.


More information about the U-Boot mailing list