summaryrefslogtreecommitdiff
path: root/core/nds32/ec.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/ec.lds.S')
-rw-r--r--core/nds32/ec.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index d3e8cc7c20..13f090ee28 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -5,7 +5,7 @@
#include "config.h"
#define FW_OFF_(section) CONFIG_##section##_MEM_OFF
-#define FW_OFF(section) (CONFIG_FLASH_BASE + FW_OFF_(section))
+#define FW_OFF(section) (CONFIG_PROGRAM_MEMORY_BASE + FW_OFF_(section))
#define FW_SIZE_(section) CONFIG_##section##_SIZE
#define FW_SIZE(section) FW_SIZE_(section)