projects
/
ls2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GAH jump to start of SPI Flash not the offset *in* SPI
[ls2.git]
/
coldboot
/
coldboot.c
diff --git
a/coldboot/coldboot.c
b/coldboot/coldboot.c
index 1eea544898f2ef666b1054c032e9f7040d6facde..8f7559cdbffbf224f3237b8747362d640d2ca829 100644
(file)
--- 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;
}