From: "Ooi, Joyce"
This patch adds the QSPI boot feature for Stratix10
Signed-off-by: Ooi, Joyce
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/socfpga_stratix10_socdk_qspi.dts | 14
configs/socfpga_stratix10_qspi_defconfig
From: "Ooi, Joyce"
This patch adds the QSPI boot feature for Agilex
Signed-off-by: Ooi, Joyce
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/socfpga_agilex_socdk.dts | 1 +
arch/arm/dts/socfpga_agilex_socdk_qspi.d
code by Trail of Bits and TrustInSoft, in support of the
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.
Signed-off-by: Mark Adler
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
lib/zlib/inff
From: Thor Thayer
Remove firewall on MPFE so that SMMU can setup/walk tables in
the DDR.
Signed-off-by: Thor Thayer
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/firewall.c | 6 ++
arch/arm/mach-socfpga/include/mach/base_addr_soc64.h | 1 +
arch/arm/mach
From: Thor Thayer
Disable the MPFE HMC Adapter Firewall for the MPU because
the Linux SDRAM ECC needs to access that register.
Also cleanup the HMC Firewall added for SMMU.
Signed-off-by: Thor Thayer
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/firewall.c | 10
From: Ley Foon Tan
Add NAND related CONFIGs.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 23 +++
1 file changed, 23 insertions(+)
diff --git a/include/configs/socfpga_soc64_common.h
b/include/configs
From: Ley Foon Tan
Enable CONFIG_CMD_MTD.
CONFIG_MTD_PARTITIONS is enabled by CONFIG_CMD_MTD.
So, remove CONFIG_MTD_PARTITIONS from socfpga_agilex_socdk.h.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_atf_defconfig | 1 +
configs/socfpga_agilex_defconfig
From: Ley Foon Tan
Add Nand defconfig for Agilex.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_nand_defconfig | 80 ++
include/configs/socfpga_soc64_common.h | 10
2 files changed, 80 insertions(+), 10 deletions(-)
create
From: Ley Foon Tan
Add NAND daughter card support, it has the following peripherals::
- NAND
- GMAC2
- I2C2
- UART0
Note, no SDMMC on NAND daughter card.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts
From: Ley Foon Tan
Move MTDIDS_DEFAULT to defconfig and add mtdids to ENV settings.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_atf_defconfig | 1 +
configs/socfpga_agilex_defconfig | 1 +
...efconfig
From: Ley Foon Tan
rootfs partition size should be 0x3bd8.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_agilex_socdk_nand.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/socfpga_agilex_socdk_nand.dts
b/arch/arm/dts
From: Ley Foon Tan
Add NAND boot env settings
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/socfpga_soc64_common.h
b/include/configs/socfpga_soc64_common.h
index
add new CONFIG_SPL_CACHE for SPL build. Enable it to allow cache driver
build in SPL for Agilex NAND defconfig.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_nand_defconfig | 84 +++
1 file changed, 84 insertions(+)
create mode
Add functions for checking SMMU bypass status and matching valid
hardware device Stream ID in SMMU Stream Mapping Registers.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/include/mach/smmu_s10.h | 65 ++
arch/arm/mach-socfpga/smmu_s10.c
reconfiguration with any bitstream data
address exceed 512MB to proceed if PSI BE link address translation is not
setup in SMMU.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/include/mach/smmu_s10.h | 6 ++
drivers/fpga/intel_sdm_mb.c | 13
From: Joyce Ooi
This patch increases the allocated kernel Image size to 32MB for QSPI
for Stratix10 and Agilex as the latest kernel size has increased.
Signed-off-by: Joyce Ooi
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_qspi_defconfig| 2 +-
configs
From: Chee Hong Ang
All SoCFPGA platforms are now switching to CONFIG_WDT (driver
model for watchdog timer drivers) from CONFIG_HW_WATCHDOG.
Signed-off-by: Chee Hong Ang
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_stratix10_socdk.dts | 4
From: Ley Foon Tan
Enable CONFIG_CMD_MTD.
CONFIG_MTD_PARTITIONS is enabled by CONFIG_CMD_MTD.
So, remove CONFIG_MTD_PARTITIONS from socfpga_stratix10_socdk.h.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_stratix10_defconfig | 1 +
configs
From: Ley Foon Tan
Add NAND node to stratix10 base dtsi file.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_stratix10.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/socfpga_stratix10.dtsi
b/arch/arm/dts
From: Ley Foon Tan
Move CONFIG_MTDIDS_DEFAULT to defconfig and add mtdids to ENV settings.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_stratix10_defconfig | 1 +
configs/socfpga_stratix10_qspi_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git
a separate board dts file.
Add flash0 label to QSPI node to reference it in other dts file later.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_stratix10_socdk_nand.dts | 223 ++
1 file changed, 223 insertions(+)
create mode 100644 ar
From: Ley Foon Tan
Add new file socfpga_stratix10_socdk_nand-u-boot.dtsi for Uboot specific
properties.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
.../socfpga_stratix10_socdk_nand-u-boot.dtsi | 36 +++
1 file changed, 36 insertions(+)
create mode 100644
From: Ley Foon Tan
Enable build for socfpga_stratix10_socdk_nand.dtb.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 86e9407456..9a9d7163d9 100644
--- a
From: Ley Foon Tan
Add NAND defconfig for Stratix10.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
configs/socfpga_stratix10_nand_defconfig | 86
1 file changed, 86 insertions(+)
create mode 100644 configs/socfpga_stratix10_nand_defconfig
diff --git a
-by: Radu Bacrau
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
drivers/mtd/nand/raw/denali_dt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/denali_dt.c b/drivers/mtd/nand/raw/denali_dt.c
index cf4df0168a..5a4c11e159 100644
--- a
vice if
no boot device is defined in DT.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_stratix10_socdk.dts | 1 +
arch/arm/mach-socfpga/spl_s10.c | 65
2 files changed, 66 insertions(+)
diff --git a/ar
From: "Ooi, Joyce"
Since Stratix10 and Agilex are using ARM64, there are some common codes
in the SPL. Hence, spl_soc64.c is created to place the common codes.
Signed-off-by: Ooi, Joyce
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_s10.c | 63 ---
From: Ley Foon Tan
Commit 407b01b3b3f5 ("mtd: rawnand: denali_dt: use UCLASS_MTD instead of
UCLASS_MISC") change to use UCLASS_MTD instead of UCLASS_MISC. Update
spl_boot_device() to use UCLASS_MTD.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/s
From: Siew Chin Lim
Diamond Mesa support both HPS handoff data and DDR handoff data.
HPS handoff data support re-use Straix10 and Agilex code. DDR
handoff data is newly introduced in Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/include/mach
From: Siew Chin Lim
Add clock manager driver for Diamond Mesa. Provides clock
initialization and get_rate functions.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
drivers/clk/altera/clk-dm.c | 504 +++
drivers/clk/altera/clk-dm.h | 217
From: Siew Chin Lim
Add socdk board support for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
board/intel/dm-socdk/MAINTAINERS | 7 +++
board/intel/dm-socdk/Makefile| 7 +++
board/intel/dm-socdk/socfpga.c | 7 +++
3 files changed, 21 insertions
From: Siew Chin Lim
Add clock manager driver for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/clock_manager_dm.c | 79 +++
.../include/mach/clock_manager_dm.h | 14
2 files changed, 93 insertions
From: Siew Chin Lim
Add memory clock manager driver for Diamond Mesa. Provides
clock initialization and enable functions.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
drivers/clk/altera/clk-mem-dm.c | 135
drivers/clk/altera/clk-mem-dm.h | 84
From: Siew Chin Lim
Add SPL for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_dm.c | 97 ++
1 file changed, 97 insertions(+)
create mode 100644 arch/arm/mach-socfpga/spl_dm.c
diff --git a/arch/arm/mach
From: Siew Chin Lim
Add CONFIGs for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_dm_socdk.h | 50 ++
1 file changed, 50 insertions(+)
create mode 100644 include/configs/socfpga_dm_socdk.h
diff --git a/include
From: Siew Chin Lim
Enable build for Intel Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/Kconfig| 18
arch/arm/mach-socfpga/Makefile | 31 +
configs/socfpga_dm_atf_defconfig | 77
From: Siew Chin Lim
Add base dtsi and devkit dts for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/dts/socfpga_dm-u-boot.dtsi | 102
arch/arm/dts/socfpga_dm.dtsi | 640 ++
arch
From: Siew Chin Lim
Add SDRAM driver for Diamond Mesa.
Signed-off-by: Siew Chin Lim
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/misc.h |4 +
arch/arm/mach-socfpga/misc_soc64.c| 70 +-
drivers/ddr/altera/sdram_dm.c | 1227 +
From: Ley Foon Tan
Add checking for INTEL_SIP_SMC_STATUS_BUSY (1).
Status busy means transfer is accepted but SDM does not have more freed
buffer. It is not an error. Continue process the data if receive OK and
BUSY status.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
drivers
From: Yau Wai Gan
Reset the watchdog within functions that require long processing
time to prevent watchdog timeout.
Signed-off-by: Yau Wai Gan
Signed-off-by: Jit Loon Lim
---
drivers/spi/cadence_qspi_apb.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/spi
From: Ley Foon Tan
Move spl_board_prepare_for_boot() to spl_soc64.c.
spl_board_prepare_for_boot() will use for all SoC64 platforms.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_soc64.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch
Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_agilex.c| 1 +
.../mach-socfpga/{spl_agilex.c => spl_dm.c} | 38 +++
arch/arm/mach-socfpga/spl_soc64.c | 3 ++
3 files changed, 18 insertions(+), 24 deletions(-)
copy arch/arm/m
From: Ley Foon Tan
spl_board_prepare_for_boot() function is only called in U-boot flow, not
for ATF flow.
Change to use spl_perform_fixups() to support U-boot and ATF flow.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_soc64.c | 2 +-
1 file changed
From: Ley Foon Tan
Add section 3.2 for SDRAM secure region update.
Signed-off-by: Ley Foon Tan
Signed-off-by: Jit Loon Lim
---
doc/README.socfpga | 327 -
1 file changed, 174 insertions(+), 153 deletions(-)
diff --git a/doc/README.socfpga b/doc
Loon Lim
---
drivers/ddr/altera/sdram_agilex.c | 16 +-
drivers/ddr/altera/sdram_dm.c | 998 ++
drivers/ddr/altera/sdram_s10.c| 16 +-
3 files changed, 1002 insertions(+), 28 deletions(-)
create mode 100644 drivers/ddr/altera/sdram_dm.c
diff --git a/drivers
From: Chee Hong Ang
QSPI driver perform chip select on every flash read/write
access. The driver need to disable/enable the QSPI controller
while performing chip select. This may cause some data lost
especially the QSPI controller is configured to run at slower
speed as it may take longer time to
From: Tien Fong Chee
dramaddrw data structure are defined as u32. Compiler assume 32-bit
arithmetic on expression and the shifting operation to be done on a
32-bit value. So, the expression would overflow if the shifting
is more than 32-bit.
Signed-off-by: Tien Fong Chee
---
drivers/ddr/altera
is U-Boot,
and the Operating System which is Linux
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 7 +++
arch/arm/mach-socfpga/mailbox_s10.c | 6 ++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/ma
is U-Boot,
and the Operating System which is Linux
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 7 +++
arch/arm/mach-socfpga/mailbox_s10.c | 6 ++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/ma
s watchdog.
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_s10.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index c20e87cdbe..9bfd1a0f6a 100644
--- a/arch/arm/mach-socfpga/spl_s
s watchdog.
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_s10.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index c20e87cdbe..9bfd1a0f6a 100644
--- a/arch/arm/mach-socfpga/spl_s10.c
+++ b/arch/arm/mach-socfp
s watchdog.
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/spl_s10.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index c20e87cdbe..9bfd1a0f6a 100644
--- a/arch/arm/mach-socfpga/spl_s
From: Chin Liang See
Prior U-Boot pass control to Linux, U-Boot will send a mailbox command
"HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW
transition.
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/misc_soc64.c | 5 +++
From: Thor Thayer
Add the SMMU initialization
- Allow non-secure accesses with SMMU peripherals
- Setup stream ID for SMMU peripheral matching
Signed-off-by: Thor Thayer
Signed-off-by: Siew Chin Lim
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/Makefile| 2 +
arch
tself into WFI mode. Firmware will get the
warm reset request from HPS and perform the warm reset sequence
to reboot all the HPS cores.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/lowlevel_init_soc64.S | 24 +
1 file changed, 24 inser
and in the u-boot command
prompt.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
.../include/mach/reset_manager_soc64.h| 1 +
drivers/sysreset/sysreset_socfpga_soc64.c | 58 ++-
include/configs/socfpga_soc64_common.h| 7 +++
3 files cha
*** BLURB HERE ***
Chee Hong Ang (2):
arm: socfpga: soc64: Enable L2 reset on S10
arm: socfpga: soc64: Perform warm reset after L2 reset in SPL on S10
.../include/mach/reset_manager_soc64.h| 1 +
arch/arm/mach-socfpga/lowlevel_init_soc64.S | 24
drivers/sysreset/sysreset_
*** BLURB HERE ***
Chee Hong Ang (3):
arch: arm: mach-socfpga: Add a backup copy of .data section for SoC64
SPL
configs: socfpga: Specify new linker script specific to SoC64 SPL
arch: arm: mach-socfpga: Reload SoC64 SPL state after warm reset
arch/arm/mach-socfpga/lowlevel_init_soc64.S
SPL.
This is required to make sure SPL still run in fresh state after
warm reset.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/lowlevel_init_soc64.S | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm/mach-socfpga
From: Chee Hong Ang
Add a new .data section for preserving the original state of the
.data section of SoC64 SPL. This new .data section is required to
make SPL reentrant after warm reset.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
arch/arm/mach-socfpga/u-boot-spl-soc64.lds
From: Chee Hong Ang
Specify new linker script for SoC64 SPL to ensure SPL is reentrant
after warm reset.
Signed-off-by: Chee Hong Ang
Signed-off-by: Jit Loon Lim
---
configs/socfpga_agilex_defconfig| 1 +
configs/socfpga_stratix10_defconfig | 1 +
2 files changed, 2 insertions(+)
diff
.
Here are the example of expected steps for partial reconfiguration
$ bridge enable
$ fatload mmc 0:1 100 pr_bitstream.rbf
$ pr start 0
$ fpga load 0 100 $filesize
$ pr end 0
Signed-off-by: Chin Liang See
Signed-off-by: Jit Loon Lim
---
drivers/fpga/Kconfig| 9 +++
drivers/fpga/Makefile
From: Chee Hong Ang
Enable Intel FPGA Partial Reconfiguration driver by
default for Stratix10.
Signed-off-by: Chee Hong Ang
---
configs/socfpga_stratix10_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/socfpga_stratix10_defconfig
b/configs/socfpga_stratix10_defconfig
ind
From: "Ooi, Joyce"
FitImage files are added to load Linux kernel image and U-boot
image for Stratix10 Secure Boot.
Signed-off-by: Ooi, Joyce
Signed-off-by: Jit Loon Lim
---
.../stratix10-socdk/its/kernel-sign.its | 51 +++
.../altera/stratix10-socdk/its/uboo
From: Tien Fong Chee
Current implementation almost release all peripherals out of reset for
gen5, but A10 has more peripherals than gen5, hence this patch is required
to release the rest of peripherals to support old kernels.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
From: Chee Hong Ang
Enable ARM Secure Monitor Call Calling Convention (SMCCC)
Signed-off-by: Chee Hong Ang
Signed-off-by: Siew Chin Lim
---
configs/socfpga_agilex_defconfig| 1 +
configs/socfpga_stratix10_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/socfpga_agil
Signed-off-by: Jit Loon Lim
---
include/configs/socfpga_soc64_common.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/socfpga_soc64_common.h
b/include/configs/socfpga_soc64_common.h
index 06198ddd82..14506ac2b2 100644
--- a/include/configs
From: Tien Fong Chee
Using imply instead of select for CMD_FAT so overwritten is allowed in
later configuration.
Signed-off-by: Tien Fong Chee
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index 991b260182..71374980e9 100644
--- a/Kconfig
+++
From: Tien Fong Chee
Enhanced the generic firmware loader to support QSPI RAW partition
loading. This would enable FPGA configuration bitstream loading
from QSPI RAW partition to program FPGA.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/misc/fs_loader.c | 92
Fong Chee
Signed-off-by: Jit Loon Lim
---
arch/arm/lib/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index c603fe61bc..575042e6df 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -43,6 +43,7 @@ ifdef CONFIG_ARM64
obj
From: Tien Fong Chee
Add configuration option to compile the entire NAND framework into
U-Boot SPL. This is required by some drivers, like the Denali NAND,
which use a lot of functionality from the NAND core.
Signed-off-by: Marek Vasut
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
From: Tien Fong Chee
Add image loader used by the NAND SPL into the full Denali NAND
driver. This allows usage of the full Denali NAND driver in SPL instead
of the reduced SPL-only version.
Signed-off-by: Tien Fong Chee
Signed-off-by: Jit Loon Lim
---
drivers/mtd/nand/raw/denali.c | 55
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
index
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
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
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
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
.
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
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: 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: 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: 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 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: 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: 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
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
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: 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: 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
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: "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
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: 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
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: "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
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
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
---
Changes v1 -> v2:
- fixed git auto merge issue
---
arch/arm/Kcon
-by: Jit Loon Lim
---
drivers/fpga/intel_pr.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/fpga/intel_pr.c b/drivers/fpga/intel_pr.c
index b8f510fbd7..6637425452 100644
--- a/drivers/fpga/intel_pr.c
+++ b/drivers/fpga/intel_pr.c
@@ -34,6 +34,8 @@ static
, Chiau Ee
Signed-off-by: Jit Loon Lim
---
drivers/fpga/intel_pr.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/fpga/intel_pr.c b/drivers/fpga/intel_pr.c
index 6637425452..a0a758488b 100644
--- a/drivers/fpga/intel_pr.c
+++ b/drivers/fpga/intel_pr.c
1 - 100 of 191 matches
Mail list logo