This patch is to enable Agilex5 platform for Intel
product. Changes, modification and new files are
created for board, dts, configs and makefile to
create the base for Agilex5.
Signed-off-by: Jit Loon Lim
---
Changes v3 -> v4:
- Update defined to is_enabled
Changes v2 -> v3:
- Added FPG
V1:
https://patchwork.ozlabs.org/project/uboot/patch/20240220143603.22091-1-jit.loon@intel.com/
V2: Fixed Git auto-merge causing misalignment of code and insert/delete
V3: Added 240G FPGA DDR region
V4: Update defined to is_enabled
Jit Loon Lim (1):
arch: arm: Agilex5 enablement
arch/arm
This patch is to enable Agilex5 platform for Intel
product. Changes, modification and new files are
created for board, dts, configs and makefile to
create the base for Agilex5.
Signed-off-by: Jit Loon Lim
Changes v2 -> v3:
- Added FPGA 240G DDR region
Changes v1 -> v2:
- fixed git auto
V1:
https://patchwork.ozlabs.org/project/uboot/patch/20240220143603.22091-1-jit.loon@intel.com/
V2: Fixed Git auto-merge causing misalignment of code and insert/delete
V3: Added 240G FPGA DDR region
Jit Loon Lim (1):
arch: arm: Agilex5 enablement
arch/arm/Kconfig
This patch is to enable Agilex5 platform for Intel
product. Changes, modification and new files are
created for board, dts, configs and makefile to
create the base for Agilex5.
Signed-off-by: Jit Loon Lim
---
Changes v1 -> v2:
- fixed git auto merge issue
---
arch/arm/Kcon
V1:
https://patchwork.ozlabs.org/project/uboot/patch/20240220143603.22091-1-jit.loon@intel.com/
V2: Fixed Git auto-merge causing misalignment of code and insert/delete
Jit Loon Lim (1):
arch: arm: Agilex5 enablement
arch/arm/Kconfig | 4 +-
arch/arm/dts
This patch is to enable Agilex5 platform for Intel
product. Changes, modification and new files are
created for board, dts, configs and makefile to
create the base for Agilex5.
Signed-off-by: Jit Loon Lim
---
Changes v1 -> v2:
- fixed git auto merge issue
---
arch/arm/Kcon
V1:
https://patchwork.ozlabs.org/project/uboot/patch/20240220143603.22091-1-jit.loon@intel.com/
V2: Fixed Git auto-merge causing misalignment of code and insert/delete
Jit Loon Lim (1):
arch:arm: Agilex5 enablement
arch/arm/Kconfig | 13 +-
arch/arm/dts
This patch is to enable Agilex5 platform for Intel
product. Changes, modification and new files are
created for board, dts, configs and makefile to
create the base for Agilex5.
Signed-off-by: Jit Loon Lim
---
arch/arm/Kconfig | 9 +-
arch/arm/dts/Makefile
Provide the link for the .its related documentation for Arria10.
Signed-off-by: Jit Loon Lim
---
doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-mgr.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-mgr.txt
b/doc/device-tree
ash device.
Signed-off-by: Jit Loon Lim
---
drivers/mtd/spi/spi-nor-ids.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 3ca46330bb..1b2e88cd26 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
From: Teik Heng Chong
Add Support for GigaDevice GD55LB02GEBIR SPI NOR flash as QSPI
configuration flash
Signed-off-by: Teik Heng Chong
---
drivers/mtd/spi/spi-nor-ids.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
From: Teik Heng Chong
The controller registers should not be accessed while the controller's
vcc_reset_n is asserted.
Signed-off-by: Teik Heng Chong
---
drivers/usb/host/xhci-dwc3.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-dwc3.c
From: Kah Jing Lee
Dcache feature is not enabled in SPL and enable it will cause ISR
exception. Since the Dcache is not supported in SPL, new
CONFIG_SPL_SYS_DISABLE_DCACHE_OPS is added to Kconfig to disable Dcache
in SPL.
Signed-off-by: Kah Jing Lee
---
arch/arm/cpu/armv8/cache_v8.c | 20
From: Sin Hui Kho
Add MMU mapping region for FPGA including 512 MB LW HPS2FPGA and
1GB HPS2FPGA.
Signed-off-by: Sin Hui Kho
---
arch/arm/mach-socfpga/mmu-arm64_s10.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-socfpga/mmu-arm64_s10.c
From: Dinesh Maniyam
Enable APB Timer driver model.
Signed-off-by: Dinesh Maniyam
---
arch/arm/dts/socfpga_agilex5_socdk.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/socfpga_agilex5_socdk.dts
b/arch/arm/dts/socfpga_agilex5_socdk.dts
index
From: Sieu Mun Tang
This is for new platform enablement for agilex5.
Update binman tool for new platform.
Signed-off-by: Sieu Mun Tang
---
tools/binman/control.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/binman/control.py b/tools/binman/control.py
This is for new platform enablement for agilex5.
Add combo phy driver for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/phy/cadence/Kconfig| 9 +
drivers/phy/cadence/Makefile | 1 +
drivers/phy/cadence/phy-cadence-combophy.c | 855
This is for new platform enablement for agilex5.
Add in new configuration that needed to boot new platform.
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/Kconfig | 55 +
configs/socfpga_agilex5_defconfig | 2 +
configs/socfpga_agilex5_legacy_defconfig
This is for new platform enablement for agilex5.
Update watchdog timeout timer for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 646663528a
This is for new platform enablement for agilex5.
Add cold, warm reset logic for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/sysreset/Kconfig| 7
drivers/sysreset/Makefile | 1 +
drivers/sysreset/sysreset_socfpga_agilex5.c | 44
This is for new platform enablement for agilex5.
Add reset driver for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/reset/reset-socfpga.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset
This is for new platform enablement for agilex5.
Add mmc and cadence host driver for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/mmc/mmc.c | 27 +++---
drivers/mmc/sdhci-cadence.c | 164
2 files changed, 160 insertions(+), 31 deletions
This is for new platform enablement for agilex5.
Add new clock files for new platform.Add
Signed-off-by: Jit Loon Lim
---
drivers/clk/altera/Makefile | 1 +
drivers/clk/altera/clk-agilex5.c | 736 +++
drivers/clk/altera/clk-agilex5.h | 263 +++
3 files
This is for new platform enablement for agilex5.
Add new ddr and iossm mailbox files for new platform.Add
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/Makefile| 5 +-
drivers/ddr/altera/iossm_mailbox.c | 786 +
drivers/ddr/altera/iossm_mailbox.h | 141
This is for new platform enablement for agilex5.
Update secure registers, Kconfig and makefile for new platform.
Signed-off-by: Jit Loon Lim
---
drivers/misc/Kconfig | 9 +++
drivers/misc/Makefile | 1 +
drivers/misc/socfpga_secreg.c | 116
This is for new platform enablement for agilex5.
Add new platform defconfig for new platform.
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex5_defconfig| 123 +++
configs/socfpga_agilex5_legacy_defconfig | 85
2 files changed, 208 insertions
This is for new platform enablement for agilex5.
Add new secure register text file for new platform.
Signed-off-by: Jit Loon Lim
---
.../misc/socfpga_secreg.txt | 397 ++
1 file changed, 397 insertions(+)
create mode 100644 doc/device-tree-bindings/misc
This is for new platform enablement for agilex5.
Add new platform socdk and update maintainer list.
Signed-off-by: Jit Loon Lim
---
board/intel/agilex5-socdk/MAINTAINERS | 8
board/intel/agilex5-socdk/Makefile| 7 +++
board/intel/agilex5-socdk/socfpga.c | 7 +++
3 files
This is for new platform enablement for agilex5.
Add platform related header files to enable new product.
Signed-off-by: Jit Loon Lim
---
.../include/mach/base_addr_soc64.h| 43 +-
.../mach-socfpga/include/mach/clock_manager.h | 5 +-
.../include/mach/clock_manager_agilex5.h
This is for new platform enablement for agilex5.
Add platform related files to enable new product.
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/Kconfig | 37 +++
arch/arm/mach-socfpga/Makefile| 69 -
arch/arm/mach-socfpga/board.c
This is for new platform enablement for agilex5.
Add agilex5 dtsi and dts.
Update checkpatch error for stratix10.
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/socfpga_agilex5-u-boot.dtsi | 459 +
arch/arm/dts
This is for new platform enablement for agilex5
Signed-off-by: Jit Loon Lim
---
arch/arm/Kconfig | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 99264a6478..8e36456fa8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
Intel Agilex5 is a midrange FPGAs optimized for applications requiring high
performance,
lower power, and smaller form factors and lower logic densities. U-Boot is one
of the
bootloader to boot along with ARM trusted Firmware to boot the board up.
*** BLURB HERE ***
Jit Loon Lim (16):
arch
From: "Lokanathan, Raaj"
Add support for reading data/images from this ISSI QSPI flash.
Signed-off-by: Lokanathan, Raaj
Signed-off-by: Jit Loon Lim
---
drivers/mtd/spi/spi-nor-tiny.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi-no
x 10:
bit3: f2sdram0
bit4: f2sdram1
bit5: f2sdram2
Signed-off-by: Lokanathan, Raaj
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/misc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index 9c19157de7..0112cfd
From: Kah Jing Lee
Increase CONFIG_SYS_BOOTM_LEN to support kernel image from 5.15.lts
that is > 32MB
Signed-off-by: Kah Jing Lee
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/socfpga_soc64_commo
From: Kah Jing Lee
Fix qspiboot issue which uncompressed kernel(5.16) overflows to rootfs
Add 2 env. variables to support compressed kernel in legacy qspiboot:
setenv kernel_comp_addr_r 0x900
setenv kernel_comp_size 0x0100
Signed-off-by: Kah Jing Lee
Signed-off-by: Jit Loon Lim
From: "Lokanathan, Raaj"
Add the CONFIG_SYS_NAND_SELF_INIT to the Kconfig to follow the changes from
mainline.
Signed-off-by: Lokanathan, Raaj
Signed-off-by: Jit Loon Lim
---
drivers/mtd/nand/raw/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/raw
of the sectors concerned.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
common/spl/spl_nand.c | 3 +-
drivers/mtd/nand/raw/denali.c | 91 ++-
2 files changed, 92 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl_nand.c b/common/spl
From: Tien Fong Chee
Add Macronix mx25u51245g flash entry, so this can be used on
SoCFPGA devices.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/mtd/spi/spi-nor-ids.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b
From: Yau Wai Gan
Added environment variables needed to support distro boot.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 81 +-
1 file changed, 80 insertions(+), 1 deletion(-)
diff --git a/include/configs
From: Sin Hui Kho
Change NAND flash MTD partition in device tree after implementation of
UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root"
partition is use for UBI image containing all other components.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit
From: Sin Hui Kho
Enabling configs required for UBI and UBIFS commands. Set environment
in a UBI volume. So, remove CONFIG_ENV_IS_IN_NAND as the environment is
now in UBI volume.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_nand_atf_defconfig| 11
From: Sin Hui Kho
Load kernel and device tree from UBI volume. Set root file system type
for NAND boot as UBIFS located at UBI volume on MTD partition 1 or
namely "root".
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 9 +++
From: Sin Hui Kho
Change default MTD partition scheme for NAND flash after implementation of
UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root"
partition is use for UBI image containing all other components.
Signed-off-by: Sin Hui Kho
Signed-
From: Yau Wai Gan
Board ID is exported as environment variable for use to boot Linux FIT
configuration.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/misc_soc64.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-socfpga/misc_soc64.c
From: Yau Wai Gan
U-boot FIT configuration shall be selected based on the Board ID that is set.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/board.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-socfpga
From: Yau Wai Gan
Board ID is defined in JTAG User Code register. This function retrieves the
Board ID and perform validation on it.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/board.c | 39 +++
.../mach-socfpga/include
From: Sin Hui Kho
Add board_boot_order() to retrieve the list of boot devices from
spl-boot-order property in device tree. This board_boot_order()
will use for all Intel SOC64 device for single SPL binary.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga
From: Tien Fong Chee
Copy existing firewall and secure register settings in source codes to
device tree.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_agilex-u-boot.dtsi| 13 ++-
arch/arm/dts/socfpga_n5x-u-boot.dtsi | 10 ++
arch/arm/dts
.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/misc/socfpga_secreg.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/misc/socfpga_secreg.c b/drivers/misc/socfpga_secreg.c
index a4b297e7f1..0ea30c254b 100644
--- a/drivers/misc/socfpga_secreg.c
From: Tien Fong Chee
Update N5X existing firewall and secure register settings in source codes to
device tree.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_n5x-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/socfpga_n5x-u
Loon Lim
---
drivers/misc/Kconfig | 9
drivers/misc/Makefile | 2 +
drivers/misc/socfpga_secreg.c | 86 +++
3 files changed, 97 insertions(+)
create mode 100644 drivers/misc/socfpga_secreg.c
diff --git a/drivers/misc/Kconfig b/drivers/misc
From: Tien Fong Chee
Switching the firewall, and high privilege registers setting in source
codes over to device tree implementation.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/Kconfig | 2 ++
arch/arm/mach-socfpga/Makefile
From: Tien Fong Chee
Add a document to describe firewall and privilege register settings binding
information.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
.../misc/socfpga_secreg.txt | 26 +++
1 file changed, 26 insertions(+)
create mode
From: Tien Fong Chee
Below settings are required for DDR4 to get some DDR chips properly
retention entry and exit.
Register INIT0 = 0xF87F_80D0 = bits [31-30] = [11]
Register PWRCTL = 0xF87F_8030 = bit [5] = 1
Signed-off-by: Tien Fong Chee
---
drivers/ddr/altera/sdram_n5x.c | 79
is common for all Intel SOC64 devices.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_atf_defconfig | 1 +
configs/socfpga_agilex_defconfig | 1 +
configs/socfpga_agilex_nand_atf_defconfig | 3 ++-
configs
Loon Lim
---
drivers/misc/Kconfig | 9
drivers/misc/Makefile | 2 +
drivers/misc/socfpga_secreg.c | 86 +++
3 files changed, 97 insertions(+)
create mode 100644 drivers/misc/socfpga_secreg.c
diff --git a/drivers/misc/Kconfig b/drivers/misc
From: Tien Fong Chee
Switching the firewall, and high privilege registers setting in source
codes over to device tree implementation.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/Kconfig | 2 ++
arch/arm/mach-socfpga/Makefile
From: Tien Fong Chee
Add a document to describe firewall and privilege register settings binding
information.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
.../misc/socfpga_secreg.txt | 26 +++
1 file changed, 26 insertions(+)
create mode
From: Tien Fong Chee
Copy existing firewall and secure register settings in source codes to
device tree.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_agilex-u-boot.dtsi| 13 ++-
arch/arm/dts/socfpga_n5x-u-boot.dtsi | 10 ++
arch/arm/dts
From: Tien Fong Chee
Update N5X existing firewall and secure register settings in source codes to
device tree.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_n5x-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/socfpga_n5x-u
From: Tien Fong Chee
Fixing debug log typo.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers/ddr/altera/sdram_n5x.c
index
From: Tien Fong Chee
Fixing debug log typo.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers/ddr/altera/sdram_n5x.c
index
From: Yau Wai Gan
This enable the capability to automatically perform FPGA
configuration when booting Linux FIT image via bootm command.
The FPGA configuration bitstream shall be packed within the
FIT image.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
drivers/fpga/altera.c
y when reading this variable.
Adding checking on 'cal->header.data_len' to ensure the value is valid for
the sake of good coding practice.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 44 +++---
1 file changed, 36 i
for the sake of good
coding practice.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers/ddr/altera/sdram_n5x.c
index 72c231b3f1..0e944b7a15 100644
From: Tien Fong Chee
Ensure the PHY calibration data is copied to DDR only when DDR retention
is set.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/ddr
From: Tien Fong Chee
Return error immediately if invalid DDR type is detected in argument so
that uninitialized local variables such val and upd_val would not be used.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 3 +++
1 file changed, 3
From: Tien Fong Chee
HSD #18016722456: Includes only required header for mdelay function.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/secure_vab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/secure_vab.c
b
From: Tien Fong Chee
DDR need to be initialized and running calibration if DDR init hang
before reset due to watchdog.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 30 ++
1 file changed, 22 insertions(+), 8
From: Tien Fong Chee
DDR need to be initialized and running calibration if DBE is triggered
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git
From: Tien Fong Chee
The bit[30] of boot scratch cold 8 register is used as DDR init progress
tracking by SDM when watchdog is triggered due to ddr init hang, so that
SDM can run a clean reset to DDR subsystem.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera
From: Tien Fong Chee
The boot scratch cold reg 8 is shared between DBE, DDR init progress
update and Linux EDAC. This patch defines how the bits are used by
respective features above and their macro names used in U-Boot.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
From: Tien Fong Chee
HSD #1308580006: Some compilers complaint implicit declaration of malloc
function, and some
compilers have no this issue. Adding malloc.h to resolve this issue.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/secure_vab.c | 9
From: Ley Foon Tan
HSD #18016042797-2: Add mask support to INTEL_SIP_SMC_HPS_SET_BRIDGES SMC call.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/reset_manager_s10.c | 10 +++---
include/linux/intel-smc.h | 14 ++
2 files
: f2sdram0
BIT4: f2sdram1
BIT5: f2sdram2
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
.../include/mach/reset_manager_soc64.h| 9 +-
arch/arm/mach-socfpga/misc_soc64.c| 2 +-
arch/arm/mach-socfpga/reset_manager_s10.c | 154 +++---
3 files ch
From: Tien Fong Chee
Only DDR and clock changes in N5X compare with existing SOC64 devices,
so a common SOC64 env setting can be used in N5X.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_n5x_socdk.h | 33 -
1 file changed
From: Tien Fong Chee
Enable self-refresh support in DDR4 for retaining DDR4 content with minimal
power when reset is triggered.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
.../include/mach/system_manager_soc64.h | 3 +-
drivers/ddr/altera/sdram_n5x.c
From: Tien Fong Chee
These are interface for users to customize some settings in DDR
self-refresh configuration according to their design requirement.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 13 +
1 file changed
From: Tien Fong Chee
Enables mailbox functionality for QSPI before initializing DDR, because
storing calibration data into QSPI is required when DDR retention is
enabled.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_n5x.c | 12 ++--
1 file
ot;.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/board.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c
index 7267163222..914a44970d 100644
--- a/arch/arm/mach-socfpga/boa
From: Ley Foon Tan
HSD #1509063521: Try to get phy node from "phy-handle" if can't find
ethernet-phy subnode.
Lastly only use Ethernet node if can't find phy node from ethernet-phy
subnode and phy-handle.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
drive
From: Yau Wai Gan
FPGA configuration encounter failure when the cache is not flushed.
Add cache flushing to the memory region that holds the FPGA
configuration bitstream.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
drivers/fpga/intel_sdm_mb.c | 6 ++
1 file changed, 6
From: Siew Chin Lim
Change watchdog default timeout to 10 seconds and enable watchdog before
initializing other component (example: DDR). Thus, watchdog need to be
fully executed in onchip ram.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_agilex.c
From: Siew Chin Lim
Enable watchdog before initializing other component (example: DDR).
Thus, watchdog need to be fully executed in onchip ram.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_n5x.c | 17 ++---
1 file changed, 10 insertions
From: Tien Fong Chee
These configurations no longer valid for N5X, remove them.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/Kconfig | 1 -
arch/arm/mach-socfpga/Makefile | 11 +++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git
From: Tien Fong Chee
Enhance driver to common DDR driver for supporting both DDR4 and LPDDR4.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/socfpga_n5x_socdk-u
From: Tien Fong Chee
Remove all DDR4 codes used for emulation in preparation to run on
n5x device.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/ddr/altera/sdram_n5x.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers
From: Tien Fong Chee
Restructure DDR driver so that driver has the ability to recognize the
DDR type by populating DDR handoff from bitstream. This is also in
preparation to improve driver for supporting additional LPDDR4.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers
From: Yau Wai Gan
HSD #1509829545-2: U-boot script is in FIT image, this requires to update the
source command to
supply the FIT subimage name.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 2 +-
1 file changed, 1 insertion(+), 1
From: Yau Wai Gan
HSD #1509829545-1: Build u-boot script in FIT image format to align with binman
usage.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 23 ++
1 file changed, 23 insertions(+)
diff --git a/arch/arm
From: Sin Hui Kho
Since u-boot raw image is no longer supported, SPL will not use raw
method to load u-boot raw image. This changes is applicable for all
Intel SOC64 device for NAND boot.
Signed-off-by: Sin Hui Kho
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 3
.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/socfpga_soc64_common.h
b/include/configs/socfpga_soc64_common.h
index 7edffc3975..170b647826 100644
From: Tien Fong Chee
Enables required configs to support DDR retention. including generic
firmware loader for loading backup calibration data, and SHA384 checking.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
configs/socfpga_n5x_atf_defconfig | 5 +
configs
file of default
environment variable. We shouldn't use CONFIG_FIT because it is enabled
by default for U-Boot Proper.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/socfpga
From: Siew Chin Lim
Update to boot OS via FIT image from N5X and enable FIT signature check
via crc32 algorithm.
And, remove CONFIGs for emulation only.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
configs/socfpga_n5x_atf_defconfig | 4 +++-
configs/socfpga_n5x_vab_defconfig
, and 'linux_qspi_enable' will refer to 'fdt_addr'
environment value to retrieve the device tree node.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_nand_atf_defconfig| 2 +-
configs/socfpga_agilex_qspi_atf_defconfig| 2 +-
configs
From: Siew Chin Lim
Update to load OS via FIT image in Stratix 10 and Agilex QSPI ATF boot flow.
And, enable FIT signature checking with crc32 algorithm.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_qspi_atf_defconfig| 6 +-
configs
1 - 100 of 191 matches
Mail list logo