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:
Sylvain Munaut 2020-09-15 22:09:53 +02:00
parent 1ac458f5fa
commit 035e247bf0
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}