From: Alif Zakuan Yuslaimi <[email protected]> The base address of system manager can be retrieved using the DT framework through the system manager driver.
Enable system manager support for N5X by probing the system manager driver during SPL and U-Boot proper board_early_init_f, matching the Agilex and Stratix10 DM path. Drop the of_flat_tree altr,sys-mgr lookup for N5X so the base comes only from DM. This patch is dependent on "socfpga: n5x: Update Boot Support for N5X" patch series (series=510227) by Chen Huei Lok for N5X boot support. Alif Zakuan Yuslaimi (1): arm: socfpga: n5x: Enable system manager driver for N5X arch/arm/dts/socfpga_n5x-u-boot.dtsi | 4 ++++ arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/misc.c | 3 ++- arch/arm/mach-socfpga/spl_n5x.c | 1 + board/intel/n5x-socdk/Makefile | 6 ++++++ board/intel/n5x-socdk/socfpga.c | 12 ++++++++++++ configs/socfpga_n5x_defconfig | 1 + 7 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 board/intel/n5x-socdk/Makefile create mode 100644 board/intel/n5x-socdk/socfpga.c -- 2.43.7
