[PATCH v2 3/3] ddr: socfpga: Add ECC DRAM scrubbing support for Gen5/Arria10
Sune Brian
briansune at gmail.com
Tue May 5 13:08:04 CEST 2026
On Tue, May 5, 2026 at 2:54 PM Chee, Tien Fong
<tien.fong.chee at altera.com> wrote:
>
> Hi Alif,
>
>
> On 28/4/2026 11:32 am, alif.zakuan.yuslaimi at altera.com wrote:
> > From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
> >
> > The SDRAM must first be rewritten by zeroes if ECC is used to initialize
> > the ECC metadata. Make the CPU overwrite the DRAM with zeroes in such a
> > case.
> >
...
> Why not remove this?
>
Hi Alif,
Just few comments:
- If possible make it inline, extra file means extra time to compile etc.
- To reduce the code size which I tested a bit, the text message is the easiest.
So possible reuse or cleanup text print if needed.
- use "./scripts/checkpatch.pl" under the u-boot folder to clean things up.
Thanks,
Brian
More information about the U-Boot
mailing list