From e19f92c2772b06886df676cb1b48f73f9fbe6269 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 20 Feb 2022 13:54:03 +0000 Subject: [PATCH] set RAM base to #defined DRAM_BASE not hard-coded value --- coldboot/coldboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 8eba6a1..2aec9f2 100644 --- 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"); -- 2.30.2