You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/08/18 14:14:28 UTC

[incubator-nuttx] branch master updated: mpfs/opensbi: Add the ddr memory region back to opensbi ld script

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 23a2e27ffc mpfs/opensbi: Add the ddr memory region back to opensbi ld script
23a2e27ffc is described below

commit 23a2e27ffc76eabfb242eaad87c22f0808dc35ab
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Thu Aug 18 14:01:37 2022 +0300

    mpfs/opensbi: Add the ddr memory region back to opensbi ld script
    
    fixes ld-envm-opensbi.script:41: warning: memory region `ddr' not declared
---
 boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script b/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script
index 912f472f53..7843d3f82a 100644
--- a/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script
+++ b/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script
@@ -20,6 +20,7 @@
 
 MEMORY
 {
+    ddr (rx)      : ORIGIN = 0x80000000, LENGTH = 4M /* w/ cache */
     envm (rx)     : ORIGIN = 0x20220100, LENGTH = 128K - 256  /* 256 reserved for hss headers */
     l2lim  (rwx)  : ORIGIN = 0x08000000, LENGTH = 1024k
     l2zerodevice (rwx) : ORIGIN = 0x0A000000, LENGTH = 512k