All of lore.kernel.org
 help / color / mirror / Atom feed
* [v1 0/5] Restructure Stratix10 and Agilex handoff code
@ 2021-03-15  9:43 Siew Chin Lim
  2021-03-15  9:43 ` [v1 1/5] arm: socfpga: Rename Stratix10 and Agilex handoff common macros Siew Chin Lim
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Siew Chin Lim @ 2021-03-15  9:43 UTC (permalink / raw)
  To: u-boot

This patchset is extracted from "Add Intel Diamond Mesa SoC support" series.
We are in preparation to support new Intel N5X (Diamond Mesa) SOC64 device
and we would like to clean up some code before enable N5X device.

This patchset restructure Stratix10 and Agilex handoff code to be 
generic and to be used by all SOC64 devices. 

Remove wrap_pinmux_config_s10.c. Add wrap_handoff_soc64.c
which contains the generic function to parse the handoff
data.

Rename all handoff macro prefix from S10_* to SOC64* and change 
all corresponding file name from *_s10 to *_soc64. Last, 
change the code to use generic fundtion from wrap_handoff_soc64.c.

History:
--------

  The first version of this patchset is extracted from "Add Intel Diamond Mesa SoC support" series.
  https://patchwork.ozlabs.org/project/uboot/cover/20201110064439.9683-1-elly.siew.chin.lim at intel.com/

This patchset has dependency on:
--------
  1. arm: socfpga: Move Stratix10 and Agilex SPL common code
     https://patchwork.ozlabs.org/project/uboot/patch/20210315075916.26336-1-elly.siew.chin.lim at intel.com/


Siew Chin Lim (5):
  arm: socfpga: Rename Stratix10 and Agilex handoff common macros
  arm: socfpga: Changed wrap_pll_config_s10.c to wrap_pll_config_soc64.c
  arm: socfpga: Changed system_manager_s10.c to system_manager_soc64.c
  arm: socfpga: Rearrange sequence of macros in handoff_soc64.h
  arm: socfpga: Restructure Stratix10 and Agilex handoff code

 arch/arm/mach-socfpga/Makefile                     | 12 ++--
 arch/arm/mach-socfpga/clock_manager_s10.c          |  2 +-
 arch/arm/mach-socfpga/include/mach/handoff_s10.h   | 39 ------------
 arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 62 ++++++++++++++++++
 .../include/mach/system_manager_soc64.h            |  4 --
 ...system_manager_s10.c => system_manager_soc64.c} | 53 ++++++++++------
 arch/arm/mach-socfpga/wrap_handoff_soc64.c         | 73 ++++++++++++++++++++++
 arch/arm/mach-socfpga/wrap_pinmux_config_s10.c     | 56 -----------------
 ...ap_pll_config_s10.c => wrap_pll_config_soc64.c} | 16 ++---
 include/configs/socfpga_soc64_common.h             |  4 +-
 10 files changed, 187 insertions(+), 134 deletions(-)
 delete mode 100644 arch/arm/mach-socfpga/include/mach/handoff_s10.h
 create mode 100644 arch/arm/mach-socfpga/include/mach/handoff_soc64.h
 rename arch/arm/mach-socfpga/{system_manager_s10.c => system_manager_soc64.c} (57%)
 create mode 100644 arch/arm/mach-socfpga/wrap_handoff_soc64.c
 delete mode 100644 arch/arm/mach-socfpga/wrap_pinmux_config_s10.c
 rename arch/arm/mach-socfpga/{wrap_pll_config_s10.c => wrap_pll_config_soc64.c} (74%)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-03-24  4:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  9:43 [v1 0/5] Restructure Stratix10 and Agilex handoff code Siew Chin Lim
2021-03-15  9:43 ` [v1 1/5] arm: socfpga: Rename Stratix10 and Agilex handoff common macros Siew Chin Lim
2021-03-23  8:33   ` Tan, Ley Foon
2021-03-15  9:43 ` [v1 2/5] arm: socfpga: Changed wrap_pll_config_s10.c to wrap_pll_config_soc64.c Siew Chin Lim
2021-03-23  9:11   ` Tan, Ley Foon
2021-03-15  9:43 ` [v1 3/5] arm: socfpga: Changed system_manager_s10.c to system_manager_soc64.c Siew Chin Lim
2021-03-23  9:21   ` Tan, Ley Foon
2021-03-15  9:43 ` [v1 4/5] arm: socfpga: Rearrange sequence of macros in handoff_soc64.h Siew Chin Lim
2021-03-23  9:22   ` Tan, Ley Foon
2021-03-15  9:43 ` [v1 5/5] arm: socfpga: Restructure Stratix10 and Agilex handoff code Siew Chin Lim
2021-03-23 10:03   ` Tan, Ley Foon
2021-03-24  3:02     ` Lim, Elly Siew Chin
2021-03-24  4:00       ` Tan, Ley Foon

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.