drivers: ddr: altera: Correct DDR calibration status check
authorNaresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>
Fri, 8 Aug 2025 09:42:42 +0000 (02:42 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 30 Sep 2025 06:29:53 +0000 (14:29 +0800)
commit63ef1c7a7391e7440bdfbffedd2cc5d9007707cd
tree2294b89db6cfe03fe527c41b7daab6b047cad94b
parent5d2ef97c66f0a432c859cfdf64ef696017619ad6
drivers: ddr: altera: Correct DDR calibration status check

Bit 3 of the seq2core register is no longer set to indicate
calibration completion. Instead, added polling of the seq2core
register until it reads 0b00000111, signaling that the Nios
processor has started the calibration process.

Signed-off-by: Naresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
drivers/ddr/altera/sdram_soc64.c
drivers/ddr/altera/sdram_soc64.h