mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Fix register accesses
This commit is contained in:
parent
ddd7e639da
commit
975ba91239
@ -1258,8 +1258,8 @@ skip_flash:
|
||||
// reload FPGA
|
||||
printf("Triggering IPROG to reload FPGA...\n");
|
||||
if (flash_rb)
|
||||
mqnic_reg_write32(flash_rb, MQNIC_RB_BPI_FLASH_REG_FORMAT, 0xFEE1DEAD);
|
||||
mqnic_reg_write32(dev->fw_id_rb, MQNIC_RB_FW_ID_REG_FPGA_ID, 0xFEE1DEAD);
|
||||
mqnic_reg_write32(flash_rb->regs, MQNIC_RB_BPI_FLASH_REG_FORMAT, 0xFEE1DEAD);
|
||||
mqnic_reg_write32(dev->fw_id_rb->regs, MQNIC_RB_FW_ID_REG_FPGA_ID, 0xFEE1DEAD);
|
||||
|
||||
// disconnect
|
||||
mqnic_close(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user