On 4 July 2017 at 11:41, Philipp Tomsich <philipp.toms...@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! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot