[U-Boot] [PATCH 0/3] arm: socfpga: Convert drivers from struct to defines

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Tue Aug 20 08:33:26 UTC 2019


Ley,

Ley Foon Tan <ley.foon.tan at intel.com> schrieb am Di., 20. Aug. 2019, 04:35:

> Convert reset, system and clock manager drivers to use #define
> instead of struct.
>
> No functional change.
>

It's still holiday season here, it might probably take until September
until I find the time to review this.

Regards,
Simon


> Ley Foon Tan (3):
>   arm: socfpga: Convert reset manager from struct to defines
>   arm: socfpga: Convert system manager from struct to defines
>   arm: socfpga: Convert clock manager from struct to defines
>
>  arch/arm/mach-socfpga/clock_manager.c         |  12 +-
>  arch/arm/mach-socfpga/clock_manager_arria10.c | 217 +++++++++--------
>  arch/arm/mach-socfpga/clock_manager_gen5.c    | 221 +++++++++---------
>  arch/arm/mach-socfpga/clock_manager_s10.c     | 171 +++++++-------
>  .../mach-socfpga/include/mach/clock_manager.h |  15 ++
>  .../include/mach/clock_manager_arria10.h      | 129 ++++------
>  .../include/mach/clock_manager_gen5.h         | 108 ++++-----
>  .../include/mach/clock_manager_s10.h          | 111 ++++-----
>  .../mach-socfpga/include/mach/reset_manager.h |  12 +
>  .../include/mach/reset_manager_arria10.h      |  41 +---
>  .../include/mach/reset_manager_gen5.h         |  20 +-
>  .../include/mach/reset_manager_s10.h          |  33 +--
>  .../include/mach/system_manager.h             |  15 ++
>  .../include/mach/system_manager_arria10.h     |  92 ++------
>  .../include/mach/system_manager_gen5.h        | 121 ++--------
>  .../include/mach/system_manager_s10.h         | 184 ++++++---------
>  arch/arm/mach-socfpga/mailbox_s10.c           |   5 +-
>  arch/arm/mach-socfpga/misc_arria10.c          |   7 +-
>  arch/arm/mach-socfpga/misc_gen5.c             |  22 +-
>  arch/arm/mach-socfpga/misc_s10.c              |   8 +-
>  arch/arm/mach-socfpga/reset_manager_arria10.c |  73 +++---
>  arch/arm/mach-socfpga/reset_manager_gen5.c    |  33 ++-
>  arch/arm/mach-socfpga/reset_manager_s10.c     |  52 ++---
>  arch/arm/mach-socfpga/scan_manager.c          |   6 +-
>  arch/arm/mach-socfpga/spl_a10.c               |   5 +-
>  arch/arm/mach-socfpga/spl_gen5.c              |  15 +-
>  arch/arm/mach-socfpga/spl_s10.c               |   9 +-
>  arch/arm/mach-socfpga/system_manager_gen5.c   |  33 ++-
>  arch/arm/mach-socfpga/system_manager_s10.c    |  32 +--
>  arch/arm/mach-socfpga/wrap_pll_config_s10.c   |  11 +-
>  drivers/ddr/altera/sdram_gen5.c               |   9 +-
>  drivers/ddr/altera/sdram_s10.c                |   6 +-
>  drivers/fpga/socfpga_arria10.c                |   7 +-
>  drivers/fpga/socfpga_gen5.c                   |   4 +-
>  drivers/mmc/socfpga_dw_mmc.c                  |  15 +-
>  drivers/sysreset/sysreset_socfpga.c           |   6 +-
>  36 files changed, 754 insertions(+), 1106 deletions(-)
>
> --
> 2.19.0
>
>


More information about the U-Boot mailing list