diff options
| author | Alif Zakuan Yuslaimi <[email protected]> | 2025-08-03 18:24:37 -0700 |
|---|---|---|
| committer | Tien Fong Chee <[email protected]> | 2025-08-08 22:20:48 +0800 |
| commit | 1dc683005dd22b6fdf47845a2c0db00a55033ad9 (patch) | |
| tree | 4ffa0545f42ab2638dcb4e9423c5480cb2a5b896 /board | |
| parent | 5416a3a306ea2117280cf89b6024c4d668cf9cd4 (diff) | |
arm: socfpga: agilex: Enable system manager driver for Agilex
The base address of system manager can be retrieved
using DT framework through the system manager driver.
Enable system manager support for Agilex by probing the
system manager driver to initialize during SPL boot up.
Signed-off-by: Boon Khai Ng <[email protected]>
Signed-off-by: Alif Zakuan Yuslaimi <[email protected]>
Reviewed-by: Tien Fong Chee <[email protected]>
Diffstat (limited to 'board')
| -rw-r--r-- | board/intel/agilex-socdk/Makefile | 7 | ||||
| -rw-r--r-- | board/intel/agilex-socdk/socfpga.c | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/board/intel/agilex-socdk/Makefile b/board/intel/agilex-socdk/Makefile new file mode 100644 index 00000000000..306a8cf5f0b --- /dev/null +++ b/board/intel/agilex-socdk/Makefile @@ -0,0 +1,7 @@ +# +# Copyright (C) 2025 Altera Corporation <www.altera.com> +# +# SPDX-License-Identifier: GPL-2.0 +# + +obj-y := socfpga.o diff --git a/board/intel/agilex-socdk/socfpga.c b/board/intel/agilex-socdk/socfpga.c new file mode 100644 index 00000000000..60c8704b391 --- /dev/null +++ b/board/intel/agilex-socdk/socfpga.c @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2025 Altera Corporation <www.altera.com> + */ + +#include <asm/arch/misc.h> + +int board_early_init_f(void) +{ + socfpga_get_sys_mgr_addr(); + return 0; +} |
