mirror of
https://github.com/marqs85/ossc.git
synced 2026-10-24 19:02:16 +00:00
boot into newly installed firmware after update
This commit is contained in:
1 parent
e6e2a3305e
commit
20bf6d32d7
1 file changed
+2
@@ -271,6 +271,8 @@ void __attribute__((noinline, flatten, noreturn, __section__(".text_bram"))) fw_
|
||||
// flush command FIFO before FPGA reconfiguration start
|
||||
*(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;
|
||||
|
||||
while (1) {}
|
||||
|
||||
Reference in new issue
Block a user