From: Luke Kenneth Casson Leighton Date: Sun, 20 Feb 2022 13:54:03 +0000 (+0000) Subject: set RAM base to #defined DRAM_BASE not hard-coded value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e19f92c2772b06886df676cb1b48f73f9fbe6269;p=ls2.git set RAM base to #defined DRAM_BASE not hard-coded value --- 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");