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.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 807534f512..5c1f8b6f79 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -21,7 +21,7 @@ MEMORY
{
FLASH (rx) : ORIGIN = FW_OFF(SECTION), LENGTH = FW_SIZE(SECTION)
IRAM (rw) : ORIGIN = CONFIG_RAM_BASE, LENGTH = CONFIG_RAM_SIZE
-#ifdef CONFIG_LPC
+#ifdef CONFIG_HOSTCMD_X86
H2RAM (rw) : ORIGIN = CONFIG_H2RAM_BASE, LENGTH = CONFIG_H2RAM_SIZE
#endif
}
@@ -226,7 +226,7 @@ SECTIONS
__image_size = LOADADDR(.data) + SIZEOF(.data) - FW_OFF(SECTION);
-#ifdef CONFIG_LPC
+#ifdef CONFIG_HOSTCMD_X86
.h2ram (NOLOAD) : {
. += CONFIG_H2RAM_HOST_LPC_IO_BASE;
*(.h2ram.pool.hostcmd)