[v2 5/5] arm: socfpga: Restructure Stratix10 and Agilex handoff code

Tan, Ley Foon ley.foon.tan at intel.com
Fri Mar 26 10:34:16 CET 2021



> -----Original Message-----
> From: Lim, Elly Siew Chin <elly.siew.chin.lim at intel.com>
> Sent: Wednesday, March 24, 2021 1:12 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Tan, Ley Foon
> <ley.foon.tan at intel.com>; See, Chin Liang <chin.liang.see at intel.com>;
> Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong
> <tien.fong.chee at intel.com>; Westergreen, Dalon
> <dalon.westergreen at intel.com>; Simon Glass <sjg at chromium.org>; Gan,
> Yau Wai <yau.wai.gan at intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim at intel.com>
> Subject: [v2 5/5] 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 at intel.com>
> 
> ---
> v2
> - Change "#ifdef" to "#if IS_ENABLED()"
> - Change to use captial letter for enum macros (LITTLE_ENDIAN, BIG_ENDIAN)
> - Soft include files by alphabetical order in system_manager_soc64.c
>   and wrap_handoff_soc64.c
> - Simplify and clean up socfpga_get_handoff_size function
> ---
>  arch/arm/mach-socfpga/Makefile                     |  4 +-
>  arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 23 +++++++-
>  .../include/mach/system_manager_soc64.h            |  4 --
>  arch/arm/mach-socfpga/system_manager_soc64.c       | 55 +++++++++++----
> ---
>  arch/arm/mach-socfpga/wrap_handoff_soc64.c         | 66
> ++++++++++++++++++++++

Reviewed-by: Ley Foon Tan <ley.foon.tan at intel.com>


More information about the U-Boot mailing list