Skip to content

Commit

Permalink
board: cssi: Remove duplicated FPGA loading sequence on CMPC885
Browse files Browse the repository at this point in the history
A duplicated FPGA loading sequence appears after FPGA reset.

Remove it.

Fixes: dac3c6f ("board: cssi: Add new board MCR3000_2G")
Signed-off-by: Christophe Leroy <[email protected]>
  • Loading branch information
chleroy committed May 4, 2023
1 parent 6735ab5 commit 66d23d2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions board/cssi/cmpc885/cmpc885.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,20 +896,6 @@ int board_early_init_r(void)
}
}

/* is FPGA firmware loaded ? */
if (!(in_be32(&cp->cp_pedat) & 0x00000001)) {
printf("Reloading FPGA firmware\n");

/* Load FPGA firmware */
/* Activate PROG_FPGA_FIRMWARE for 1 usec */
clrbits_be32(&cp->cp_pedat, 0x00000002);
udelay(1);
setbits_be32(&cp->cp_pedat, 0x00000002);

/* Wait 200ms before checking DONE_FPGA_FIRMWARE */
mdelay(200);
}

iop_setup_common();
} else {
iop_setup_cmpc885();
Expand Down

0 comments on commit 66d23d2

Please sign in to comment.