[U-Boot] [U-Boot, v3, 1/2] rockchip: sysreset: merge into one common driver

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Nov 6 17:28:41 UTC 2017


> Use a common driver for all Rockchip SOC instead of one for each SoC.
> Use driver_data for reg offset.
> 
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
> 
> Changes in v3: None
> Changes in v2:
> - use udev priv member instead of driver_data
> 
>  arch/arm/include/asm/arch-rockchip/clock.h |  5 +++
>  drivers/sysreset/Makefile                  | 12 +-----
>  drivers/sysreset/sysreset_rk3036.c         | 45 ----------------------
>  drivers/sysreset/sysreset_rk3128.c         | 45 ----------------------
>  drivers/sysreset/sysreset_rk3188.c         | 62 ------------------------------
>  drivers/sysreset/sysreset_rk322x.c         | 45 ----------------------
>  drivers/sysreset/sysreset_rk3288.c         | 47 ----------------------
>  drivers/sysreset/sysreset_rk3328.c         | 45 ----------------------
>  drivers/sysreset/sysreset_rk3368.c         | 62 ------------------------------
>  drivers/sysreset/sysreset_rk3399.c         | 45 ----------------------
>  drivers/sysreset/sysreset_rockchip.c       | 47 ++++++++++++++++++++++
>  drivers/sysreset/sysreset_rv1108.c         | 46 ----------------------
>  12 files changed, 53 insertions(+), 453 deletions(-)
>  delete mode 100644 drivers/sysreset/sysreset_rk3036.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3128.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3188.c
>  delete mode 100644 drivers/sysreset/sysreset_rk322x.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3288.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3328.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3368.c
>  delete mode 100644 drivers/sysreset/sysreset_rk3399.c
>  create mode 100644 drivers/sysreset/sysreset_rockchip.c
>  delete mode 100644 drivers/sysreset/sysreset_rv1108.c
> 

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


More information about the U-Boot mailing list