projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8928b5
)
set RAM base to #defined DRAM_BASE not hard-coded value
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 20 Feb 2022 13:54:03 +0000
(13:54 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 20 Feb 2022 13:54:03 +0000
(13:54 +0000)
coldboot/coldboot.c
patch
|
blob
|
history
diff --git
a/coldboot/coldboot.c
b/coldboot/coldboot.c
index 8eba6a108c7edaf0d53ff8efb95b675b04596f82..2aec9f221604293e02ed1a4daf62c45e81f8b803 100644
(file)
--- a/
coldboot/coldboot.c
+++ b/
coldboot/coldboot.c
@@
-61,7
+61,7
@@
int main(void) {
const int kNumIterations = 65536;
int res, failcnt = 0;
uint32_t tmp;
- volatile uint32_t *ram =
0x10000000
;
+ volatile uint32_t *ram =
DRAM_BASE
;
console_init();
puts("Firmware launched...\n");