All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ley Foon Tan <ley.foon.tan@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] arm: socfpga: Convert drivers from struct to defines
Date: Tue, 20 Aug 2019 10:35:02 +0800	[thread overview]
Message-ID: <1566268505-2508-1-git-send-email-ley.foon.tan@intel.com> (raw)

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

No functional change.

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

             reply	other threads:[~2019-08-20  2:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-20  2:35 Ley Foon Tan [this message]
2019-08-20  2:35 ` [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines Ley Foon Tan
2019-08-20  9:37   ` Marek Vasut
2019-08-20  9:55     ` Simon Goldschmidt
2019-08-20 10:15       ` Marek Vasut
2019-08-20 10:29         ` Simon Goldschmidt
2019-08-20 11:24           ` Marek Vasut
2019-08-21  1:51             ` Ley Foon Tan
2019-08-21  1:50     ` Ley Foon Tan
2019-08-23  8:57       ` Ley Foon Tan
2019-08-23  9:22         ` Marek Vasut
2019-08-23  9:52           ` Ley Foon Tan
2019-08-23  9:56             ` Marek Vasut
2019-08-26  7:28               ` Ley Foon Tan
2019-08-26  8:50                 ` Marek Vasut
2019-08-26 10:58                   ` Simon Goldschmidt
2019-08-28  8:13               ` Ley Foon Tan
2019-08-28 11:14                 ` Marek Vasut
2019-08-28 13:03                   ` Simon Goldschmidt
2019-08-28 13:28                   ` Ley Foon Tan
2019-08-28 13:39                     ` Marek Vasut
2019-08-28 14:07                       ` Ley Foon Tan
2019-08-20  2:35 ` [U-Boot] [PATCH 2/3] arm: socfpga: Convert system " Ley Foon Tan
2019-08-20  2:35 ` [U-Boot] [PATCH 3/3] arm: socfpga: Convert clock " Ley Foon Tan
2019-08-20  8:33 ` [U-Boot] [PATCH 0/3] arm: socfpga: Convert drivers " Simon Goldschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1566268505-2508-1-git-send-email-ley.foon.tan@intel.com \
    --to=ley.foon.tan@intel.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.