arm: socfpga: Restructure Stratix10 and Agilex handoff code
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Wed, 24 Mar 2021 05:11:38 +0000 (13:11 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Thu, 8 Apr 2021 09:29:12 +0000 (17:29 +0800)
commite2ffb1da1ddc442e4f48980e8524dd5b574012a2
tree5d8104f37868c8dfa7afa38ab17ce507bf7ef463
parenta73514a8d29742c1f844f19226639da572e4cf15
arm: socfpga: Restructure Stratix10 and Agilex handoff code

Restructure Stratix10 and Agilex handoff code to used by
all SOC64 devices, in preparation to support handoff for
Diamond Mesa.

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

Update system_manager_soc64.c to use generic handoff
function in wrap_handoff_soc64.c.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/Makefile
arch/arm/mach-socfpga/include/mach/handoff_soc64.h
arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
arch/arm/mach-socfpga/system_manager_soc64.c
arch/arm/mach-socfpga/wrap_handoff_soc64.c [new file with mode: 0644]
arch/arm/mach-socfpga/wrap_pinmux_config_s10.c [deleted file]