Re: [PATCH 11/11] socfpga: arria10: Allow dcache_enable before relocation

2022-04-11 Thread Simon Glass
On Fri, 1 Apr 2022 at 06:44, Paweł Anikiel wrote: > > Before relocating to SDRAM, the ECC is initialized by clearing the > whole SDRAM. In order to speed this up, dcache_enable is used (see > sdram_init_ecc_bits). > > Since commit 503eea451903 ("arm: cp15: update DACR value to activate > access

[PATCH 11/11] socfpga: arria10: Allow dcache_enable before relocation

2022-04-01 Thread Paweł Anikiel
Before relocating to SDRAM, the ECC is initialized by clearing the whole SDRAM. In order to speed this up, dcache_enable is used (see sdram_init_ecc_bits). Since commit 503eea451903 ("arm: cp15: update DACR value to activate access control"), this no longer works, because running code in OCRAM