[U-Boot] [U-Boot,03/13] rockchip: rk3066: add sysreset driver

Simon Glass sjg at chromium.org
Fri Jul 7 03:59:07 UTC 2017


On 4 July 2017 at 11:41, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
>
> Looks like we're ending up with a lot of sysreset_rk3***.o drivers here that
> all have more or less the same logic in them.  This one looks like a
> verbatim copy of the RK3188 one...
>
> Can we start deduplicating this and have rk3188/rk3066_sysreset_request as a
> common function that is  parameterised using register offsets from a
> driver-data structure?
>
> As a side-note: I think I need to do the same for the other ones (i.e.
> RK32xx and RK33xx sysreset drivers that are basically copy-and-paste...) for
> the next iteration.

Sounds good!


More information about the U-Boot mailing list