[U-Boot] [U-Boot, v4, 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Aug 18 16:06:26 UTC 2017


> Sysreset drivers for rk3066 and rk3188 contain common elements which can be reused.
> 
> Signed-off-by: Paweł Jarosz <paweljarosz3691 at gmail.com>
> ---
> Changes since v1:
> - none
> 
> Changes since v2:
> - none
> 
> Changes since v3:
> - none
> 
>  .../include/asm/arch-rockchip/sysreset_common.h    | 20 +++++++++++
>  arch/arm/mach-rockchip/Makefile                    |  3 ++
>  arch/arm/mach-rockchip/sysreset-common.c           | 39 ++++++++++++++++++++++
>  drivers/sysreset/sysreset_rk3066.c                 | 34 ++++++-------------
>  drivers/sysreset/sysreset_rk3188.c                 | 35 ++++++-------------
>  5 files changed, 84 insertions(+), 47 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-rockchip/sysreset_common.h
>  create mode 100644 arch/arm/mach-rockchip/sysreset-common.c
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list