FPGA2SDRAM setup fix
authorBrian Sune <briansune@gmail.com>
Mon, 20 Oct 2025 13:35:54 +0000 (21:35 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 1 Dec 2025 05:55:27 +0000 (13:55 +0800)
commit1feebc36e5887cbea12e3d006cc590a51a40def0
tree8a35212771fce30dc330f29f4d2a61842c4a2c81
parent2b30c416f0b210328fc5869f90926e346da08521
FPGA2SDRAM setup fix

After testing, w/o proper setup
the FPGA2SDRAM bridge will not work and stall.
Pulling from official fix and w/o this initialization,
both 2025.07 and 2025.10 also suffer stall on U-Boot
and distro. Any FPGA to HPS-SDRAM action will immediate
stall the CPU. As such, this patch fix the issue.

Signed-off-by: Brian Sune <briansune@gmail.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/mach-socfpga/misc_gen5.c