From: Luke Kenneth Casson Leighton Date: Tue, 12 Apr 2022 13:47:55 +0000 (+0100) Subject: GAH jump to start of SPI Flash not the offset *in* SPI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b6c68f07f0e5834bfef0e62272043d042fbe2fd;p=ls2.git GAH jump to start of SPI Flash not the offset *in* SPI --- diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 1eea544..8f7559c 100644 --- a/coldboot/coldboot.c +++ b/coldboot/coldboot.c @@ -496,7 +496,7 @@ int main(void) { if ((ftr & SYS_REG_INFO_HAS_SPI_FLASH)) { // jump to absolute address - mtspr(8, spi_offs); // move address to LR + mtspr(8, SPI_FLASH_BASE); // move address to LR __asm__ volatile("blr"); return 0; }