summaryrefslogtreecommitdiff
path: root/board/w7o/init.S
diff options
context:
space:
mode:
Diffstat (limited to 'board/w7o/init.S')
-rw-r--r--board/w7o/init.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/w7o/init.S b/board/w7o/init.S
index 0abf21f..511a1bb 100644
--- a/board/w7o/init.S
+++ b/board/w7o/init.S
@@ -162,6 +162,7 @@ sdram_init:
* contents of the SPD EEPROM. If the SPD EEPROM is blank or
* erronious, spd_sdram returns 0 in R3.
*/
+ li r3,0
bl spd_sdram
addic. r3, r3, 0 /* Check for error, save dram size */
bne ..sdri_done /* If it worked, we're done... */