summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/model_lx/cache_as_ram.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpu/amd/model_lx/cache_as_ram.inc b/src/cpu/amd/model_lx/cache_as_ram.inc
index a92f474457..57bfc1211f 100644
--- a/src/cpu/amd/model_lx/cache_as_ram.inc
+++ b/src/cpu/amd/model_lx/cache_as_ram.inc
@@ -222,6 +222,11 @@ __main:
movl $_iseg, %edi
movl $_eiseg, %ecx
subl %edi, %ecx
+ movb %cl, %al
+ shrl $2, %ecx
+ andb $3, %al
+ rep movsl
+ movb %al, %cl
rep movsb
#else
leal 4+_liseg, %esi
@@ -363,7 +368,11 @@ crt_console_tx_string:
#if defined(CONSOLE_DEBUG_TX_STRING) && (ASM_CONSOLE_LOGLEVEL > BIOS_DEBUG)
.section ".rom.data"
+#if CONFIG_COMPRESS
+str_copying_to_ram: .string "Uncompressing coreboot to ram.\r\n"
+#else
str_copying_to_ram: .string "Copying coreboot to ram.\r\n"
+#endif
str_pre_main: .string "Jumping to coreboot.\r\n"
.previous