summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/romstage.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/romstage.ld b/src/lib/romstage.ld
index 7d552a76b1..ba154ef5e5 100644
--- a/src/lib/romstage.ld
+++ b/src/lib/romstage.ld
@@ -37,8 +37,8 @@
*(.rodata.*);
*(.data);
*(.data.*);
- _preram_cbmem_console = DEFINED(_preram_cbmem_console) ? _preram_cbmem_console : 0;
- _epreram_cbmem_console = DEFINED(_epreram_cbmem_console) ? _epreram_cbmem_console : 0;
+ PROVIDE(_preram_cbmem_console = .);
+ PROVIDE(_epreram_cbmem_console = _preram_cbmem_console);
. = ALIGN(8);
}