mirror of
https://github.com/marqs85/ossc
synced 2026-07-17 09:26:58 +03:00
boot into newly installed firmware after update
This commit is contained in:
parent
e6e2a3305e
commit
20bf6d32d7
@ -271,6 +271,8 @@ void __attribute__((noinline, flatten, noreturn, __section__(".text_bram"))) fw_
|
|||||||
// flush command FIFO before FPGA reconfiguration start
|
// flush command FIFO before FPGA reconfiguration start
|
||||||
*(volatile uint32_t*)(INTEL_GENERIC_SERIAL_FLASH_INTERFACE_TOP_0_AVL_MEM_BASE);
|
*(volatile uint32_t*)(INTEL_GENERIC_SERIAL_FLASH_INTERFACE_TOP_0_AVL_MEM_BASE);
|
||||||
|
|
||||||
|
rem_reconfig_dev.regs->image_addr[0] = flash_addr;
|
||||||
|
rem_reconfig_dev.regs->wdog_enable[0] = 0;
|
||||||
rem_reconfig_dev.regs->reconfig_start = 1;
|
rem_reconfig_dev.regs->reconfig_start = 1;
|
||||||
|
|
||||||
while (1) {}
|
while (1) {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user