summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/Kconfig4
-rw-r--r--src/arch/arm/bootblock.ld2
-rw-r--r--src/arch/arm/romstage.ld2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index 7ec5812417..57849a64fc 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -20,6 +20,10 @@ config ARM_BOOTBLOCK_CUSTOM
bool
default n
+config CBMEM_CONSOLE_PRERAM_BASE
+ hex
+ depends on CONSOLE_CBMEM
+
config CPU_HAS_BOOTBLOCK_INIT
bool
default n
diff --git a/src/arch/arm/bootblock.ld b/src/arch/arm/bootblock.ld
index 8d05c7b5a5..150bf2df6b 100644
--- a/src/arch/arm/bootblock.ld
+++ b/src/arch/arm/bootblock.ld
@@ -49,6 +49,8 @@ SECTIONS
*(.sbss.*);
} : to_load = 0xff
+ preram_cbmem_console = CONFIG_CBMEM_CONSOLE_PRERAM_BASE;
+
/DISCARD/ : {
*(.comment)
*(.note)
diff --git a/src/arch/arm/romstage.ld b/src/arch/arm/romstage.ld
index 04d8f4b339..8c3204609f 100644
--- a/src/arch/arm/romstage.ld
+++ b/src/arch/arm/romstage.ld
@@ -69,6 +69,8 @@ SECTIONS
_end = .;
+ preram_cbmem_console = CONFIG_CBMEM_CONSOLE_PRERAM_BASE;
+
/* Discard the sections we don't need/want */
/DISCARD/ : {
*(.comment)