Commit dc753d6c authored by Federico Vaga's avatar Federico Vaga

kernel: delay between unlocking bytes

It happened that the boot-loader did not get correctly the reset
sequence. A Delay between the characters apparently it helps.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@vaga.pv.it>
parent e7413c28
......@@ -159,9 +159,11 @@ static int svec_fpga_reset(struct svec_dev *svec)
{
int i;
for (i = 0; i < 8; i++)
for (i = 0; i < 8; i++) {
iowrite32be(boot_unlock_sequence[i],
svec->map_cr.kernel_va + SVEC_BASE_LOADER + XLDR_REG_BTRIGR);
mdelay(1);
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment