fw/ice40-riscv: Fix reboot to bootloader
Address was from previous gateware ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
1ac458f5fa
commit
035e247bf0
|
@ -55,7 +55,7 @@ boot_dfu(void)
|
|||
usb_disconnect();
|
||||
|
||||
/* Boot firmware */
|
||||
volatile uint32_t *boot = (void*)0x80000000;
|
||||
volatile uint32_t *boot = (void*)MISC_BASE;
|
||||
*boot = (1 << 2) | (1 << 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ boot_dfu(void)
|
|||
usb_disconnect();
|
||||
|
||||
/* Boot firmware */
|
||||
volatile uint32_t *boot = (void*)0x80000000;
|
||||
volatile uint32_t *boot = (void*)(MISC_BASE);
|
||||
*boot = (1 << 2) | (1 << 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue