projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f8d6a
)
sigh use MEMORY_BASE which is at 0x0000_0000 and coincides with DRAM_BASE
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 Apr 2022 14:21:52 +0000
(15:21 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 Apr 2022 14:21:52 +0000
(15:21 +0100)
coldboot/coldboot.c
patch
|
blob
|
history
diff --git
a/coldboot/coldboot.c
b/coldboot/coldboot.c
index 777695cb17a05960507ed4781fc4962b450876d2..020d9dc8cb90a53ae07aa679654a232d79233311 100644
(file)
--- a/
coldboot/coldboot.c
+++ b/
coldboot/coldboot.c
@@
-158,7
+158,7
@@
int main(void) {
int res, failcnt = 0;
uint32_t tmp;
unsigned long ftr, spi_offs=0x0;
- volatile uint32_t *ram = (uint32_t*)
DRAM
_BASE;
+ volatile uint32_t *ram = (uint32_t*)
MEMORY
_BASE;
console_init();
//puts("Firmware launched...\n");
@@
-293,7
+293,7
@@
for (i=0;i<1000;i++) {
};
#endif
struct gramProfile profile2;
- gram_init(&ctx, &profile, (void*)
DRAM
_BASE,
+ gram_init(&ctx, &profile, (void*)
MEMORY
_BASE,
(void*)DRAM_CTRL_BASE,
(void*)DRAM_INIT_BASE);
puts("done\n");