projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae48c3
)
GAH jump to start of SPI Flash not the offset *in* SPI
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 12 Apr 2022 13:47:55 +0000
(14:47 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 12 Apr 2022 13:47:55 +0000
(14:47 +0100)
coldboot/coldboot.c
patch
|
blob
|
history
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;
}